Extrude circles based on radius

Hi all,

I am trying to figure out how to extrude a set of circles based on their radii. To be specific, I am trying to build a cutter for a ring that looks like this

image

For example, if I set the inner most circle at 1.6mm depth, I’d like the next circle in the sequence to be extruded a set length smaller, so the next one would be 1.2, 0.8, 0.4, etc.

So the adjustable parameters would be Depth of inner circle extrusion, and the extrusion depth of the rest of the circles.

Attached is my script thus far. I’d appreciate any tips!

Extrude circles based on radius.gh (6.7 KB)

Thanks,

Munro


Extrude circles based on radius_re.gh (11.7 KB)

1 Like