If we apply two rotations to an object, then the resulting object position
should be the same as if the rotations are applied simultaneously.
Rotation in 3 dimensions isn’t commutative unless you limit yourself to a single axis.
The order of the individual rotation operations matter.
In OpenSCAD rotate([a,b,c]) is equivalent to rotate([0,0,c]) rotate([0,b,0]) rotate([a,0,0])
-Marius
>
> From: alphlim <safarat@cardiff.ac.uk>
> Subject: rotations not showing as commutative
> If we apply two rotations to an object, then the resulting object position
> should be the same as if the rotations are applied simultaneously.
>
Rotation in 3 dimensions isn’t commutative unless you limit yourself to a single axis.
The order of the individual rotation operations matter.
In OpenSCAD rotate([a,b,c]) is equivalent to rotate([0,0,c]) rotate([0,b,0]) rotate([a,0,0])
-Marius