Better exception handling when writing STEP/IGES/BREP files via Python
This commit is contained in:
@@ -274,10 +274,11 @@ static PyObject * exporter(PyObject *self, PyObject *args)
|
||||
}
|
||||
}
|
||||
}
|
||||
} PY_CATCH;
|
||||
|
||||
TopoShape shape(comp);
|
||||
shape.write(filename);
|
||||
TopoShape shape(comp);
|
||||
shape.write(filename);
|
||||
|
||||
} PY_CATCH;
|
||||
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user