Back to index

salome-smesh  6.5.0
Namespaces | Functions | Variables
ex16_cyl2complementary.py File Reference

Go to the source code of this file.

Namespaces

namespace  ex16_cyl2complementary

Functions

def ex16_cyl2complementary.local

Variables

int ex16_cyl2complementary.gx = 0
int ex16_cyl2complementary.gy = 0
int ex16_cyl2complementary.gz = 0
int ex16_cyl2complementary.g_dx = 250
int ex16_cyl2complementary.g_dy = 200
int ex16_cyl2complementary.g_dz = 150
int ex16_cyl2complementary.g_rayonGrand = 70
int ex16_cyl2complementary.g_rayonPetit = 50
int ex16_cyl2complementary.g_trim = 1000
tuple ex16_cyl2complementary.p_boite = MakeBox(gx-g_dx, gy-g_dy, gz-g_dz, gx+g_dx, gy+g_dy, gz+g_dz)
tuple ex16_cyl2complementary.g_base = MakeVertex(gx-g_dx, gy, gz)
tuple ex16_cyl2complementary.g_dir = MakeVectorDXDYDZ(1, 0, 0)
tuple ex16_cyl2complementary.g_cyl = MakeCylinder(g_base, g_dir, g_rayonGrand, g_dx*2)
tuple ex16_cyl2complementary.b_boite = MakeCut(p_boite , g_cyl)
tuple ex16_cyl2complementary.p_base = MakeVertex(gx, gy, gz)
list ex16_cyl2complementary.p_tools = []
tuple ex16_cyl2complementary.p_piece = MakePartition([b_boite], p_tools, [], [], ShapeType["SOLID"])
tuple ex16_cyl2complementary.c_cyl = MakeCylinder(p_base, MakeVectorDXDYDZ(0, 0, 1), g_rayonPetit, g_dz)
tuple ex16_cyl2complementary.d_element = SubShapeAllSorted(p_piece, ShapeType["SOLID"])
tuple ex16_cyl2complementary.piece = RemoveExtraEdges(MakeCompound(d_element))
tuple ex16_cyl2complementary.piece_id = addToStudy(piece, "ex16_cyl2complementary")
tuple ex16_cyl2complementary.hexa = smesh.Mesh(piece, "ex16_cyl2complementary:hexa")
tuple ex16_cyl2complementary.algo = hexa.Segment()