mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
#1743 don't consider bbox in opening subtractions
This commit is contained in:
@@ -1037,6 +1037,9 @@ bool IfcGeom::Kernel::convert_openings_fast(const IfcSchema::IfcProduct* entity,
|
||||
IfcGeom::IfcRepresentationShapeItems opening_shapes;
|
||||
|
||||
for (IfcSchema::IfcRepresentation::list::it it2 = reps->begin(); it2 != reps->end(); ++it2) {
|
||||
if (IfcParse::traverse((*it2))->as<IfcSchema::IfcBoundingBox>()->size()) {
|
||||
continue;
|
||||
}
|
||||
convert_shapes(*it2, opening_shapes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user