Added glueing to OCC interface, geom.Glue() from Python

This commit is contained in:
Joachim Schöberl
2020-05-31 21:58:21 +02:00
parent ad525cbfb9
commit dc15e50956
3 changed files with 84 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
}), py::arg("filename"),
"Load OCC geometry from step, brep or iges file")
.def(NGSPickle<OCCGeometry>())
.def("Glue", &OCCGeometry::GlueGeometry)
.def("Heal",[](OCCGeometry & self, double tolerance, bool fixsmalledges, bool fixspotstripfaces, bool sewfaces, bool makesolids, bool splitpartitions)
{
self.tolerance = tolerance;