Wall Material Layers Volume #3188
Replies: 1 comment
-
Not everything can be described as thickness x length x height. Walls can have openings, or be clipped to the roof, ... One way of doing this is to use Otherwise, length you can get by taking the 'Axis' representation and calculating the length (should be available quite generally on walls). Height maybe just by taking top vertex and subtract bottom vertex z. In all these cases I would recommend Python OpenCASCADE. Use TopoDS_Iterator to explore the subshapes for individual layers in the first case. BRepGProp_LinearProperties for edge lengths. TopExp_Explorer(TopAbs_VERTEX) BRep_Tool_Pnt() for exploring vertices and obtaining its point. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am new to IFC Open Shell, and I am trying to find the volume for each material layer. I am working with the schema: IFC4 Design Transfer View. I can extract the material layers and thickness for all walls. Here is my current result output:
I would like to know how I can also extract the length and height so that I can calculate the volume for each material. Alternatively, is there a way to directly extract the volume for each material?
Best regards,
Nikolas
Beta Was this translation helpful? Give feedback.
All reactions