OCCT doesn't like null shapes even on symmetric bools

This commit is contained in:
Thomas Krijnen
2024-06-12 11:47:22 +02:00
parent 44507785ac
commit ecef745c3b
@@ -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);
}