Trying to make a perforation script for a surface but having trouble

Rhino Peforation.gh (21.4 KB)

I have the examples up above which I was reading up online. I understand what’s going on there.

I’m trying to make a script that can take a set of curves or breps and cuts into a surface. Something where I have more control over where the points being created are so I can create a gradient or even some pictures.

I was trying to replace the Sphere node with a Brep node and have it populate through the surface but I was getting an error saying that the trim command could not do it.

I’m now reading up on attractor points to see what those do in terms of potentially using it to help with the gradient.

Hi welcome,

Do this

internalize

Here

Cheers,
BVR