netgen/python/geom2d.py
2014-09-10 11:17:37 +00:00

10 lines
189 B
Python

from nglib.meshing import *
from nglib.geom2d import *
geom = SplineGeometry()
geom.Load("square.in2d")
param = MeshingParameters()
param.maxh = 0.05
m1 = geom.GenerateMesh (param)