import ngcore when loading netgen

This commit is contained in:
Christopher Lackner 2019-08-06 17:57:59 +02:00
parent 9e63ba0943
commit 31a9cd1bfb

View File

@ -23,6 +23,7 @@ void DLL_HEADER ExportNgOCC(py::module &m);
PYBIND11_MODULE(libngpy, ngpy)
{
py::module::import("pyngcore");
py::module meshing = ngpy.def_submodule("_meshing", "pybind meshing module");
ExportNetgenMeshing(meshing);
py::module csg = ngpy.def_submodule("_csg", "pybind csg module");