Back to index

salome-geom  6.5.0
Namespaces | Variables
GEOM_example.py File Reference

Go to the source code of this file.

Namespaces

namespace  GEOM_example

Variables

int GEOM_example.ind = 0
list GEOM_example.boxlist = []
int GEOM_example.x1 = 10
int GEOM_example.y1 = 0
int GEOM_example.z1 = 0
int GEOM_example.x2 = 10
int GEOM_example.y2 = 20
int GEOM_example.z2 = 30
tuple GEOM_example.point1 = geompy.MakeVertex(x1, y1, z1)
string GEOM_example.name1 = "point1_%d"
tuple GEOM_example.id_pt1 = geompy.addToStudy(point1, name1)
tuple GEOM_example.point2 = geompy.MakeVertex(x2, y2, z2)
string GEOM_example.name2 = "point2_%d"
tuple GEOM_example.id_pt2 = geompy.addToStudy(point2, name2)
string GEOM_example.name = "box%d"
tuple GEOM_example.box = geompy.MakeBoxTwoPnt(point1, point2)
tuple GEOM_example.id_box = geompy.addToStudy(box, name)