mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
At least make sure that hybrid-cgal-simple-opencascade processes the elements correctly #8052
This commit is contained in:
@@ -214,8 +214,13 @@ bool CgalKernel::convert(const taxonomy::shell::ptr l, cgal_shape_t& shape) {
|
|||||||
} catch (...) {}
|
} catch (...) {}
|
||||||
|
|
||||||
if (!success) {
|
if (!success) {
|
||||||
logger::message(logger::LOG_WARNING, "Failed to convert face:", f->instance);
|
if (this->partial_success_is_success) {
|
||||||
continue;
|
logger::message(logger::LOG_WARNING, "Failed to convert face, skipping:", f->instance);
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
logger::message(logger::LOG_ERROR, "Failed to convert face:", f->instance);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// std::cout << "Face in ConnectedFaceSet: " << std::endl;
|
// std::cout << "Face in ConnectedFaceSet: " << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user