Back to index

salome-smesh  6.5.0
Namespaces | Variables
SMESH_freebord.py File Reference

Go to the source code of this file.

Namespaces

namespace  SMESH_freebord

Variables

tuple SMESH_freebord.box = geompy.MakeBox(0., 0., 0., 10., 20., 30.)
tuple SMESH_freebord.subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
list SMESH_freebord.FaceList = []
tuple SMESH_freebord.aComp = geompy.MakeCompound( FaceList )
tuple SMESH_freebord.aBox = geompy.Sew( aComp, 1. )
tuple SMESH_freebord.idbox = geompy.addToStudy( aBox, "box" )
tuple SMESH_freebord.mesh = smesh.Mesh(aBox, "Mesh_freebord")
tuple SMESH_freebord.algoReg = mesh.Segment()
tuple SMESH_freebord.hypNbSeg = algoReg.NumberOfSegments(5)
tuple SMESH_freebord.algoMef = mesh.Triangle()
tuple SMESH_freebord.hypArea = algoMef.MaxElementArea(20)
tuple SMESH_freebord.aCriterion = smesh.GetCriterion(smesh.EDGE, smesh.FT_FreeEdges)
tuple SMESH_freebord.aGroup = mesh.MakeGroupByCriterion("Free edges", aCriterion)
tuple SMESH_freebord.anIds = aGroup.GetIDs()