Operațiunea de Plasare

From FreeCAD Documentation
Revision as of 10:34, 23 September 2018 by Luc (talk | contribs)

Descriere

Comanda pentru a modifica Placement. Aceste opțiuni afectează numai poziția și orientarea obiectului în spațiu, ele nu afectează celelalte atribute ale formei. Plasarea este stocată intern sub formă de poziție și rotație (axa de rotație și unghiul transformat în quaternion.[1]). Deși există mai multe metode de specificare a unei rotații, de exemplu cu un centru de rotație, aceasta este utilizată doar pentru a calcula rotația și nu este stocată pentru operații ulterioare. Similar, dacă se specifică o axă de rotație de (1,1,1), aceasta poate fi normalizată atunci când este stocată în quaternion și apare ca (0.58, 0.58, 0.58) atunci când se navighează peste obiect mai târziu.

Folosire

Funcția Placement poate fi accesată în mai multe feluri:

  • via script Python in the console and its API.

Scripting Placement as y/p/r and Matrix

  • sau, îm fereastra Combo View → Properties → Data → Placement → ...,

Task_Placement

  • sau prin meniul Edit → Placement....


Activarea Placement în fereastra de afișare

  • Click pe o formă pentru a o selecta.
  • Click pe Placement (titlul, nu mica săgeată) și un buton cu trei puncte apare: Tache_Placement
  • click pe acest buton, și este afișat Placement Dialog :


Opțiuni

Template:TitreProprietes

  • TASKS X Translation in X direction (Click to enlarge) Moves the coordinate system of the object in the X direction in relation to the axis coordinates of origin 0, 0, 0.
  • TASKS Y Translation in the Y direction (Click to enlarge) Moves the coordinate system of the object in the Y direction in relation to the axis coordinates of origin 0, 0, 0.
  • TASKS Z Translation in the Z direction (Click to enlarge) Moves the coordinate system of the object in the Z direction in relation to the axis coordinates of origin 0, 0, 0.

Template:TitreProprietes

  • TASKS X: Move the center of rotation in the direction X, from the coordinates of the selected object. (default: 0,0,0).
  • TASKS Y: Move the center of rotation in the direction Y from the coordinates of the selected object. (default: 0,0,0).
  • TASKS Z: Move the center of rotation in the direction Z, from the coordinates of the selected object. (default: 0,0,0).
  • TASKS User Defined ... : Allows you to change the three axes ( X, Y, Z) in a single operation User Defined.

Template:TitreProprietes To adjust our rotation parameters we have two methods available.

  • First option. Select Rotation axis with angle Tache_Placement Option rotation axis and angle (Default).
    • TASKS Axis: X: The rotation will be on the X axis.
    • TASKS Axis: Y: The rotation will be on the Y axis.
    • TASKS Axis: Z: The rotation will be on the Z axis. (Default axis).
    • TASKS Angle: Angle of rotation in degrees from -360.00 ° to 360.00 °. (Default: 0.00°).
  • Second option. Select Euler Angles Tache_Placement Option Euler angles.

This option may be easier to work with, however, even in this mode, there are important things to remember: Positive rotations are in the clockwise direction, looking out from the origin along a positive axis. Or to put it differently, the rotations are positive in the counterclockwise direction, looking in to the origin along a positive axis.

  • Yaw : is a horizontal rotation of a body about a vertical axis. (The symbol ψ is often used for yaw.)
  • Pitch : is defined as an oscillating movement of a vessel fore and aft.
  • Roll : is a rotary movement of a body about its longitudinal axis (roll axis).

Yaw, pitch and roll refer to the attitude of an object in 3D space. These terms are commonly used in aviation. The angles are the Tait-Bryan angles. If you want more information, try Euler angles.

Option Euler angles
Option Euler angles


Yaw

  • TASKS yaw axis Yaw is the rotation about the Z axis, that is to say a rotation from left to right. (The yaw angle is the Psi ψ). Value -360.00 ° to 360, 00 ° (Def, 0.00 °).


Pitch

  • TASKS pitch axis Pitch is rotation about the Y axis, that is to say nose-up and nose-down. (The Pitch angle is the Phi φ). Value -360.00 ° to 360, 00 ° (Default, 0.00 °).


Roll

  • TASKS roll axis Roll is rotation about the X axis, that is to say wing up and down. (The Roll angle is the Thêta θ). Value -360.00 ° to 360, 00 ° (Default, 0.00 °).


  • TASKS Apply incremental changes to the placement of the object: Once selected, this option virtually sets all parameters to zero, to allow you to enter your values ​​without having to calculate with the original parameters of the form. Once you have confirmed with OK, the entered values ​​will be added to the values ​​on the form.
  • The Reset returns all values ​​to 0,0,0.

Legături și Exemple

A practical example of using this command is in the tutorial Aeroplane.

Other explanation on Placement