anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anRevolutionSketchFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge)
anRevolutionSketchFt.string("CreationMethod").setValue("ByAngles")
anRevolutionSketchFt.real("to_angle").setValue(50)
anRevolutionSketchFt.real("from_offset").setValue(0) #TODO: remove
anRevolutionSketchFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anRevolutionSketchFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge)
anRevolutionSketchFt.string("CreationMethod").setValue("ByPlanesAndOffsets")
anRevolutionSketchFt.real("to_angle").setValue(0) #TODO: remove
anRevolutionSketchFt.real("from_offset").setValue(0)
anRevolutionSketchFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results