smesh/doc/salome/examples/modifying_meshes_ex20.py

11 lines
202 B
Python
Raw Normal View History

2013-02-12 20:37:44 +06:00
# Cutting Quadrangles
import SMESH_mechanic
import SMESH
2013-02-12 20:37:44 +06:00
smesh = SMESH_mechanic.smesh
mesh = SMESH_mechanic.mesh
# cut two quadrangles: 405 and 406
mesh.QuadToTri([405, 406], SMESH.FT_MinimumAngle)