[solved] Creating holes for rivets

Hi everyone,

I would like to create holes for rivets on circular tabs

I divided the green line and at each point, I created the bigger circles for the tabs. I was thinking the rivet holes (smaller circles) need to move towards the red line along a vector (red line with arrow) but I am not sure how to get this vector so I can move the holes along this vector. Could someone help me out with this? Or have an alternative solution?

I tried creating circles that are the touch the outer line and find the intersections of them but not all the intersections were identified as shown below.

This is what I am aiming for except that all the big circles (tabs) have smaller circles (rivet holes) inside them. Would anyone have a solution for this? Thank you very much!

Hi @denise
Maybe a Curve proximity component between the inner circles and the green line. then using the closest point on the inner circle as the riven hole point?


Hope this helps:

rivets.gh (8.0 KB)



@tolgakarasay this works thank you! and @christopher.ho thank you for your suggestion as well! :slight_smile: