Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Help with animating for School Project

simon_dwyersimon_dwyer Member Posts: 8 EDU
Hello, can anyone please help me with my Onshape? I have to animate a model in which when pushing in this:
 Will rotate this:

 at the same time. Here is a link to the project: https://cad.onshape.com/documents/de5a9ea034f9e95cb6a1f492/w/9a8f152301e919cdd7b08cb8/e/d88d746f838e7ea5ad7582fe .
Help would be greatly appreciated.

Answers

  • MBartlett21MBartlett21 Member Posts: 1,616 EDU
    @simon_dwyer
    You can use a Rack and Pinion relation (assuming you are using a slider and a revolute mate)
    https://cad.onshape.com/help/Content/materelation-rackandpinion.htm
    MB - I make FeatureScripts: view FS (My FS's have "Official" beside them)
  • simon_dwyersimon_dwyer Member Posts: 8 EDU
    Can you please provide a video tutorial.
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,339
    @simon_dwyer

    There is a video example in that help page that Morgan shared, under Desktop and then Video Example.  Here is some additional documentation about all of our relations (which is the sort of thing you are trying to get at; motion in mate A affects mate B is a called a mate relation on Onshape terminology):
    https://cad.onshape.com/help/Content/relations.htm
    Jake Rosenfeld - Modeling Team
  • simon_dwyersimon_dwyer Member Posts: 8 EDU
    I still don't get it.
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,339
    Jake Rosenfeld - Modeling Team
  • owen_sparksowen_sparks Member, Developers Posts: 2,339 PRO
    edited May 24
    Looks like you've not set your document to public so we can't jump in and demo it for you.

    So
    (Step 1) Set ordinary mates for the part you want to move.  From the screengrab it looks like you're making a pinball machine?  So probably a revolute for the flipper and a slider for the button.
    (Step 2) Set limits for those mates, so they can only move as far as you want them to.
    (Step 3) Set a "relation" between the mates you made above.  In this case the rack and pinion so when you press the button the flipper moves.

    Hope that helps,
    Owen S.
    Production Engineer
    HWM-Water Ltd
Sign In or Register to comment.