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.
Follow a curve in assembly?

Hello.
Is there a way restrict movement of a part to follow predefined curve?
Here is a test
https://cad.onshape.com/documents/96a6b74d7a31dfa5030c1877/v/e277d1cf7dc70e8fcde0c8fe/e/66dbaff92a3692ba5e95edcd?renderMode=0&tangentEdgeStyle=1&uiState=68559b9e8eadb136d9171975
Thank you
Best Answer
-
eric_pesty Member Posts: 2,212 PRO
Your path needs to be a single curve (you can create a fit spline from you sketch geometry) and then you can use a tangent mate between a vertex and the path.
That won't lock rotation so you will need more constraints for that (like multiple vertices following the path or an external "parallel", or you instead of just a curve you cand use a surface and have edge be tangent instead to it instead of just a vertex.1
Answers
Your path needs to be a single curve (you can create a fit spline from you sketch geometry) and then you can use a tangent mate between a vertex and the path.
That won't lock rotation so you will need more constraints for that (like multiple vertices following the path or an external "parallel", or you instead of just a curve you cand use a surface and have edge be tangent instead to it instead of just a vertex.
Thank you!
I couldn't make spline in sketch precise enough as the 2 lines and an arc, so I used routing curve tool, which made close-enough spline curve and then created surface from it.
It works great:
Assembly: follow curve v2