MSPhysics -- Slide and pin motion help


#1

SlideAndPin.skp (82.0 KB)

I’m trying to simulate a slide that’s constrained to follow a guide pin. The slide is attached to a plate that rotates (using a servo). All of this mechanism sits on top of a table that’s a static mesh.

Things kinda work for me; as I rotate the plate, the guide tries to constrain it’s motion about the pin but some instability causes it to stop colliding.

Please educate me on what I’m doing wrong. All suggestions are welcome.


#2

Might it be that the corner of the rotating plate needs a radius so it doesnt collide with the rail?


#3

I made some edits, it works now. But it doesn’t work properly. If you ask the question “https://sketchucation.com/forums/viewtopic.php?f=323&t=64521”, you can find a better solution.
SlideAndPin-ecati.skp (81.0 KB)


#4

Oh my … the upload must have failed. In the model I thought I posted, the two parts that you show colliding actually are connected through the slide so they rotate together. As the servo rotates CCW, the two pieces connected by the slide with translate with respect to each other since the one in the foreground is constrained by the pin.

Thanks


#5

Nice job, ecati. Can you give me a hint as to what you changed? My guess is that your selection of the “State” settings might have been the solution.


#6

I did a four-step correction. I’m specifying these corrections in the image and in the attached file.
SlideAndPin-ecati.skp (78.7 KB)


#7

Thank you very much @ecati, your solution helped me to understand MSPhysics a little better!