How to trim surface with curves in Grasshopper?


(Starzred) #1

Dear All

I have generated a set of curves on a surface as attached files and need to trim the surface with these curves.
I know that boundary srf will work but only on a planar condition. Would anyone know how to work this out please?

Many thanks!
Kind regards
Yutaka

trim surface.3dm (236.7 KB)
trim surface.gh (8.6 KB)


#2

Hej Yutaka,

I came up with this:
I replaced the sphere with a circle around the center point of each segment (one version uses Isotrim like you did, one uses lunchbox), projected the curves onto the surface and then used surface split.
Sadly projection and split make the script little slow :frowning:

trim surface_2.gh (12.1 KB)