Std Placement

Description
The Std Placement command displays the Placement task panel for a selected object.



Usage

 * 1) Select a single object that has a  property in the property editor.
 * 2) Select the  option from the menu.
 * 3) Change one or more of the translation and rotation parameters.
 * 4) Do one of the following:
 * 5) * Press the button to apply the changes and close the task panel.
 * 6) * Press the button to apply the changes, but keep the task panel open for further changes.
 * 7) Press  or the  button to abort the operation. This will undo any changes that have not been applied.

The dialog can also be launched by clicking on the ellipsis button that appears in the property editor when you click on the  property.

Scripting
FreeCAD Scripting Basics.

See the Python scripting tutorial.

A placement is internally defined by a matrix; in many cases it is simpler to represent it by means of two components, a point (vector), and a  value. The itself has different representations; it can be entirely defined by the value of a "quaternion", but it can also be described by a rotation  (unit vector) and a rotation  (radians).

Move the base point of the object, then rotate the object 45 degrees around the X axis.
 * The math module supplies a method to easily convert degrees into radians and has to be imported at first.