Version: 6.3.1
Variables

Package GEOM_example6

Variables

int ind = 1
list circlelist = []
int x1 = 0
int y1 = 0
int z1 = 0
int x2 = 10
int y2 = 20
int z2 = 30
int x3 = 50
int y3 = 0
int z3 = 10
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)
tuple point3 = geompy.MakeVertex(x3, y3, z3)
string name3 = "point3_%d"
tuple id_pt3 = geompy.addToStudy(point3, name3)
string name = "circle%d"
tuple circle = geompy.MakeCircleCenter2Pnt(point1, point2, point3)
tuple id_circle = geompy.addToStudy(circle, name)

Variable Documentation

int GEOM_example6.x2 = 10
int GEOM_example6.y2 = 20
int GEOM_example6.z2 = 30
int GEOM_example6.x3 = 50
int GEOM_example6.z3 = 10
tuple GEOM_example6.point1 = geompy.MakeVertex(x1, y1, z1)
string GEOM_example6.name1 = "point1_%d"
tuple GEOM_example6.id_pt1 = geompy.addToStudy(point1, name1)
tuple GEOM_example6.point2 = geompy.MakeVertex(x2, y2, z2)
string GEOM_example6.name2 = "point2_%d"
tuple GEOM_example6.id_pt2 = geompy.addToStudy(point2, name2)
tuple GEOM_example6.point3 = geompy.MakeVertex(x3, y3, z3)
string GEOM_example6.name3 = "point3_%d"
tuple GEOM_example6.id_pt3 = geompy.addToStudy(point3, name3)
string GEOM_example6.name = "circle%d"
tuple GEOM_example6.circle = geompy.MakeCircleCenter2Pnt(point1, point2, point3)
tuple GEOM_example6.id_circle = geompy.addToStudy(circle, 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