mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
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:
commit
284024dca5
@ -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