Guidance to the most applicable tutorials

Hello! I’m trying to build my skills with Galapagos in Grasshopper by creating a script to lighten 3D-printed templates we use for drilling holes. We need the perimeter and holes intact for alignment, but much of the interior can be removed as long as some triangulated sections remain to prevent distortion.

I’m considering an approach that divides the interior into roughly equal-sized 3- and 4-sided polygons, aiming to reduce material while maintaining stability. So far, I’ve created a Galapagos algorithm that optimizes the areas of three circles. I calculated the standard deviation by hand and let Galapagos minimize it, but I feel there’s likely a better way to handle this. Currently, I have to add one standard deviation component per curve, which limits flexibility in the number of shapes.

I’ve attached an image showing the kind of result I’m aiming for—though I realize achieving this directly with Grasshopper might be idealistic. I’d appreciate any tips or tutorials on setting up the Grasshopper algorithm. Any advice on making Galapagos work with this kind of optimization would be a huge help.

Thanks in advance!


Splitter.gh (18.2 KB)

I’m not getting how the GH file you posted is linked to the screenshot? :upside_down_face:

And the obvious solution is that all circles have the same radius !

1 Like

It uses Galapagos to make circles of equal area. Attached in a version that makes polygons of the same volume.

I need to figure out how to pack the polygons into the perimeter curve I am providing without colliding with the drill holes.

The screenshot is what I would consider ideal. I made it by hand in Rhino. The perimeter is the outside curve. The small holes are the drill holes. The other curves are mostly 3 or 4 sided. I added fillets to make it look nice.
Splitter.gh (24.9 KB)