netgen/python/NgOCC.py
Gerhard Kitzler f992503499 Fix NgOCC.py
2017-06-30 09:32:12 +02:00

11 lines
318 B
Python

from netgen.libngpy._NgOCC import *
from netgen.libngpy._meshing import MeshingParameters
def NgOCC_meshing_func (geom, **args):
if "mp" in args:
return GenerateMesh (geom, args["mp"])
else:
return GenerateMesh (geom, MeshingParameters (**args))
OCCGeometry.GenerateMesh = NgOCC_meshing_func