smesh/doc/salome/examples/transforming_meshes_ex05.py

11 lines
185 B
Python
Raw Normal View History

2013-02-12 20:37:44 +06:00
# Merging Nodes
import SMESH_mechanic
mesh = SMESH_mechanic.mesh
# merge nodes
Tolerance = 25.0
GroupsOfNodes = mesh.FindCoincidentNodes(Tolerance)
mesh.MergeNodes(GroupsOfNodes)