Placement API

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 pl.move(FreeCAD.Vector(2,0,0)) myObj.Placement = pl