mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
netgen module for python
This commit is contained in:
parent
aa3ce9653f
commit
1b93743382
@ -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
|
||||
|
||||
|
9
nglib/netgen.py
Normal file
9
nglib/netgen.py
Normal file
@ -0,0 +1,9 @@
|
||||
try:
|
||||
# Linux
|
||||
from libmesh import meshing
|
||||
from libgeom2d import geom2d
|
||||
from libcsg import csg
|
||||
except:
|
||||
# Windows
|
||||
from nglib import *
|
||||
|
Loading…
Reference in New Issue
Block a user