Surface split flatten my surface

hello i am trying to make some holes in a brep , i am so new in grasshopper and it flattens my surface then i apply split surface component . what am i doing wrong ?

Baran_01.gh (115.4 KB)

help me pleasee .3dm (49.3 KB)

the Brep with multiple Faces is converted / casted to a Surface.
(and maybe this conversion is just using the first Face/Surface of the Brep)

add 2 parameters to see the misstake.
(see the surface and Brep parameter i added)

hope this helps for debugging.

how to solve it ? use extrusions that run through the object and use those as cutters with Split Brep Multiple.

EDIT:
the function you where after is available in rhinocommon
brep.Split(…)

you can access it with a scripting component:
Baran_01_split_by_crvs.gh (103.6 KB)

@jessesn solution is more vanilla grasshopper

kind regards -tom

You may give it a try with Split Brep Multiple, and fyi.

Split Brep Multiple https://www.rhino3d.com/docs/grasshopper/Intersect/Split-Brep-Multiple :backhand_index_pointing_left:

SplitBrepMultiple.gh (108.3 KB)