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
@@ -107,6 +107,8 @@ bool OpenCascadeKernel::convert(const taxonomy::shell::ptr l, TopoDS_Shape& shap
}
bool OpenCascadeKernel::convert_impl(const taxonomy::shell::ptr shell, IfcGeom::ConversionResults& results) {
return handle_occt_exception([&]() -> bool {
TopoDS_Shape shape;
if (!convert(shell, shape)) {
return false;
@@ -118,4 +120,6 @@ bool OpenCascadeKernel::convert_impl(const taxonomy::shell::ptr shell, IfcGeom::
shell->surface_style
));
return true;
});
}