Merge branch 'reset_occ_shape_properties' into 'master'

function to reset occ global shape properties

See merge request ngsolve/netgen!646
This commit is contained in:
Schöberl, Joachim 2024-04-02 23:06:42 +02:00
commit 284024dca5

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)