From f52090533d090d5974fec139215ec3e4a67a9d7c Mon Sep 17 00:00:00 2001 From: Clarisse Genrault Date: Thu, 9 Mar 2017 09:17:42 +0100 Subject: [PATCH] Fix bug on test of rotation. --- src/FeaturesPlugin/Test/TestRotation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FeaturesPlugin/Test/TestRotation.py b/src/FeaturesPlugin/Test/TestRotation.py index 3b50fa66c..175b08fdf 100644 --- a/src/FeaturesPlugin/Test/TestRotation.py +++ b/src/FeaturesPlugin/Test/TestRotation.py @@ -119,6 +119,7 @@ aRotateFt = aPart.addFeature("Rotation") assert (aRotateFt.getKind() == "Rotation") aRotateFt.selectionList("main_objects").append( anExtrusionResult, anExtrusionResult.shape()) +aRotateFt.string("CreationMethod").setValue("ByAxisAndAngle") aRotateFt.selection("axis_object").setValue(aLineSketchResult, aLineEdge) aRotateFt.real("angle").setValue(90) aRotateFt.execute() -- 2.39.2