anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anExtrusionCutFt.string("CreationMethod").setValue("BySizes")
anExtrusionCutFt.real("to_size").setValue(10)
anExtrusionCutFt.real("from_size").setValue(10)
anExtrusionCutFt.selectionList("boolean_objects").append(anExtrusionResult, anExtrusionResult.shape())
anExtrusionCutFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anExtrusionFuseFt.string("CreationMethod").setValue("BySizes")
anExtrusionFuseFt.real("to_size").setValue(10)
anExtrusionFuseFt.real("from_size").setValue(10)
anExtrusionFuseFt.selectionList("boolean_objects").append(anExtrusionResult, anExtrusionResult.shape())
anExtrusionFuseFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anExtrusionSketchFt.string("CreationMethod").setValue("BySizes")
anExtrusionSketchFt.real("to_size").setValue(10)
anExtrusionSketchFt.real("from_size").setValue(10)
anExtrusionSketchFt.real("from_offset").setValue(0) #TODO: remove
anExtrusionSketchFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anExtrusionSketchFt.string("CreationMethod").setValue("ByPlanesAndOffsets")
anExtrusionSketchFt.real("to_size").setValue(0) #TODO: remove
anExtrusionSketchFt.real("from_size").setValue(0) #TODO: remove
anExtrusionSketchFt.real("from_offset").setValue(0)
anExtrusionSketchFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anRevolutionCutFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge)
anRevolutionCutFt.string("CreationMethod").setValue("ByAngles")
anRevolutionCutFt.real("to_angle").setValue(50)
anRevolutionCutFt.selectionList("boolean_objects").append(anExtrusionResult, anExtrusionResult.shape())
anRevolutionCutFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anRevolutionFuseFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge)
anRevolutionFuseFt.string("CreationMethod").setValue("ByAngles")
anRevolutionFuseFt.real("to_angle").setValue(50)
anRevolutionFuseFt.selectionList("boolean_objects").append(anExtrusionResult, anExtrusionResult.shape())
anRevolutionFuseFt.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("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