I tried to use roll curve and slide curve to try to animate my pin to slide along the ellipse, but it just couldn't work, still showing 2 DOFs, I'm not sure why.
I referred, even did the exact same thing as this guy did (https://www.youtube.com/watch?v=XE0vtxQj8Vc&t=20s) but i couldn't reproduce what he did either, always ended up showing DOFs > 1 .
Attached below is my image and curve
Both of images are solution. Chose of of them.
Instead of a rolling curve or sliding curve joint; use a point on curve joint.
Point is the centerpoint of the pin, and curve is parallel offset from the ellipse the radius of the pin.
point curve alone wouldn't be sufficient to simulate my mechanism, point curve alone if not driven will yield 4 DOFs
I tried using point curve (Point coincidence with pin's circumference + path of the ellipse) and a planar joint between planes of pin and ellipse, both of which are parallel to the pin's axis, but still ended up with DOFs >= 1.
Attached below are my files
AttachmentsSliding Pin.zip, 64.2 KB