Back to index

salome-smesh  6.5.0
Variables
ex03_cube2partition Namespace Reference

Variables

int g_ox = 0
int g_oy = 0
int g_oz = 0
int g_arete = 10
int g_trim = 1000
int v_arete2 = 2
int v_arete3 = 3
tuple v_1 = MakeVertex(g_ox , g_oy , g_oz )
tuple v_2 = MakeVertex(g_ox+v_arete3, g_oy+g_arete , g_oz+v_arete3)
tuple v_3 = MakeVertex(g_ox+g_arete , g_oy+g_arete , g_oz+g_arete )
tuple v_4 = MakeVertex(g_ox+v_arete2, g_oy+v_arete2, g_oz+v_arete2)
tuple s_base = MakeBoxTwoPnt(v_1, v_2)
tuple s_haut = MakeBoxTwoPnt(v_3, v_4)
tuple p_dir1 = MakeVectorDXDYDZ(1, 0, 0)
tuple p_dir2 = MakeVectorDXDYDZ(0, 0, 1)
tuple p_dir3 = MakeVectorDXDYDZ(0, 1, 0)
list p_tools = []
tuple piece = MakePartition([s_base, s_haut], p_tools, [], [], ShapeType["SOLID"])
tuple piece_id = addToStudy(piece, "ex03_cube2partition")
tuple hexa = smesh.Mesh(piece, "ex03_cube2partition:hexa")
tuple algo = hexa.Segment()

Variable Documentation

tuple ex03_cube2partition.algo = hexa.Segment()

Definition at line 96 of file ex03_cube2partition.py.

Definition at line 42 of file ex03_cube2partition.py.

Definition at line 38 of file ex03_cube2partition.py.

Definition at line 39 of file ex03_cube2partition.py.

Definition at line 40 of file ex03_cube2partition.py.

Definition at line 44 of file ex03_cube2partition.py.

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

Definition at line 94 of file ex03_cube2partition.py.

tuple ex03_cube2partition.p_dir1 = MakeVectorDXDYDZ(1, 0, 0)

Definition at line 67 of file ex03_cube2partition.py.

tuple ex03_cube2partition.p_dir2 = MakeVectorDXDYDZ(0, 0, 1)

Definition at line 68 of file ex03_cube2partition.py.

tuple ex03_cube2partition.p_dir3 = MakeVectorDXDYDZ(0, 1, 0)

Definition at line 69 of file ex03_cube2partition.py.

Definition at line 71 of file ex03_cube2partition.py.

tuple ex03_cube2partition.piece = MakePartition([s_base, s_haut], p_tools, [], [], ShapeType["SOLID"])

Definition at line 79 of file ex03_cube2partition.py.

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

Definition at line 84 of file ex03_cube2partition.py.

tuple ex03_cube2partition.s_base = MakeBoxTwoPnt(v_1, v_2)

Definition at line 61 of file ex03_cube2partition.py.

tuple ex03_cube2partition.s_haut = MakeBoxTwoPnt(v_3, v_4)

Definition at line 62 of file ex03_cube2partition.py.

tuple ex03_cube2partition.v_1 = MakeVertex(g_ox , g_oy , g_oz )

Definition at line 52 of file ex03_cube2partition.py.

Definition at line 53 of file ex03_cube2partition.py.

Definition at line 55 of file ex03_cube2partition.py.

Definition at line 56 of file ex03_cube2partition.py.

Definition at line 49 of file ex03_cube2partition.py.

Definition at line 50 of file ex03_cube2partition.py.