Section line creation (building)

Hi all,

I try to cut the whole model into different lines. Figure 1 and 2 are the result that I had tried. But I want the result like figure 3. (Don’t want the bottom line and it can be seen as “one” line)

Any idea about that?


1029_test.3dm (670.7 KB)

Best,
-HC

Hi!

You just need to make a boolean union before using the contour tool, that way you’ll be slicing a single object without the bottom faces. You can just use the contour command in Rhino, unless you need to do something else in GH.

I hope this helps!

1029_test.3dm (1.4 MB)

1 Like

Thanks! I am barely new to rhino. Do you mean that select all the curves and use the contour command?

I have an advanced question. If the model isn’t on the planar surface, does the contour command work?
1029_section_test.3dm (2.6 MB)

Best,
-HC

I mean select the surfaces after using booleanUnion and use contour to slice them without the bottom faces.

The contour command will get sections of whatever the input is. To make it work as you described you need to cut off your boxes with the terrain first as I did here:

1 Like

Got it. Thanks!

Just test another geometry and it is weird that the BooleanUnion command doesn’t work.

1030_section_test.3dm (2.7 MB)

HC

Boolean union works when the bottom face is overlapping with the ground plane.
In this case you should use booleanSplit and then booleanUnion. If you skip the boolean union you might get the same but with the contour lines separated between the ground and volumes.

1 Like

Why were your geometries placed very far from the origin point? Anyway, you can check this way.


Section Profiles_re.gh (2.2 MB)

1 Like

Hi @HS_Kim,

This is amazing. I can’t fully understand the code (still working on it). How do you define the direction of the section cut?

Cheers,
-HC

@jhernandezv,

Thanks, Jose! I think it is possible to use BooleanUnion to get rid of the bottom side and then cut the plan in grasshopper. Because I need to test different distance between section line to get the ideal result.

Best,
-HC

Try to reset the vector direction(“D” input of Line SDL)which is perpendicular to section profiles.

1 Like

Thanks for the fast respond!!

-HC