Let me provide a simple example and form a question to illustrate what I don't understand.
Consider the following "tower" shape, a cone placed on top of a cylinder in a Std Part (see below screenshot).
The cylinder has a height of 10.
Now, I want to rotate about (0, 0, 10), the center of where the cone meets the cylinder, around the X axis, 5 degrees.
See the following code snippet.
Code: Select all
Draft.rotate([FreeCAD.ActiveDocument.Part], 5.0, FreeCAD.Vector(0.0, 0.0, 10.0), axis=FreeCAD.Vector(1.0, 0.0, 0.0), copy=False)
These are what I'd like to know how to calculate, or the formula FreeCAD uses to come up with these numbers.
How would I calculate the placement offset after the rotation is performed?
Please help me understand how this works.