Back to index

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

Go to the source code of this file.

Namespaces

namespace  ex10_grid4geometry

Variables

int ex10_grid4geometry.ox = 0
int ex10_grid4geometry.oy = 0
int ex10_grid4geometry.oz = 0
int ex10_grid4geometry.arete = 50
int ex10_grid4geometry.hauteur = 100
int ex10_grid4geometry.rayon = 10
int ex10_grid4geometry.g_trim = 1000
tuple ex10_grid4geometry.piecePoint = MakeVertex(ox, oy, oz)
tuple ex10_grid4geometry.pieceBox = MakeBoxTwoPnt(piecePoint, MakeVertex(ox+arete, oy+hauteur, oz+arete))
tuple ex10_grid4geometry.dirUp = MakeVectorDXDYDZ(0, 1, 0)
tuple ex10_grid4geometry.pieceCut1 = MakeCut(pieceBox , MakeCylinder(piecePoint , dirUp, rayon, hauteur))
tuple ex10_grid4geometry.pieceCut2 = MakeCut(pieceCut1, MakeCylinder(MakeVertex(ox+arete, oy, oz ), dirUp, rayon, hauteur))
tuple ex10_grid4geometry.pieceCut3 = MakeCut(pieceCut2, MakeCylinder(MakeVertex(ox , oy, oz+arete), dirUp, rayon, hauteur))
tuple ex10_grid4geometry.pieceCut4 = MakeCut(pieceCut3, MakeCylinder(MakeVertex(ox+arete, oy, oz+arete), dirUp, rayon, hauteur))
tuple ex10_grid4geometry.dir = MakeVectorDXDYDZ(-1, 0, 1)
list ex10_grid4geometry.tools = []
tuple ex10_grid4geometry.piece = MakePartition([pieceCut4], tools, [], [], ShapeType["SOLID"])
tuple ex10_grid4geometry.piece_id = addToStudy(piece, "ex10_grid4geometry")
tuple ex10_grid4geometry.hexa = smesh.Mesh(piece, "ex10_grid4geometry:hexa")
tuple ex10_grid4geometry.algo = hexa.Segment()