Open gumyr opened 3 years ago
Why do you actually want to use the Matrix class? Unless you want to do some low level things (extend CQ) I'd advise against it.
My immediate need was the creation of rotation functions for the cq.Vector class. However, the affine transformation matrix is an incredibly powerful component of linear algebra allowing for combinations of rotation, translations, skew, etc. Who knows what clever things users might do with it in the future?
Especially with things like skew your quickly run into kernel issues.
The rotateX, rotateY and rotateZ methods of the Matrix class assume the angle of rotation is in radians not degrees like all of the other cadquery methods.
There is one line fix:
However, this will break backwards compatibility.