mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
import ngcore when loading netgen
This commit is contained in:
parent
9e63ba0943
commit
31a9cd1bfb
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user