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.

# PIN IN CURVED SLOT

OS Professional Posts: 49 PRO
Is there a way to put a pin in a curved slot and run it end to end?

• OS Professional Posts: 49 PRO
Forgot to add...Without using the tangent mate.

Also need to be able to rotate the pin as it moves in the slot.
• Member, Developers Posts: 1,053 ✭✭✭✭✭
edited November 1
I'm not aware of any way to do this without some version of a tangent mate. Why are you opposed to using one? As a general solution to making a part follow a path, you would create a dummy slot surface and if necessary a dummy roller. To keep the pin centered in the slot you would offset the path slot surface accordingly. You then fasten the two dummy parts to the parts in question, add the tangent mate, and then hide the dummies. You'll also need a planar mate to keep the roller from moving axially. It should move smoothly as long as there are no indeterminate points where the roller can be tangent to two points at once.

• OS Professional Posts: 49 PRO
Never mind. Figured out a way to do it.

Used a bunch of tangent mates and a cam to turn the shaft.

Tricky application.
• Member Posts: 227 EDU
Here's a quick way to do it:
1. Create a dummy surface on the tip of the pin
2. Add a mate connector to the center of the dummy surface and offset it the radius of the slot (or create it in context at the center of the slots' arc)
3. Add a revolute mate between the dummy's mate connector and one at the center of the slot & add angle limits to keep it in the slot
4. Add a revolute mate between the dummy's center and the pin's center
Hope this helps!

Get in touch: [email protected] | My personal site: https://alnis.dev | My YouTube channel (I make tutorial videos for Onshape & Inventor): https://www.youtube.com/c/AlnisSmidchens
• Member Posts: 164 PRO
@alnis_smidchens, that is an extremely clever trick placing an offset mate connector on the dummy surface.  I borrowed and expanded on your idea.  @gerald_friedman, is it your intent that the pin is just free to rotate?  Or is your goal to achieve rolling contact between pin and wall of slot?

I assumed the latter.  I widened the slot to provide positive clearance and positioned the pin such that it registers on the inner face of the slot. The model could just as easily be configured with the pin registering on the outer face (but not both).

I also added a gear relation between the two revolute mates based on the ratio of the radii of the contact surfaces (24mm/6mm = 4:1).  Animate the revolute mate labeled virtual pivot to set the assembly in motion:

• OS Professional Posts: 49 PRO
Mathew,

Not rolling contact. There's a cam driving an arm attached to the pin.

• OS Professional Posts: 49 PRO
Tried to put movie in but failed. Obviously don't know how.
• OS Professional Posts: 49 PRO
I down loaded LICEcap and tried to make a GIF of my pin in curved slot application to post.

LICEcap took a picture of the desktop right through the browser image.

Anyone know what I did wrong?
• OS Professional Posts: 49 PRO
Finally figured out what was wrong with LICEcap recording.

So here is the pin in curved slot driven by a cam.