Back to index

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

Go to the source code of this file.

Namespaces

namespace  ex02_cube2primitive

Variables

int ex02_cube2primitive.ox = 0
int ex02_cube2primitive.oy = 0
int ex02_cube2primitive.oz = 0
int ex02_cube2primitive.arete = 10
tuple ex02_cube2primitive.blockPoint111 = MakeVertex(ox , oy, oz)
tuple ex02_cube2primitive.blockPoint211 = MakeVertex(ox+arete, oy, oz)
tuple ex02_cube2primitive.blockPoint112 = MakeVertex(ox , oy, oz+arete)
tuple ex02_cube2primitive.blockPoint212 = MakeVertex(ox+arete, oy, oz+arete)
tuple ex02_cube2primitive.blockFace1 = MakeQuad4Vertices(blockPoint111, blockPoint211, blockPoint212, blockPoint112)
tuple ex02_cube2primitive.blockSolid11 = MakePrismVecH(blockFace1, MakeVectorDXDYDZ(0, 1, 0), arete)
tuple ex02_cube2primitive.blockSolid21 = MakeTranslation(blockSolid11, arete, 0, 0)
tuple ex02_cube2primitive.blockSolid31 = MakeTranslation(blockSolid21, arete, 0, 0)
tuple ex02_cube2primitive.blockSolid12 = MakeTranslation(blockSolid11, 0, 0, arete)
tuple ex02_cube2primitive.blockSolid22 = MakeTranslation(blockSolid12, arete, 0, 0)
tuple ex02_cube2primitive.blockSolid32 = MakeTranslation(blockSolid22, arete, 0, 0)
tuple ex02_cube2primitive.blockSolid13 = MakeTranslation(blockSolid12, 0, 0, arete)
tuple ex02_cube2primitive.blockSolid23 = MakeTranslation(blockSolid13, arete, 0, 0)
tuple ex02_cube2primitive.blockSolid33 = MakeTranslation(blockSolid23, arete, 0, 0)
tuple ex02_cube2primitive.blockSolid111 = MakeTranslation(blockSolid22, 0, arete, 0)
list ex02_cube2primitive.c_l = []
tuple ex02_cube2primitive.c_cpd = MakeCompound(c_l)
tuple ex02_cube2primitive.piece = MakeGlueFaces(c_cpd, 1.e-5)
tuple ex02_cube2primitive.piece_id = addToStudy(piece, "ex02_cube2primitive")
tuple ex02_cube2primitive.hexa = smesh.Mesh(piece, "ex02_cube2primitive:hexa")
tuple ex02_cube2primitive.algo = hexa.Segment()