Back to index

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

Go to the source code of this file.

Namespaces

namespace  SMESH_fixation_tetra

Variables

 SMESH_fixation_tetra.compshell = SMESH_fixation.compshell
 SMESH_fixation_tetra.idcomp = SMESH_fixation.idcomp
 SMESH_fixation_tetra.geompy = SMESH_fixation.geompy
 SMESH_fixation_tetra.salome = SMESH_fixation.salome
tuple SMESH_fixation_tetra.subShellList = geompy.SubShapeAll(compshell, geompy.ShapeType["SHELL"])
tuple SMESH_fixation_tetra.subFaceList = geompy.SubShapeAll(compshell, geompy.ShapeType["FACE"])
tuple SMESH_fixation_tetra.subEdgeList = geompy.SubShapeAll(compshell, geompy.ShapeType["EDGE"])
tuple SMESH_fixation_tetra.status = geompy.CheckShape(compshell)
tuple SMESH_fixation_tetra.mesh = smesh.Mesh(compshell, "MeshcompShell")
 ---------------------------- SMESH --------------------------------------
int SMESH_fixation_tetra.numberOfSegments = 5
tuple SMESH_fixation_tetra.regular1D = mesh.Segment()
tuple SMESH_fixation_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)
tuple SMESH_fixation_tetra.mefisto2D = mesh.Triangle()
 print "-------------------------- MaxElementArea"
tuple SMESH_fixation_tetra.hypLengthFromEdges = mefisto2D.LengthFromEdges()
int SMESH_fixation_tetra.maxElementVolume = 1000
tuple SMESH_fixation_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN)
tuple SMESH_fixation_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)
tuple SMESH_fixation_tetra.ret = mesh.Compute(mesh)
tuple SMESH_fixation_tetra.log = mesh.GetLog(0)