Back to index

salome-smesh  6.5.0
Variables
ex10_grid4geometry Namespace Reference

Variables

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

Variable Documentation

tuple ex10_grid4geometry.algo = hexa.Segment()

Definition at line 91 of file ex10_grid4geometry.py.

Definition at line 42 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.dir = MakeVectorDXDYDZ(-1, 0, 1)

Definition at line 68 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.dirUp = MakeVectorDXDYDZ(0, 1, 0)

Definition at line 58 of file ex10_grid4geometry.py.

Definition at line 46 of file ex10_grid4geometry.py.

Definition at line 43 of file ex10_grid4geometry.py.

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

Definition at line 89 of file ex10_grid4geometry.py.

Definition at line 38 of file ex10_grid4geometry.py.

Definition at line 39 of file ex10_grid4geometry.py.

Definition at line 40 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.piece = MakePartition([pieceCut4], tools, [], [], ShapeType["SOLID"])

Definition at line 74 of file ex10_grid4geometry.py.

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

Definition at line 79 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.pieceBox = MakeBoxTwoPnt(piecePoint, MakeVertex(ox+arete, oy+hauteur, oz+arete))

Definition at line 53 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.pieceCut1 = MakeCut(pieceBox , MakeCylinder(piecePoint , dirUp, rayon, hauteur))

Definition at line 60 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.pieceCut2 = MakeCut(pieceCut1, MakeCylinder(MakeVertex(ox+arete, oy, oz ), dirUp, rayon, hauteur))

Definition at line 61 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.pieceCut3 = MakeCut(pieceCut2, MakeCylinder(MakeVertex(ox , oy, oz+arete), dirUp, rayon, hauteur))

Definition at line 62 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.pieceCut4 = MakeCut(pieceCut3, MakeCylinder(MakeVertex(ox+arete, oy, oz+arete), dirUp, rayon, hauteur))

Definition at line 63 of file ex10_grid4geometry.py.

tuple ex10_grid4geometry.piecePoint = MakeVertex(ox, oy, oz)

Definition at line 51 of file ex10_grid4geometry.py.

Definition at line 44 of file ex10_grid4geometry.py.

Definition at line 70 of file ex10_grid4geometry.py.