Get wall elements

Hi all,

is there a way to extract the walls (with the holes from apertures cut out) from the HB model?

Did you try the VizByType component (walls output)?
-A.

If you want the ‘punched geom’ as a brep:

‘Face’ has a punched_geometry prop

import ladybug_rhino.fromgeometry as fg

punched_brep_ = fg.from_face3d_to_solid(_face.punched_geometry, 0)

punched_geom.gh (15.4 KB)

2 Likes

Yes, butthat way you’ll get walls and windows. But the walls don’t have the hole from the windows :wink:

I can’t check right now, but i’m pretty sure you get the mesh walls with the holes on them.
Will check tomorrow.
-A.

1 Like

@Mathiassn @AbrahamYezioro is right viz by type does it too

idk why I kneejerk “uses SDK” for like everything… #does_extra_work_all_the_time smdh lol :roll_eyes:

1 Like

Tx @TrevorFedyna ,
Saved me the check time.
-A.

@TrevorFedyna FYI:


As you can see, even though the geometry looks right, behind scenes something else happens. In this case there are two surfaces instead only one (as expected).
Not having much experience using the LBT SDK i believe it is related to making an instance of the original geometry before other actions on it.

-A.

2 Likes

Hey,

Love it. I used your code to create this.
getParts.gh (24.5 KB)

2 Likes

Thaaaaaat explains a few things I’d ran into the other day and just threw a work around at rather than thinking deeper on the matter. Ty!