Remove dependency on Standard_failure #7788

This commit is contained in:
Thomas Krijnen
2026-03-14 14:44:47 +01:00
parent ea64f1b6b9
commit 1a6fd2530f
12 changed files with 72 additions and 1146 deletions
@@ -102,6 +102,8 @@ bool OpenCascadeKernel::convert(const taxonomy::solid::ptr solid, TopoDS_Shape&
}
bool OpenCascadeKernel::convert_impl(const taxonomy::solid::ptr solid, IfcGeom::ConversionResults& results) {
return handle_occt_exception([&]() -> bool {
TopoDS_Shape shape;
if (!convert(solid, shape)) {
return false;
@@ -113,4 +115,6 @@ bool OpenCascadeKernel::convert_impl(const taxonomy::solid::ptr solid, IfcGeom::
solid->surface_style
));
return true;
});
}