Back to index

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

Go to the source code of this file.

Namespaces

namespace  SMESH_Partition1_tetra

Variables

float SMESH_Partition1_tetra.barier_height = 7.0
float SMESH_Partition1_tetra.barier_radius = 5.6
float SMESH_Partition1_tetra.colis_radius = 1.0
float SMESH_Partition1_tetra.colis_step = 2.0
float SMESH_Partition1_tetra.cc_width = 0.11
 SMESH_Partition1_tetra.cc_radius = colis_radius+cc_width
tuple SMESH_Partition1_tetra.colis_center = sqrt(2.0)
int SMESH_Partition1_tetra.boolean_common = 1
int SMESH_Partition1_tetra.boolean_cut = 2
int SMESH_Partition1_tetra.boolean_fuse = 3
int SMESH_Partition1_tetra.boolean_section = 4
tuple SMESH_Partition1_tetra.p0 = geompy.MakeVertex(0.,0.,0.)
tuple SMESH_Partition1_tetra.vz = geompy.MakeVectorDXDYDZ(0.,0.,1.)
tuple SMESH_Partition1_tetra.barier = geompy.MakeCylinder(p0, vz, barier_radius, barier_height)
tuple SMESH_Partition1_tetra.colis = geompy.MakeCylinder(p0, vz, colis_radius, barier_height)
tuple SMESH_Partition1_tetra.cc = geompy.MakeCylinder(p0, vz, cc_radius, barier_height)
tuple SMESH_Partition1_tetra.colis_cc = geompy.MakeCompound([colis, cc])
tuple SMESH_Partition1_tetra.colis_cc_multi = geompy.MultiRotate1D(colis_cc, vz, 4)
tuple SMESH_Partition1_tetra.Compound1 = geompy.MakeCompound([colis_cc_multi, barier])
tuple SMESH_Partition1_tetra.SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"])
tuple SMESH_Partition1_tetra.alveole = geompy.MakePartition(SubShape_theShape)
tuple SMESH_Partition1_tetra.subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"])
tuple SMESH_Partition1_tetra.subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"])
tuple SMESH_Partition1_tetra.subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"])
tuple SMESH_Partition1_tetra.subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"])
tuple SMESH_Partition1_tetra.comp1 = geompy.MakeCompound( [ subshapes[0], subshapes[1] ] )
 there are 9 sub-shapes
tuple SMESH_Partition1_tetra.comp2 = geompy.MakeCompound( [ subshapes[2], subshapes[3] ] )
tuple SMESH_Partition1_tetra.comp3 = geompy.MakeCompound( [ subshapes[4], subshapes[5] ] )
tuple SMESH_Partition1_tetra.comp4 = geompy.MakeCompound( [ subshapes[6], subshapes[7] ] )
list SMESH_Partition1_tetra.compGOs = []
tuple SMESH_Partition1_tetra.comp = geompy.MakeCompound( compGOs )
tuple SMESH_Partition1_tetra.idalveole = geompy.addToStudy(alveole, "alveole")
tuple SMESH_Partition1_tetra.status = geompy.CheckShape(alveole)
tuple SMESH_Partition1_tetra.shape_mesh = salome.IDToObject( idalveole )
tuple SMESH_Partition1_tetra.mesh = smesh.Mesh(shape_mesh, "MeshAlveole")
int SMESH_Partition1_tetra.numberOfSegments = 10
tuple SMESH_Partition1_tetra.regular1D = mesh.Segment()
tuple SMESH_Partition1_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)
float SMESH_Partition1_tetra.maxElementArea = 0.1
tuple SMESH_Partition1_tetra.mefisto2D = mesh.Triangle()
tuple SMESH_Partition1_tetra.hypArea = mefisto2D.MaxElementArea(maxElementArea)
float SMESH_Partition1_tetra.maxElementVolume = 0.5
tuple SMESH_Partition1_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN)
tuple SMESH_Partition1_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)
tuple SMESH_Partition1_tetra.ret = mesh.Compute()
tuple SMESH_Partition1_tetra.log = mesh.GetLog(0)