- logging.info("start ", minRad, allonge, rayTore)
-
- Vertex_1 = geompy.MakeVertex( minRad, 0, 0)
- Vertex_2 = geompy.MakeVertex(-minRad, 0, 0)
- Vertex_3 = geompy.MakeRotation(Vertex_1, OZ, 45*math.pi/180.0)
- Arc_1 = geompy.MakeArc(Vertex_1, Vertex_2, Vertex_3)
- generatrice = geompy.MakeScaleAlongAxes(Arc_1, O, 1, allonge, 1)
-
- #geompy.addToStudy( Vertex_1, 'Vertex_1' )
- #geompy.addToStudy( Vertex_2, 'Vertex_2' )
- #geompy.addToStudy( Vertex_3, 'Vertex_3' )
- #geompy.addToStudy( Arc_1, 'Arc_1' )
- #geompy.addToStudy( generatrice, 'generatrice' )
+ logging.info("start %s %s %s", minRad, allonge, rayTore)
+
+ vertex_1 = geompy.MakeVertex( minRad, 0., 0.)
+ vertex_2 = geompy.MakeVertex(-minRad, 0., 0.)
+ vertex_3 = geompy.Makerotation(vertex_1, OZ, 45.*math.pi/180.0)
+ arc = geompy.MakeArc(vertex_1, vertex_2, vertex_3)
+ generatrice = geompy.MakeScaleAlongAxes(arc, O, 1, allonge, 1)
+
+ #geomPublish(initLog.debug, vertex_1, 'vertex_1' )
+ #geomPublish(initLog.debug, vertex_2, 'vertex_2' )
+ #geomPublish(initLog.debug, vertex_3, 'vertex_3' )
+ #geomPublish(initLog.debug, arc, 'arc' )
+ #geomPublish(initLog.debug, generatrice, 'generatrice' )