What's new
What's new

Part rotation to pin banks

MioPomegranate

Plastic
Joined
May 23, 2022
Hello all,

I'm in my first year programming and I'm make a fixture that works with 30 different parts. I've been rotating my parts by eye to get by but I need a better method.


I'd like to constrain the center hole of my part to my wcs zero and rotate the tailend of it until its tangent to the pin bank. The only problem is the hole isnt on center with the banking edge. So I can't just do a straight rotate. I also can't tell if I actually get the rotation down right sometimes either due to the graphics. Any help with my stupidity?

example.png.4b9d167f37cd8605a242b97a3a918d40.png
 

Attachments

  • Constrain hole to wcs and bank part to pin.zip
    17.6 KB · Views: 4
Rotate pin in drawing, not part.
Construct line from part center (hole center) to tangent point on pin. Construct circle, center is part center, radius is to end point of constructed line.
Rotate pin, center of rotation = hole center, start of rotation is constructed circle intersection and pin, end of rotation is circle intersection and part edge.

work in 2d space as much as possible for stuff like this.rotation.jpg
 
Last edited:








 
Back
Top