diff --git a/nglib/Makefile.am b/nglib/Makefile.am index 833b56f8..f4ebb9f3 100644 --- a/nglib/Makefile.am +++ b/nglib/Makefile.am @@ -48,4 +48,5 @@ ng_stl_LDADD = libnglib.la \ # ng_occ_SOURCES = ng_occ.cpp # ng_occ_LDADD = libnglib.la +dist_bin_SCRIPTS = netgen.py diff --git a/nglib/netgen.py b/nglib/netgen.py new file mode 100644 index 00000000..759ebb2d --- /dev/null +++ b/nglib/netgen.py @@ -0,0 +1,9 @@ +try: + # Linux + from libmesh import meshing + from libgeom2d import geom2d + from libcsg import csg +except: + # Windows + from nglib import * +