Back to index

salome-smesh  6.5.0
Variables
ex02_cube2primitive Namespace Reference

Variables

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

Variable Documentation

tuple ex02_cube2primitive.algo = hexa.Segment()

Definition at line 109 of file ex02_cube2primitive.py.

Definition at line 42 of file ex02_cube2primitive.py.

Definition at line 55 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockPoint111 = MakeVertex(ox , oy, oz)

Definition at line 47 of file ex02_cube2primitive.py.

Definition at line 49 of file ex02_cube2primitive.py.

Definition at line 48 of file ex02_cube2primitive.py.

Definition at line 50 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid11 = MakePrismVecH(blockFace1, MakeVectorDXDYDZ(0, 1, 0), arete)

Definition at line 57 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid111 = MakeTranslation(blockSolid22, 0, arete, 0)

Definition at line 73 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid12 = MakeTranslation(blockSolid11, 0, 0, arete)

Definition at line 65 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid13 = MakeTranslation(blockSolid12, 0, 0, arete)

Definition at line 69 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid21 = MakeTranslation(blockSolid11, arete, 0, 0)

Definition at line 62 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid22 = MakeTranslation(blockSolid12, arete, 0, 0)

Definition at line 66 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid23 = MakeTranslation(blockSolid13, arete, 0, 0)

Definition at line 70 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid31 = MakeTranslation(blockSolid21, arete, 0, 0)

Definition at line 63 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid32 = MakeTranslation(blockSolid22, arete, 0, 0)

Definition at line 67 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.blockSolid33 = MakeTranslation(blockSolid23, arete, 0, 0)

Definition at line 71 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.c_cpd = MakeCompound(c_l)

Definition at line 90 of file ex02_cube2primitive.py.

Definition at line 78 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.hexa = smesh.Mesh(piece, "ex02_cube2primitive:hexa")

Definition at line 107 of file ex02_cube2primitive.py.

Definition at line 38 of file ex02_cube2primitive.py.

Definition at line 39 of file ex02_cube2primitive.py.

Definition at line 40 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.piece = MakeGlueFaces(c_cpd, 1.e-5)

Definition at line 92 of file ex02_cube2primitive.py.

tuple ex02_cube2primitive.piece_id = addToStudy(piece, "ex02_cube2primitive")

Definition at line 97 of file ex02_cube2primitive.py.