mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
Clarify Compound of Solids behaviour in create_solid_from_faces() #6780
This commit is contained in:
@@ -1451,10 +1451,10 @@ TopoDS_Shape IfcGeom::util::ensure_fit_for_subtraction(const TopoDS_Shape& shape
|
||||
return shape;
|
||||
}
|
||||
|
||||
TopoDS_Solid solid;
|
||||
if (!create_solid_from_compound(shape, solid, tol)) {
|
||||
TopoDS_Shape solid_or_compound_of_solids;
|
||||
if (!create_solid_from_compound(shape, solid_or_compound_of_solids, tol)) {
|
||||
return shape;
|
||||
}
|
||||
|
||||
return solid;
|
||||
return solid_or_compound_of_solids;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user