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.
Options
How to animate the motion automatically

Hi,
Is there a way to create an automated animation of an assembly?
Not by moving parts or assembly with a cursor.
Thank you
Is there a way to create an automated animation of an assembly?
Not by moving parts or assembly with a cursor.
Thank you
0
Best Answer
-
mahir Member, Developers Posts: 1,315 ✭✭✭✭✭
You can animate one mate at a time. Right-click the mate in question and select Animate. Adjust the parameters as desired and click the triangular Play icon.6
Answers
But not all mates can be animated, right? For example, tangent mate has no animation. So, any way to animate these?
Example:
https://cad.onshape.com/documents/96a6b74d7a31dfa5030c1877/v/acf22fdd772ac5a03673a11d/e/34bb494ac2e0f8679f51a702?renderMode=0&tangentEdgeStyle=1&uiState=6855caccdbebf551774fa949
@vanowm Yes. That has been discussed before. You've got a sphere with a center and a path to use for this.
That's not very helpful…"use this" how?
@vanowm With cylinders and spheres, people often think they need to use the tangency constraint on their surfaces, when it is much easier to use the center point or axis and a path, midplane or mid-surface to define the movement. The tangent mate must be looked at as a kind of "following" mate. You need something else like a rotate, slider, parallel or other mate to drive the movement, then.
Unfortunately, your doc isn't accessible (Your sample is versioned and you can only make a copy to edit in main, but that will strip all older versions, then). So I'll use an older simple sample:
https://cad.onshape.com/documents/71fc008d9243a885635708b5/w/0cf8076d68a685a48318f84d/e/d594d6ffb37f162ea7ea0e58?renderMode=0&uiState=685b987e5ac4530fbc357ab2
This does not use the tangent mate to define the movement of the sphere. Instead it uses a combination of stacked mates to do the (straight) path, the rocking and the rolling of the ball. Move the ball with the mouse pointer to see. If the rail was 2D-curved, the slider mate would have to be replaced by a combination of a planar mate (mid plane / sphere center)) and a tangent mate (path / sphere center) that rides on it, of course. You could add a rotate mate and rack condition to make the ball roll.