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!