Back to index

salome-smesh  6.5.0
Variables
ex05_hole1build Namespace Reference

Variables

int ox = 0
int oy = 0
int oz = 0
int longueur = 100
int largeur = 80
int hauteur = 50
int rayon = 10
tuple basePoint111 = MakeVertex(ox , oy, oz)
tuple basePoint211 = MakeVertex(ox+longueur, oy, oz)
tuple basePoint112 = MakeVertex(ox , oy, oz+largeur)
tuple basePoint212 = MakeVertex(ox+longueur, oy, oz+largeur)
int cx = 2
 cy = oy
int cz = 2
 ll = longueur/largeur
tuple dx = rayon/math.sqrt(1+ll)
tuple dz = rayon/math.sqrt(1+1/ll)
tuple circlePoint1 = MakeVertex(cx-dx, cy, cz-dz)
tuple circlePoint2 = MakeVertex(cx+dx, cy, cz-dz)
tuple circlePoint3 = MakeVertex(cx+dx, cy, cz+dz)
tuple circlePoint4 = MakeVertex(cx-dx, cy, cz+dz)
tuple squareEdge1 = MakeEdge(basePoint111, basePoint211)
tuple squareEdge2 = MakeEdge(basePoint211, basePoint212)
tuple squareEdge3 = MakeEdge(basePoint212, basePoint112)
tuple squareEdge4 = MakeEdge(basePoint112, basePoint111)
tuple diagEdge1 = MakeEdge(basePoint111, circlePoint1)
tuple diagEdge2 = MakeEdge(basePoint211, circlePoint2)
tuple diagEdge3 = MakeEdge(basePoint212, circlePoint3)
tuple diagEdge4 = MakeEdge(basePoint112, circlePoint4)
tuple arcEdge1 = MakeArc(circlePoint1, MakeVertex(cx , cy, cz-rayon), circlePoint2)
tuple arcEdge2 = MakeArc(circlePoint2, MakeVertex(cx+rayon, cy, cz ), circlePoint3)
tuple arcEdge3 = MakeArc(circlePoint3, MakeVertex(cx , cy, cz+rayon), circlePoint4)
tuple arcEdge4 = MakeArc(circlePoint4, MakeVertex(cx-rayon, cy, cz ), circlePoint1)
tuple baseFace1 = MakeQuad(squareEdge1, diagEdge2, arcEdge1, diagEdge1)
tuple baseFace2 = MakeQuad(squareEdge2, diagEdge3, arcEdge2, diagEdge2)
tuple baseFace3 = MakeQuad(squareEdge3, diagEdge4, arcEdge3, diagEdge3)
tuple baseFace4 = MakeQuad(squareEdge4, diagEdge1, arcEdge4, diagEdge4)
tuple baseVector = MakeVectorDXDYDZ(0, 1, 0)
tuple baseSolid1 = MakePrismVecH(baseFace1, baseVector, hauteur)
tuple baseSolid2 = MakePrismVecH(baseFace2, baseVector, hauteur)
tuple baseSolid3 = MakePrismVecH(baseFace3, baseVector, hauteur)
tuple baseSolid4 = MakePrismVecH(baseFace4, baseVector, hauteur)
list c_l = []
tuple c_cpd = MakeCompound(c_l)
tuple piece = MakeGlueFaces(c_cpd, 1.e-5)
tuple piece_id = addToStudy(piece, "ex05_hole1build")
tuple hexa = smesh.Mesh(piece, "ex05_hole1build:hexa")
tuple algo = hexa.Segment()

Variable Documentation

tuple ex05_hole1build.algo = hexa.Segment()

Definition at line 135 of file ex05_hole1build.py.

tuple ex05_hole1build.arcEdge1 = MakeArc(circlePoint1, MakeVertex(cx , cy, cz-rayon), circlePoint2)

Definition at line 85 of file ex05_hole1build.py.

tuple ex05_hole1build.arcEdge2 = MakeArc(circlePoint2, MakeVertex(cx+rayon, cy, cz ), circlePoint3)

Definition at line 86 of file ex05_hole1build.py.

tuple ex05_hole1build.arcEdge3 = MakeArc(circlePoint3, MakeVertex(cx , cy, cz+rayon), circlePoint4)

Definition at line 87 of file ex05_hole1build.py.

tuple ex05_hole1build.arcEdge4 = MakeArc(circlePoint4, MakeVertex(cx-rayon, cy, cz ), circlePoint1)

Definition at line 88 of file ex05_hole1build.py.

Definition at line 93 of file ex05_hole1build.py.

Definition at line 94 of file ex05_hole1build.py.

Definition at line 95 of file ex05_hole1build.py.

Definition at line 96 of file ex05_hole1build.py.

tuple ex05_hole1build.basePoint111 = MakeVertex(ox , oy, oz)

Definition at line 53 of file ex05_hole1build.py.

tuple ex05_hole1build.basePoint112 = MakeVertex(ox , oy, oz+largeur)

Definition at line 55 of file ex05_hole1build.py.

tuple ex05_hole1build.basePoint211 = MakeVertex(ox+longueur, oy, oz)

Definition at line 54 of file ex05_hole1build.py.

Definition at line 56 of file ex05_hole1build.py.

Definition at line 103 of file ex05_hole1build.py.

Definition at line 104 of file ex05_hole1build.py.

Definition at line 105 of file ex05_hole1build.py.

Definition at line 106 of file ex05_hole1build.py.

tuple ex05_hole1build.baseVector = MakeVectorDXDYDZ(0, 1, 0)

Definition at line 101 of file ex05_hole1build.py.

tuple ex05_hole1build.c_cpd = MakeCompound(c_l)

Definition at line 117 of file ex05_hole1build.py.

Definition at line 111 of file ex05_hole1build.py.

tuple ex05_hole1build.circlePoint1 = MakeVertex(cx-dx, cy, cz-dz)

Definition at line 67 of file ex05_hole1build.py.

tuple ex05_hole1build.circlePoint2 = MakeVertex(cx+dx, cy, cz-dz)

Definition at line 68 of file ex05_hole1build.py.

tuple ex05_hole1build.circlePoint3 = MakeVertex(cx+dx, cy, cz+dz)

Definition at line 69 of file ex05_hole1build.py.

tuple ex05_hole1build.circlePoint4 = MakeVertex(cx-dx, cy, cz+dz)

Definition at line 70 of file ex05_hole1build.py.

Definition at line 58 of file ex05_hole1build.py.

Definition at line 59 of file ex05_hole1build.py.

Definition at line 60 of file ex05_hole1build.py.

Definition at line 80 of file ex05_hole1build.py.

Definition at line 81 of file ex05_hole1build.py.

Definition at line 82 of file ex05_hole1build.py.

Definition at line 83 of file ex05_hole1build.py.

tuple ex05_hole1build.dx = rayon/math.sqrt(1+ll)

Definition at line 64 of file ex05_hole1build.py.

tuple ex05_hole1build.dz = rayon/math.sqrt(1+1/ll)

Definition at line 65 of file ex05_hole1build.py.

Definition at line 46 of file ex05_hole1build.py.

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

Definition at line 133 of file ex05_hole1build.py.

Definition at line 45 of file ex05_hole1build.py.

Definition at line 62 of file ex05_hole1build.py.

Definition at line 44 of file ex05_hole1build.py.

Definition at line 40 of file ex05_hole1build.py.

Definition at line 41 of file ex05_hole1build.py.

Definition at line 42 of file ex05_hole1build.py.

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

Definition at line 118 of file ex05_hole1build.py.

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

Definition at line 123 of file ex05_hole1build.py.

Definition at line 48 of file ex05_hole1build.py.

Definition at line 75 of file ex05_hole1build.py.

Definition at line 76 of file ex05_hole1build.py.

Definition at line 77 of file ex05_hole1build.py.

Definition at line 78 of file ex05_hole1build.py.