mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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)
|
PYBIND11_MODULE(libngpy, ngpy)
|
||||||
{
|
{
|
||||||
|
py::module::import("pyngcore");
|
||||||
py::module meshing = ngpy.def_submodule("_meshing", "pybind meshing module");
|
py::module meshing = ngpy.def_submodule("_meshing", "pybind meshing module");
|
||||||
ExportNetgenMeshing(meshing);
|
ExportNetgenMeshing(meshing);
|
||||||
py::module csg = ngpy.def_submodule("_csg", "pybind csg module");
|
py::module csg = ngpy.def_submodule("_csg", "pybind csg module");
|
||||||
|
Loading…
Reference in New Issue
Block a user