Pass copy flag to OCCGeometry ctor in python

This commit is contained in:
Matthias Hochsteger
2025-10-16 20:54:36 +02:00
parent 556887be12
commit 7dee4e8e22

View File

@@ -104,7 +104,7 @@ DLL_HEADER void ExportNgOCC(py::module &m)
*/
.def(py::init([] (const TopoDS_Shape& shape, int occdim, bool copy)
{
auto geo = make_shared<OCCGeometry> (shape, occdim);
auto geo = make_shared<OCCGeometry> (shape, occdim, copy);
// ng_geometry = geo;
// geo->BuildFMap();