X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FTest%2FTestTrimEllipse.py;h=afa6bba4d0b27c4146777ceeecd682a351b02840;hb=88ee9b2b81cf93a6324336b57e30cc8a3a487499;hp=f621c2c8c7edc36dd1d955223638bfccba002336;hpb=1ec0dcac22713723af319242e9508079eb2ace46;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/Test/TestTrimEllipse.py b/src/SketchPlugin/Test/TestTrimEllipse.py index f621c2c8c..afa6bba4d 100644 --- a/src/SketchPlugin/Test/TestTrimEllipse.py +++ b/src/SketchPlugin/Test/TestTrimEllipse.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019 CEA/DEN, EDF R&D +# Copyright (C) 2019-2022 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -32,7 +32,7 @@ DOF = 11 NB_LINES = 3 NB_ELLIPSES = 1 NB_ELLIPTIC_ARCS = 0 -NB_COINCIDENCES = 5 +NB_COINCIDENCES = 6 NB_EQUALS = 0 TOLERANCE = 1.e-6 @@ -72,9 +72,10 @@ SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.startPoint() SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchEllipse_1.result()) SketchLine_2 = Sketch_1.addLine(-16.85909682653373, 35.30399198463829, 20.9032928583277, -19.27802168426675) SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_2.startPoint()) -SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchEllipse_1.result()) +SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_2.startPoint(), SketchEllipse_1.result()) +SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchEllipse_1.result()) SketchLine_3 = Sketch_1.addLine(34.69765676551338, 36.08465583643841, 35.0422024535432, -17.96612629290852) -SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchEllipse_1.result()) +SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchEllipse_1.result()) model.do() checkFeaturesQuantity(Sketch_1)