I need some help on determining if this is possible with FreeCAD api. I have a part already made (which is not centered on its Placement "position") and now want to rotate about a non-global axis which passes through the part center (not the Placement "position"). I want to define the axis of rotation but not translate the part relative to the rotation point, if that makes sense?
My understanding of performing a rotation is as follows:
Use the Placement dialog or use python:
Code: Select all
part.Placement = FreeCAD.Placement(...)
This means if I define a part such that its local priciple axis is not at global coordinates 0, 0, 0 then I am having difficulty rotating it about that principal axis while keeping its center of gravity in the same location.