diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 04d00d10..b4c3f8d3 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -687,7 +687,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) .def(py::init<>()) .def("__init__", [](MP *instance, double maxh, bool quad_dominated, int optsteps2d, int optsteps3d, - MESHING_STEP perfstepsend, int only3D_domain) + MESHING_STEP perfstepsend, int only3D_domain, const string & meshsizefilename) { new (instance) MeshingParameters; instance->maxh = maxh; @@ -696,6 +696,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) instance->optsteps3d = optsteps3d; instance->only3D_domain_nr = only3D_domain; instance->perfstepsend = perfstepsend; + instance->meshsizefilename = meshsizefilename; }, py::arg("maxh")=1000, py::arg("quad_dominated")=false, @@ -703,6 +704,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) py::arg("optsteps3d") = 3, py::arg("perfstepsend") = MESHCONST_OPTVOLUME, py::arg("only3D_domain") = 0, + py::arg("meshsizefilename") = "", "create meshing parameters" ) .def("__str__", &ToString)