Animate an angle between planes

Kbwbe Thanks for the response . I’m pretty sure you know what we are trying. I have attached a simple version of the macro. It starts but after a few loops I get the error of Constraints Inconsistent. The 0-180 degree problem is pretty obvious.

Dimension4, other than dividing the circle into three pieces and creating a constraint for the first third, destroying it and creating another for the next and so on I’m not sure how to get around the 180degree thing. Like I had said earlier I’m new at this FreeCAD and Python.


Dan
_A2PLUS3rotate.FCStd (7.21 KB)
simpleRotate A2plus.FCMacro (1.24 KB)

You might look into using the Placement api. I have not played with it much and I’m not sure how well it will work with the assembly programs. If you don’t try to solve the constraints it might move one piece?



[wiki]https://www.freecadweb.org/wiki/Placement_API[/wiki]

[wiki]https://www.freecadweb.org/wiki/Placement[/wiki]