From 31a9cd1bfbccc26726f6290bfe07bec97c1cd641 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Tue, 6 Aug 2019 17:57:59 +0200 Subject: [PATCH] import ngcore when loading netgen --- ng/netgenpy.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ng/netgenpy.cpp b/ng/netgenpy.cpp index a4e7a8d1..d9d8a5c2 100644 --- a/ng/netgenpy.cpp +++ b/ng/netgenpy.cpp @@ -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");