FreeCAD Gimbal Macro - For Visualizing Euler Angles

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
gbroques
Posts: 167
Joined: Thu Jan 23, 2020 3:28 am
Location: St. Louis, Missouri

FreeCAD Gimbal Macro - For Visualizing Euler Angles

Post by gbroques »

Hi everyone.

I've been recently learning about three 3D rotations, Euler Angles, Gimbal Lock, and related topics.

Thus, I really wanted a Gimbal in FreeCAD to help visualize exactly what was going on when editing Euler angles in the Placement dialog -- as it's not always very intuitive.

I threw together a Macro that creates a Gimbal, via a scripted object, in the document and can be arbitrarily linked to any object (via App::PropertyLink):
https://github.com/gbroques/fc-gimbal

It's a little rough, but I thought it was functional enough to share.

Let me know what you think! :)


Image
Post Reply