Make sure compound structure is retained as SvgSerializer depends on it

This commit is contained in:
Thomas Krijnen
2025-10-01 15:01:50 +02:00
parent babf95785c
commit d684d47dc8
10 changed files with 32 additions and 5 deletions
@@ -607,7 +607,7 @@ gp_Pnt IfcGeom::util::point_above_plane(const gp_Pln& pln, bool agree) {
}
}
bool IfcGeom::util::is_compound(const TopoDS_Shape& shape) {
bool IfcGeom::util::is_compound_of_faces(const TopoDS_Shape& shape) {
bool has_solids = TopExp_Explorer(shape, TopAbs_SOLID).More() != 0;
bool has_shells = TopExp_Explorer(shape, TopAbs_SHELL).More() != 0;
bool has_compounds = TopExp_Explorer(shape, TopAbs_COMPOUND).More() != 0;