Back to index

salome-smesh  6.5.0
Variables
ex09_grid4build Namespace Reference

Variables

int ox = 0
int oy = 0
int oz = 0
int arete = 50
int hauteur = 100
int rayon = 10
int demi = 2
tuple r3 = demi*math.sqrt(3)
tuple piecePoint111 = MakeVertex(ox+rayon , oy, oz)
tuple piecePoint211 = MakeVertex(ox+arete-rayon, oy, oz)
tuple piecePoint112 = MakeVertex(ox , oy, oz+rayon)
tuple piecePoint212 = MakeVertex(ox+arete , oy, oz+rayon)
tuple piecePoint113 = MakeVertex(ox , oy, oz+arete-rayon)
tuple piecePoint213 = MakeVertex(ox+arete , oy, oz+arete-rayon)
tuple piecePoint114 = MakeVertex(ox+rayon , oy, oz+arete)
tuple piecePoint214 = MakeVertex(ox+arete-rayon, oy, oz+arete)
tuple pieceCenter1 = MakeVertex(ox , oy, oz)
tuple pieceCenter2 = MakeVertex(ox+arete , oy, oz)
tuple pieceCenter3 = MakeVertex(ox , oy, oz+arete)
tuple pieceCenter4 = MakeVertex(ox+arete , oy, oz+arete)
tuple piecePass1 = MakeVertex(ox+demi , oy, oz+r3)
tuple piecePass2 = MakeVertex(ox+arete-demi , oy, oz+r3)
tuple piecePass3 = MakeVertex(ox+arete-demi , oy, oz+arete-r3)
tuple piecePass4 = MakeVertex(ox+demi , oy, oz+arete-r3)
tuple pieceEdgeSquare1 = MakeEdge(piecePoint111, piecePoint211)
tuple pieceEdgeSquare2 = MakeEdge(piecePoint114, piecePoint214)
tuple pieceEdgeSquare3 = MakeEdge(piecePoint112, piecePoint113)
tuple pieceEdgeSquare4 = MakeEdge(piecePoint212, piecePoint213)
tuple pieceEdgeDiagonal1 = MakeEdge(piecePoint111, piecePoint213)
tuple pieceEdgeDiagonal2 = MakeEdge(piecePoint112, piecePoint214)
tuple pieceEdgeArc1 = MakeArc(piecePoint111, piecePass1, piecePoint112)
tuple pieceEdgeArc2 = MakeArc(piecePoint211, piecePass2, piecePoint212)
tuple pieceEdgeArc3 = MakeArc(piecePoint213, piecePass3, piecePoint214)
tuple pieceEdgeArc4 = MakeArc(piecePoint113, piecePass4, piecePoint114)
tuple pieceFace1 = MakeQuad(pieceEdgeSquare1, pieceEdgeArc2, pieceEdgeSquare4, pieceEdgeDiagonal1)
tuple pieceFace2 = MakeQuad(pieceEdgeSquare2, pieceEdgeArc4, pieceEdgeSquare3, pieceEdgeDiagonal2)
tuple pieceFace3 = MakeQuad(pieceEdgeArc1, pieceEdgeDiagonal1, pieceEdgeArc3, pieceEdgeDiagonal2)
tuple pieceVector = MakeVectorDXDYDZ(0, 1, 0)
tuple pieceSolid1 = MakePrismVecH(pieceFace1, pieceVector, hauteur)
tuple pieceSolid2 = MakePrismVecH(pieceFace2, pieceVector, hauteur)
tuple pieceSolid3 = MakePrismVecH(pieceFace3, pieceVector, hauteur)
tuple c_cpd = MakeCompound([pieceSolid1, pieceSolid2, pieceSolid3])
tuple piece = MakeGlueFaces(c_cpd, 1.e-5)
tuple piece_id = addToStudy(piece, "ex09_grid4build")
tuple hexa = smesh.Mesh(piece, "ex09_grid4build:hexa")
tuple algo = hexa.Segment()

Variable Documentation

tuple ex09_grid4build.algo = hexa.Segment()

Definition at line 129 of file ex09_grid4build.py.

Definition at line 44 of file ex09_grid4build.py.

Definition at line 110 of file ex09_grid4build.py.

Definition at line 49 of file ex09_grid4build.py.

Definition at line 45 of file ex09_grid4build.py.

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

Definition at line 127 of file ex09_grid4build.py.

Definition at line 40 of file ex09_grid4build.py.

Definition at line 41 of file ex09_grid4build.py.

Definition at line 42 of file ex09_grid4build.py.

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

Definition at line 112 of file ex09_grid4build.py.

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

Definition at line 117 of file ex09_grid4build.py.

tuple ex09_grid4build.pieceCenter1 = MakeVertex(ox , oy, oz)

Definition at line 64 of file ex09_grid4build.py.

tuple ex09_grid4build.pieceCenter2 = MakeVertex(ox+arete , oy, oz)

Definition at line 65 of file ex09_grid4build.py.

tuple ex09_grid4build.pieceCenter3 = MakeVertex(ox , oy, oz+arete)

Definition at line 66 of file ex09_grid4build.py.

tuple ex09_grid4build.pieceCenter4 = MakeVertex(ox+arete , oy, oz+arete)

Definition at line 67 of file ex09_grid4build.py.

Definition at line 85 of file ex09_grid4build.py.

Definition at line 86 of file ex09_grid4build.py.

Definition at line 87 of file ex09_grid4build.py.

Definition at line 88 of file ex09_grid4build.py.

Definition at line 82 of file ex09_grid4build.py.

Definition at line 83 of file ex09_grid4build.py.

Definition at line 77 of file ex09_grid4build.py.

Definition at line 78 of file ex09_grid4build.py.

Definition at line 79 of file ex09_grid4build.py.

Definition at line 80 of file ex09_grid4build.py.

Definition at line 93 of file ex09_grid4build.py.

Definition at line 94 of file ex09_grid4build.py.

Definition at line 96 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePass1 = MakeVertex(ox+demi , oy, oz+r3)

Definition at line 69 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePass2 = MakeVertex(ox+arete-demi , oy, oz+r3)

Definition at line 70 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePass3 = MakeVertex(ox+arete-demi , oy, oz+arete-r3)

Definition at line 71 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePass4 = MakeVertex(ox+demi , oy, oz+arete-r3)

Definition at line 72 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePoint111 = MakeVertex(ox+rayon , oy, oz)

Definition at line 55 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePoint112 = MakeVertex(ox , oy, oz+rayon)

Definition at line 57 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePoint113 = MakeVertex(ox , oy, oz+arete-rayon)

Definition at line 59 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePoint114 = MakeVertex(ox+rayon , oy, oz+arete)

Definition at line 61 of file ex09_grid4build.py.

Definition at line 56 of file ex09_grid4build.py.

tuple ex09_grid4build.piecePoint212 = MakeVertex(ox+arete , oy, oz+rayon)

Definition at line 58 of file ex09_grid4build.py.

Definition at line 60 of file ex09_grid4build.py.

Definition at line 62 of file ex09_grid4build.py.

Definition at line 103 of file ex09_grid4build.py.

Definition at line 104 of file ex09_grid4build.py.

Definition at line 105 of file ex09_grid4build.py.

tuple ex09_grid4build.pieceVector = MakeVectorDXDYDZ(0, 1, 0)

Definition at line 101 of file ex09_grid4build.py.

tuple ex09_grid4build.r3 = demi*math.sqrt(3)

Definition at line 50 of file ex09_grid4build.py.

Definition at line 47 of file ex09_grid4build.py.