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.
Triad manipulator not aligned to world axis?
EvanReese
Member, Mentor Posts: 2,135 ✭✭✭✭✭
The documentation defines triadManipulator() as "Create a manipulator represented by a triad of perpendicular arrows, aligned with the world axes, which specify a 3D position."
Is there a way to align it to another coordinate system, not aligned to the world axes? I'd like to not hack my own together out of 3 linear manipulators if I can help it.
Is there a way to align it to another coordinate system, not aligned to the world axes? I'd like to not hack my own together out of 3 linear manipulators if I can help it.
Evan Reese
0
Best Answer
-
konstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭I think making your own triad manipulator of three linear ones is the only option. The good news is that you can make it a generic library function which you only need to make once and reuse everywhere.
1
Answers
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Some observations:
- Because of my use of hidden variables in the predicate, there can be only one "localTriadManipulator" per feature.
- The 'triad' doesn't have to be an orthogonal, independent set of basis vectors.
Hope it's useful. You can search public documents for 'localTriadManipulator'.Demo:
https://cad.onshape.com/documents/f828d6bc36d2b4c6ebedac37/w/0e8fd9c40d67f569d9fd35ad/e/edb843e3e5157e64f0e61fa4?renderMode=0&uiState=627c21fadc79c170d2e62889
FS itself:
https://cad.onshape.com/documents/6b6fa35f49b00b5c8e5a04f4/w/88333a37a559dda1cdc1685f/e/0cd771eb66db586f1b899226
https://forum.onshape.com/discussion/16728/triad-manipulator-with-rotate-for-featurescript/p1?new=1
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴