FEM: gmsh tool, add CoherenceMesh option to remove duplicate vertices, set default to true

This commit is contained in:
Bernd Hahnebach
2017-06-26 21:26:13 +01:00
committed by wmayer
parent 4b2c5f51e4
commit 49dc28c54c
2 changed files with 18 additions and 1 deletions

View File

@@ -78,6 +78,12 @@ class _FemMeshGmsh():
obj.addProperty("App::PropertyBool", "RecombineAll", "FEM GMSH Mesh Params", "Apply recombination algorithm to all surfaces")
obj.RecombineAll = False
obj.addProperty("App::PropertyBool", "CoherenceMesh", "FEM GMSH Mesh Params", "Removes all duplicate mesh vertices")
obj.CoherenceMesh = True
obj.addProperty("App::PropertyLength", "GeometryTolerance", "FEM GMSH Mesh Params", "Gemetrical Tolerance (0.0 = GMSH std = 1e-08 mm)")
obj.GeometryTolerance = 1e-06
obj.addProperty("App::PropertyEnumeration", "Algorithm2D", "FEM GMSH Mesh Params", "mesh algorithm 2D")
obj.Algorithm2D = _FemMeshGmsh.known_mesh_algorithm_2D
obj.Algorithm2D = 'Automatic' # ?