mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Extra check for single-face IfcConnectedFaceSets. Fixes #181.
This commit is contained in:
@@ -173,7 +173,7 @@ bool IfcGeom::Kernel::create_solid_from_faces(const TopTools_ListOfShape& face_l
|
||||
try {
|
||||
builder.Perform();
|
||||
shape = builder.SewedShape();
|
||||
valid_shell = BRepCheck_Analyzer(shape).IsValid() != 0;
|
||||
valid_shell = BRepCheck_Analyzer(shape).IsValid() != 0 && count(shape, TopAbs_SHELL) > 0;
|
||||
} catch (...) {}
|
||||
|
||||
if (valid_shell) {
|
||||
|
||||
Reference in New Issue
Block a user