Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Matrix object constructor?
konstantin_shiriazdanov
Member Posts: 1,221 ✭✭✭✭✭
I woiuld like to create a 2d rotation matrix and would like it to support all matrix specific operations like multiplication and others. And i cant find any matrix constructor function taking 2x2 array and giving matrix object, analogically as we have vector() function.
Currently as workaround I had to use RotationMatrix3d() and wordToPlane()
Currently as workaround I had to use RotationMatrix3d() and wordToPlane()
0
Comments
...but you're right that it would be more consistent to have a matrix() function which does this, as we have with vectors. Seems to me like a simple oversight, and we can add that function to the standard library in a future release. Thanks!