Window bounding box thickness difference

hello everyone,

I’m trying to use element.boundingbox + boundingbox.tocuboid nodes for my windows.
however it is making a boundingbox that is much bigger than what the actual window is.
any thoughts or advice?
thank you for your time in advance


Bounding box are not align to the object but to the coordinate system. So if a window is at an angle versus another one they will have different bounding box.
Can you explain what you are trying to achieve so we might propose another way to do it?

1 Like

Another way:

  1. Build a cuboid using the height, width, and depth of the window (depth from the wall if needed based on your available parameters), around the origin.

  2. Find the local coordinate system of the window (or build it from the location and facing orientation) and apply it to the cuboid.