Split a number of Surfaces with One surve

Hello all,
I have a problem by splitting these triangular surfaces with one curve. I want to dispatch the parts of Triangular Surfaces based on being in or out of this curve. What I want it to be the result is as this picture illustrates.

Surface split.gh (17.4 KB)

I hope this help:

Fereshteh.gh (30.5 KB)

1 Like

Yes, it works for me. Thanks a lot.

you can also use curve side
Surface split_2.gh (21.6 KB)

1 Like

It is also a good solution. Thank you.

I used your proposed definition and it worked for 99% of the problems. But, here is a exception because there are a few non-convex shapes as well. What should I do for them?

new error.gh (12.2 KB)

There another way; i see when curve split surface grasshopper automatically give index to the new surfaces based on inside outside position; i don’t know if that always work
in this example i add two other surfaces and if the result give you the outside surface change flip direction by changing Boolean from true to false

new error_re.gh (16.4 KB)

i find that will not work always

1 Like

This could be another way.

new error_re.gh (15.3 KB)

1 Like

That’s a good solution. Thank you very much.

Using Shape in Brep

new error_re2.gh (15.6 KB)

Use this as well

Srf_inside.gh (12.2 KB)

1 Like

This is also a good idea. Thank you.