smesh/doc/salome/examples/modifying_meshes_ex20.py

10 lines
189 B
Python
Raw Normal View History

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