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.
How do I solve this inverse kinematics issue

I have 2 rotatable arms, and when I try to mate them with a revolute, onshape can't solve the assembly and caues other mates to break:
Once mated:
Is there a way I can get the assembly to solve with inverse kinematics?
https://cad.onshape.com/documents/044489cf90bf8bba13046e46/w/f005f843b6ad9e5f2bf02ea4/e/e853c1892c9a9c5eecee8049
Best Answer
-
eric_pesty Member Posts: 2,227 PRO
I'm guessing there the links already have mates that constrain them on the Z direction and there is mis-match somewhere (could even just be a rounding error in the math).
Change that revolute mate to a cylindrical mate to avoid this.
2
Answers
I'm guessing there the links already have mates that constrain them on the Z direction and there is mis-match somewhere (could even just be a rounding error in the math).
Change that revolute mate to a cylindrical mate to avoid this.
Agree that a cylindrical mate is the way to go. Otherwise you have two different mates telling that part exactly where it should go, and even if they "say the same thing" software tolerance limits can cause failures. With cylindrical, only 1 mate is defining the z position of the link.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com