Split a number of Surfaces with One surve

(Fereshteh Khojasteh) #1

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
(Fereshteh Khojasteh) #3

Yes, it works for me. Thanks a lot.

(Seghier khaled) #4

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

1 Like
(Fereshteh Khojasteh) #5

It is also a good solution. Thank you.

(Fereshteh Khojasteh) #6

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)

(Seghier khaled) #7

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
(Fereshteh Khojasteh) #9

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

(Seghier khaled) #10

Using Shape in Brep

new error_re2.gh (15.6 KB)

(Seghier khaled) #11

Use this as well

Srf_inside.gh (12.2 KB)

1 Like
(Fereshteh Khojasteh) #12

This is also a good idea. Thank you.