smesh/doc/salome/examples/modifying_meshes_ex20.py

11 lines
202 B
Python

# Cutting Quadrangles
import SMESH_mechanic
import SMESH
smesh = SMESH_mechanic.smesh
mesh = SMESH_mechanic.mesh
# cut two quadrangles: 405 and 406
mesh.QuadToTri([405, 406], SMESH.FT_MinimumAngle)