Extruding facades

Hi all,
I am trying to create this triangular facade which are extruded by the centroid of the triangles. Everything is fine, except for the fact that there are two spaces that I have missed (white outline). I cannot figure out how to include these two spaces within the script so that i can also have this extruded facade continuing to the edge of the panel where the missing spaces are. i have attached the grasshopper file below.

any help would be greatly appreciated thank you



FACADES.gh (21.5 KB)

You have not internalised the geometry in your grasshopper file (right-click and choose “Internalise data”).

-Kevin

oh im sorry! here is the updated file
FACADES.gh (19.2 KB)

if you’re not a grasshopper purist, and can handle some plugins - with Lunchbox you can simply do this


FACADES[with Lunchbox].gh (22.9 KB)

but if you really are a grasshopper purist, and can handle some data tree manipulation


FACADES[with trees].gh (13.0 KB)

thank you so much, ive tried both and they work perfectly for triangular panels. just a follow up question - is there a way to do this for irregular quadrilateral shapes too?
Screenshot 2024-05-04 203102
tree version
Screenshot 2024-05-04 203144
lunchbox version

The tree version should work in theory on anything the divide surface component outputs.

As for the lunch box version I’m not entirely sure

Can you upload some geometry on which you would like these to work?

faces.3dm (122.9 KB)
ideally id like it to work on all these faces if possible

there you go.
the main two issues were that:

  1. the surfaces were trimmed surfaces and needed to be reconstructed
  2. the direction of the extrusion couldn’t stay in the +z direction, but rather in the direction of the surface

there were also minor issues like:

  1. some of the panneling was returning null surfaces - so those needed to be culled
  2. the direction of the surfaces sometimes needed to be flipped so that the extrusion happened outwards

read the notes inside the gh file
FACADES[with trees][reconstructed surfaces].gh (40.7 KB)
FACADES[with Lunchbox][reconstructed surfaces].gh (44.0 KB)

thank you so much for both!! i really appreciate the notes to help me understand as well thank u :laughing:

2 Likes