mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
OCCT doesn't like null shapes even on symmetric bools
This commit is contained in:
@@ -175,6 +175,10 @@ bool OpenCascadeKernel::convert_impl(const taxonomy::boolean_result::ptr br, Con
|
||||
}
|
||||
r = C;
|
||||
} else {
|
||||
if (br->operation != taxonomy::boolean_result::SUBTRACTION && a.IsNull()) {
|
||||
a = b.First();
|
||||
b.RemoveFirst();
|
||||
}
|
||||
valid_result = util::boolean_operation(bst, a, b, op_to_occt(br->operation), r);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user