From 2ef774c0a2e0bfd91dd960337fb5f9762092e626 Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Thu, 17 Sep 2020 18:20:42 +0300 Subject: [PATCH] Adjust 'idler_plate.py' model to the new behavior According to the general limitation of the selection mechanism, it is impossible to separate the coincident centers of circles/arcs if they are projected to another sketch. So, the loading of the geometric dump always selects the center of the latest edge. The 'idler_plate.py' test becomes invalid after #19990 while checking the dump to Python, because centers of arcs are taken into account now when loading the geometric dump. --- test.models/idler_plate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.models/idler_plate.py b/test.models/idler_plate.py index 5d4ec7993..e9d92a5da 100644 --- a/test.models/idler_plate.py +++ b/test.models/idler_plate.py @@ -155,7 +155,7 @@ SketchCircle_3 = Sketch_2.addCircle(-7.5, 18.75, 8.125) SketchConstraintCoincidence_48 = Sketch_2.setCoincident(SketchPoint_4.result(), SketchCircle_3.center()) SketchArc_19 = Sketch_2.addArc(model.selection("EDGE", "Sketch_1/SketchArc_9_2")) SketchConstraintEqual_1 = Sketch_2.setEqual(SketchCircle_3.results()[1], SketchArc_19.results()[1]) -SketchPoint_5 = Sketch_2.addPoint(model.selection("VERTEX", "Sketch_1/SketchCircle_1_2__cc")) +SketchPoint_5 = Sketch_2.addPoint(model.selection("VERTEX", "Sketch_1/SketchArc_3_2__cc")) SketchCircle_4 = Sketch_2.addCircle(0, 0, 8.75) SketchConstraintCoincidence_49 = Sketch_2.setCoincident(SketchPoint_5.result(), SketchCircle_4.center()) SketchConstraintRadius_12 = Sketch_2.setRadius(SketchCircle_4.results()[1], "17.5/2") -- 2.39.2