In FreeCAD, Placement defines an object's position and rotation. The Placement concept is explained in detail here: Placement.
Example of setting a document object's Placement:
myObj = FreeCAD.ActiveDocument.ActiveObject
pl = FreeCAD.Placement()
myObj.Placement = pl
Placement( ) or (Placement) or (Matrix) or (Base, Rotation) or (Base,Rotation,Center) or (Base,Axis,Angle)
Description: Constructs a placement, empty or with the given arguments, or as a copy of the given placement.
Returns: a vector representing the Placement's position.
Returns: a quaternion representing the Placement's rotation.
Description: computes the inverse placement
Returns: a placement.
Description: moves the Placement along the given vector
Description: applies the Placement to the given vector
Returns: the resulting vector.
Description: multiplies this placement with another one
Returns: the resulting placement.
Returns: a matrix representing the Placement's transformation.
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties; Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base; Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Points, Raytracing, Reverse Engineering, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Deprecated or unmaintained workbenches: Complete, Drawing, Robot