]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix bug on test of rotation.
authorClarisse Genrault <clarisse.genrault@cea.fr>
Thu, 9 Mar 2017 08:17:42 +0000 (09:17 +0100)
committerClarisse Genrault <clarisse.genrault@cea.fr>
Thu, 9 Mar 2017 08:17:42 +0000 (09:17 +0100)
src/FeaturesPlugin/Test/TestRotation.py

index 3b50fa66ce21d6cfada205a0d30a3af7c6085a7d..175b08fdf86e696e59924fa5c67084d0bc3fec12 100644 (file)
@@ -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()