Version: 6.3.1
Variables

Package GEOM_example

Variables

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

Variable Documentation

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)
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS