mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fixes for polygonal facesets and skip over errors in SVG
This commit is contained in:
@@ -443,7 +443,9 @@ void SvgSerializer::write(const IfcGeom::BRepElement<real_t>* o)
|
||||
const TopoDS_Shape& subshape = it.Value();
|
||||
|
||||
Bnd_Box bb;
|
||||
BRepBndLib::Add(it.Value(), bb);
|
||||
try {
|
||||
BRepBndLib::Add(it.Value(), bb);
|
||||
} catch (const Standard_Failure&) {}
|
||||
|
||||
// Empty geometry
|
||||
if (bb.IsVoid()) {
|
||||
|
||||
Reference in New Issue
Block a user