From ca9078c0d3fece27dde31c30ef6f974b0c19a8c2 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 26 Sep 2014 14:20:35 +0000 Subject: [PATCH] netgen module fix --- nglib/netgen.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 +