Generate random shapes/holes

I want to generate a random number of dotted holes in this panel. Is there a script that can do this?

What would be the easiest way?

the easiest way would be to not have the panel extruded into a 3D form, but just have its outline, in this case as a rectangle on the XY plane

at that point you can reference it in Grasshopper with a Curve parameter
then you can populate it with a number of randomly located points of your choice using Populate2D, and finally use those points as centers for Circles

after all this, you can create a Boundary Surface out of the rectangle + Circles together, in such a way to get a Trimmed Surface that has holes, and extrude it in Z direction to give it thickness

1 Like

I made a script and am using that :blush: