diff --git a/nglib/netgen.py b/nglib/netgen.py index 759ebb2d..85062e3b 100644 --- a/nglib/netgen.py +++ b/nglib/netgen.py @@ -1,3 +1,4 @@ +import sys try: # Linux from libmesh import meshing @@ -7,3 +8,8 @@ except: # Windows from nglib import * +sys.modules['netgen.meshing'] = meshing +sys.modules['netgen.geom2d'] = geom2d +sys.modules['netgen.csg'] = csg +del sys +