Skip to content
Snippets Groups Projects
heal.py 290 B
Newer Older
Christophe Geuzaine's avatar
Christophe Geuzaine committed
import os
path = os.path.dirname(os.path.abspath(__file__))
gmsh.open(os.path.join(path, 'as1-tu-203.stp'))

# get all model entities
ent = gmsh.model.getEntities()

gmsh.model.occ.healShapes()

gmsh.model.occ.synchronize()

gmsh.finalize()