[SOLVED] Difference between .Rotation.RawAxis and .Rotation.Axis ?

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
manos
Posts: 432
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

[SOLVED] Difference between .Rotation.RawAxis and .Rotation.Axis ?

Post by manos »

Code: Select all

print(' Raw Axis=',obj.Placement.Rotation.RawAxis)
print(' Axis=',obj.Placement.Rotation.Axis)
Hello
Is there any difference between Placement.Rotation.RawAxis and Placement.Rotation.Axis ?
Thanks
Last edited by manos on Sat Sep 24, 2022 11:28 am, edited 1 time in total.
User avatar
Roy_043
Veteran
Posts: 8452
Joined: Thu Dec 27, 2018 12:28 pm

Re: Difference between .Rotation.RawAxis and .Rotation.Axis ?

Post by Roy_043 »

Axis is the unit vector calculated from the RawAxis value.
manos
Posts: 432
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

Re: Difference between .Rotation.RawAxis and .Rotation.Axis ?

Post by manos »

Roy_043 wrote: Fri Sep 23, 2022 8:55 am Axis is the unit vector calculated from the RawAxis value.
Thank you Roy_043
Post Reply