function to reset occ global shape properties

This commit is contained in:
Christopher Lackner 2024-04-02 22:46:55 +02:00
parent db500f3cae
commit 9b9ad1fd82

View File

@ -683,6 +683,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
.export_values()
;
m.def("ResetGlobalShapeProperties", [] () {
OCCGeometry::global_shape_properties.clear();
OCCGeometry::global_shape_property_indices.Clear();
});
py::class_<TopoDS_Shape> (m, "TopoDS_Shape")
.def("__str__", [] (const TopoDS_Shape & shape)