netgen module for python

This commit is contained in:
Matthias Hochsteger 2014-09-26 14:06:39 +00:00
parent aa3ce9653f
commit 1b93743382
2 changed files with 10 additions and 0 deletions

View File

@ -48,4 +48,5 @@ ng_stl_LDADD = libnglib.la \
# ng_occ_SOURCES = ng_occ.cpp # ng_occ_SOURCES = ng_occ.cpp
# ng_occ_LDADD = libnglib.la # ng_occ_LDADD = libnglib.la
dist_bin_SCRIPTS = netgen.py

9
nglib/netgen.py Normal file
View File

@ -0,0 +1,9 @@
try:
# Linux
from libmesh import meshing
from libgeom2d import geom2d
from libcsg import csg
except:
# Windows
from nglib import *