Aeroplane/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "Теперь мы имеем простую модель аэроплана. Кликнем правой кнопкой на Fusion001 и переименуем его в 'А...")
(Created page with "Я думаю, что крылья надо сдвинуть слегка вперёд, но если я выделю Аэроплан и изменю его размещен...")
Line 58: Line 58:
[[File:HTCaeroplane04.png|500px|right]]
[[File:HTCaeroplane04.png|500px|right]]


Я думаю, что крылья надо сдвинуть слегка вперёд, но если я выделю Аэроплан и изменю его размещение по X через Перемещение, сдвинется всё. Я хочу переместить только крылья, так что отменю операцию.
I think the wings need to be moved forward a bit but if I select Aeroplane and try changing its Placement X Translation the whole thing moves. I only want to move the wings so cancel the Placement.


Expand Aeroplane (click on the [+] beside it) and expand Fusion.
Expand Aeroplane (click on the [+] beside it) and expand Fusion.

Revision as of 12:36, 29 August 2017

Руководство
Тема
Part Workbench
Уровень
Beginner
Время для завершения
10 minutes
Авторы
FreeCAD версия
Примеры файлов
Смотрите также
None


Первые шаги

Мы будем работать в верстаке Part - выберите его из меню через Вид->Верстак->Part или переключателем верстаков.

  • Создайте новый пустой документ.
  • Переключитесь на аксонометрический вид.
  • Включите показ осей координат (через меню Вид).
  • Обязательно включите Комбо-панель (через Вид->Панели).
  • Создайте цилиндр, кликнув кнопку Цилиндр.
  • Выделите его, кликнув на Цилиндр в древе проекта.
  • Кликните на вкладке Данные в комбопанели ниже древа проектов.

Измените Height на 20mm. Оставьте Radius равным 2mm.

Кликните Placement (отметьте маленькую [+]), и появится кнопка с тремя точками. Кликните на ней. (Вы можете так же выбрать: Меню->Правка->Расположение.) Появится панель задач.

Если Вы не знакомы с осями XYZ, то поиграйте с числами в поле Translation. Когда закончите играть, кликните на кнопке Отмена.

Следующие шаги

Теперь нам надо повернуть цилиндр, чтобы он лежал вдоль оси X. Для этого его надо повернуть по оси Y. Поле Угол означает 'Повернуть ось на угол', так что изменим Ось на Y и увеличьте Angle до 90. Кликните OK.

Мне нравится играть с вращением видов в этом месте (и часто!), поэтому обязательно сделайте это. Найдите "шов" цилиндра внизу.


Теперь мы собираемся добавить и модифицировать куб, так что кликнем на кнопке Box. Выделите её, кликнув на Box в древе проекта. Измените Height на 1mm, Length на 5mm, и Width на 20mm.

кликните на Placement and the three dots чтобы получить просмотр задач. Используя поле ввода Перемещение, введите Y: -10 и Z: -1. Кликните OK.

Теперь мы соединим эти две формы с помощью Булевой Операции. Кликнем на кнопке Booleans, и на панели задач появится селектор булевых операций.

Убедимся, что выбрано Объединение, и что Cylinder и Box отмечены по разу на двух списках форм. Кликните Применить, затем Закрыть. Теперь у нас единый объект, называемый Fusion.


Добавим ещё один куб для завершения нашей модели. Создадим Куб, выделим его и сделаем его высоту 5 мм, длину 3 мм, и ширину 1 мм. Изменим его положение по Y=-0.5

Теперь нам надо присоединить к нашему Fusion Box001, так что мы сделаем это быстро. Нажмём Fusion в древе проекта и CTRL-кликнем на Box001. это выделит обе части Теперь кликнем кнопку Union и получим Fusion001.

Теперь мы имеем простую модель аэроплана. Кликнем правой кнопкой на Fusion001 и переименуем его в 'Аэроплан'.

Я думаю, что крылья надо сдвинуть слегка вперёд, но если я выделю Аэроплан и изменю его размещение по X через Перемещение, сдвинется всё. Я хочу переместить только крылья, так что отменю операцию.

Expand Aeroplane (click on the [+] beside it) and expand Fusion.

Click on Box and get its Placement into Tasks. Notice it already has Y: -10 and Z: -1 in the Translation. Change the X translation to 3 and click on Apply. That's better. Click OK.


Rotations

Click on Aeroplane and get its Placement into Tasks (Other explanation on Placement). In the Rotation section change where it says 'Rotation axis with angle' to 'Euler angles' because they're a lot easier to work with.

Yaw is the rotation about the Z axis, that is to say a rotation from left to right. (The yaw angle is the Psi ψ).

Pitch is rotation about the Y axis, that is to say nose-up and nose-down. (The Pitch angle is the Phi φ).

Roll is rotation about the X axis, that is to say wing up and down. (The Roll angle is the Thêta θ).


However, even here there are some important things to remember:

  • Positive Rotations are clockwise when viewed from the Origin outwards along a positive axis. Or to put it another way: Positive Rotations are anticlockwise when viewed from a positive axis towards the Origin.
  • Although the three labels are Yaw, Pitch and Roll that's not really what they are. Yaw, Pitch and Roll are references to the body coordinates of an object in 3D space. The labels should be Heading, Elevation and Bank or even Azimuth, Inclination and Bank because thay actually refer to the space coordinates of the 3D system. These are the Tait-Bryan angles. If you want more information then try Euler Angles.
  • With the Aeroplane in its present position simple rules apply. Yaw is rotation around the Z axis, ie left and right. Pitch is rotation around the Y axis, ie nose up and down. Roll is rotation around the X axis, ie wings up and down. That's fine to start with but it's not going to be true later!

Have a play with the three YPR numbers. You only need to change things by a few degrees to get the idea. Reset when you finished.

Now we're going to see why the Yaw-Pitch-Roll labels are not really suitable. Change the Roll number to 90°. Yaw should move the nose of the aeroplane up and down and Pitch should move it side to side as viewed from outside the aeroplane which is where we are. Do they? No they don't! Pitch changes the yaw and Yaw changes the pitch. OK, Reset.

So, a better way of thinking about rotations is that Yaw changes your Longitude, Pitch changes your Latitude and Roll changes the direction (NSEW) that you're facing. Or you could check out Axes conventions for other descriptions.

Right, back to work. Change Yaw to 45° and Pitch to -30°. Click on OK to show that the operation has been completed. Now get back the Placement Task and look at the Rotation box. It has reverted to 'Rotation axis with angle' and has some wierd numbers Axis and Angle boxes. Mine had Axis: (0.219493,-0.529904,0.819161) and Angle: 53.65°. The three numbers in brackets are the XYZ components of a unit vector in the 3D space. It is the axis about which our original Aeroplane was rotated to get our final Aeroplane. The angle is how much it was rotated. Clever, huh, but not very friendly! It was Euler who showed that you could combine a series of XYZ rotations into one rotation about one axis.

Here's some more suggestions for playing with the Aeroplane:

  • Change the Z Location (and Apply) then change the YPR numbers and see what the effect is. Then try changing the X and Y Locations and rotating.
  • Change the X Centre (and Apply) then change the YPR numbers and see what the effect is. Then try changing the Y and Z Centres and rotating.

I hope this little tutorial has helped you to get a feel for rotations.