]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[PythonAPI] small fix
authorRenaud NEDELEC <renaud.nedelec@opencascade.com>
Wed, 4 Nov 2015 11:59:48 +0000 (12:59 +0100)
committerRenaud NEDELEC <renaud.nedelec@opencascade.com>
Wed, 4 Nov 2015 11:59:48 +0000 (12:59 +0100)
src/PythonAPI/CMakeLists.txt
src/PythonAPI/model/sketcher/sketch.py

index 376853dfbb10d196618d6c877b61713f3820e20b..486a181750ebbcfc8045a30e70cd3a205e3a3ccd 100644 (file)
@@ -22,6 +22,7 @@ ADD_UNIT_TESTS(
   TestSketcherSetPerpendicular.py
   TestSketcherSetHorizontal.py
   TestSketcherSetVertical.py
+  TestSketcherSetRigid.py
   TestSketcherSetLength.py
   TestSketcherSetRadius.py
   TestSketcherSetAngle.py
index 98bf39b84a2ec97766565d90b7fa8e90e3c56c0c..9e92a8e26e234ee1c22068b6b7e2940bdb485957 100644 (file)
@@ -247,8 +247,8 @@ class Sketch(Interface):
         filleting radius."""
         constraint = self._feature.addFeature("SketchConstraintFillet")
         constraint.data().refattr("ConstraintEntityA").setObject(line_1)
-        constraint.data().reflist("ConstraintEntityB").clear
-        constraint.data().reflist("ConstraintEntityB").append(line_1)
+        constraint.data().reflist("ConstraintEntityB").clear()
+        constraint.data().reflist("ConstraintEntityB").append(line_2)
         self.execute()
         return constraint