mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
function to reset occ global shape properties
This commit is contained in:
parent
db500f3cae
commit
9b9ad1fd82
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user