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
@@ -308,6 +308,8 @@ bool OpenCascadeKernel::convert(const taxonomy::sweep_along_curve::ptr scs, Topo
}
bool OpenCascadeKernel::convert_impl(const taxonomy::sweep_along_curve::ptr scs, IfcGeom::ConversionResults& results) {
return handle_occt_exception([&]() -> bool {
TopoDS_Shape shape;
// For tiny radii occt will fail building the sweep, in which case we enlarge the inputs to occt, and add a scale matrix to the output
bool enlarged = false;
@@ -352,4 +354,6 @@ bool OpenCascadeKernel::convert_impl(const taxonomy::sweep_along_curve::ptr scs,
scs->surface_style
));
return true;
});
}