Back to index

salome-geom  6.5.0
Variables
GEOM_Partition1 Namespace Reference

Variables

float barier_height = 7.0
float barier_radius = 5.6
float colis_radius = 1.0
float colis_step = 2.0
float cc_width = 0.11
 cc_radius = colis_radius+cc_width
tuple colis_center = sqrt(2.0)
 geom = geompy.geom
int boolean_common = 1
int boolean_cut = 2
int boolean_fuse = 3
int boolean_section = 4
tuple pnt0 = geompy.MakeVertex(0.,0.,0.)
tuple vecz = geompy.MakeVectorDXDYDZ(0.,0.,1.)
tuple barier
tuple colis = geompy.MakeCylinder(pnt0, vecz, colis_radius, barier_height)
tuple cc = geompy.MakeCylinder(pnt0, vecz, cc_radius, barier_height)
tuple colis_cc = geompy.MakeCompound([colis, cc])
tuple colis_cc_multi = geompy.MultiRotate1D(colis_cc, vecz, 4)
tuple Compound1 = geompy.MakeCompound([colis_cc_multi, barier])
tuple SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"])
tuple alveole = geompy.MakePartition(SubShape_theShape)
tuple subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"])
tuple comp1 = geompy.MakeCompound([subshapes[0], subshapes[1]])
 there are 9 sub-shapes
tuple comp2 = geompy.MakeCompound([subshapes[2], subshapes[3]])
tuple comp3 = geompy.MakeCompound([subshapes[4], subshapes[5]])
tuple comp4 = geompy.MakeCompound([subshapes[6], subshapes[7]])
list compGOs = []
tuple comp = geompy.MakeCompound(compGOs)

Variable Documentation

tuple GEOM_Partition1.alveole = geompy.MakePartition(SubShape_theShape)

Definition at line 81 of file GEOM_Partition1.py.

Initial value:
00001 geompy.MakeCylinder(
00002     pnt0,
00003     vecz,
00004     barier_radius,
00005     barier_height)

Definition at line 59 of file GEOM_Partition1.py.

Definition at line 32 of file GEOM_Partition1.py.

Definition at line 33 of file GEOM_Partition1.py.

Definition at line 49 of file GEOM_Partition1.py.

Definition at line 50 of file GEOM_Partition1.py.

Definition at line 51 of file GEOM_Partition1.py.

Definition at line 52 of file GEOM_Partition1.py.

tuple GEOM_Partition1.cc = geompy.MakeCylinder(pnt0, vecz, cc_radius, barier_height)

Definition at line 69 of file GEOM_Partition1.py.

Definition at line 40 of file GEOM_Partition1.py.

Definition at line 36 of file GEOM_Partition1.py.

tuple GEOM_Partition1.colis = geompy.MakeCylinder(pnt0, vecz, colis_radius, barier_height)

Definition at line 67 of file GEOM_Partition1.py.

tuple GEOM_Partition1.colis_cc = geompy.MakeCompound([colis, cc])

Definition at line 71 of file GEOM_Partition1.py.

tuple GEOM_Partition1.colis_cc_multi = geompy.MultiRotate1D(colis_cc, vecz, 4)

Definition at line 75 of file GEOM_Partition1.py.

tuple GEOM_Partition1.colis_center = sqrt(2.0)

Definition at line 42 of file GEOM_Partition1.py.

Definition at line 34 of file GEOM_Partition1.py.

Definition at line 35 of file GEOM_Partition1.py.

tuple GEOM_Partition1.comp = geompy.MakeCompound(compGOs)

Definition at line 100 of file GEOM_Partition1.py.

tuple GEOM_Partition1.comp1 = geompy.MakeCompound([subshapes[0], subshapes[1]])

there are 9 sub-shapes

Definition at line 90 of file GEOM_Partition1.py.

tuple GEOM_Partition1.comp2 = geompy.MakeCompound([subshapes[2], subshapes[3]])

Definition at line 91 of file GEOM_Partition1.py.

tuple GEOM_Partition1.comp3 = geompy.MakeCompound([subshapes[4], subshapes[5]])

Definition at line 92 of file GEOM_Partition1.py.

tuple GEOM_Partition1.comp4 = geompy.MakeCompound([subshapes[6], subshapes[7]])

Definition at line 93 of file GEOM_Partition1.py.

Definition at line 95 of file GEOM_Partition1.py.

tuple GEOM_Partition1.Compound1 = geompy.MakeCompound([colis_cc_multi, barier])

Definition at line 79 of file GEOM_Partition1.py.

Definition at line 47 of file GEOM_Partition1.py.

tuple GEOM_Partition1.pnt0 = geompy.MakeVertex(0.,0.,0.)

Definition at line 56 of file GEOM_Partition1.py.

tuple GEOM_Partition1.SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"])

Definition at line 80 of file GEOM_Partition1.py.

tuple GEOM_Partition1.subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"])

Definition at line 86 of file GEOM_Partition1.py.

tuple GEOM_Partition1.vecz = geompy.MakeVectorDXDYDZ(0.,0.,1.)

Definition at line 57 of file GEOM_Partition1.py.