From c26f0fa00cf3622b63ee113324fea4482bb1fa7b Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 30 Aug 2016 11:06:50 +0300 Subject: [PATCH] Make "Platine" test case stable --- src/PythonAPI/examples/Platine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PythonAPI/examples/Platine.py b/src/PythonAPI/examples/Platine.py index 3e2de69b1..a21d55eed 100644 --- a/src/PythonAPI/examples/Platine.py +++ b/src/PythonAPI/examples/Platine.py @@ -66,7 +66,7 @@ def bottom_body(): geom_points = [geom.Pnt2d(*p) for p in points] left, top, v2, h2, v1, h1, right, bottom = model.addPolygon(sketch, *geom_points) - points = [(P - 20, 16 + 16 / 2), (P - 20, 16), (P - 20, 16 + 16)] + points = [(P - 20, 16 + 16 / 2), (P - 20, 16 + 16), (P - 20, 16)] points = [(p[0], -p[1]) for p in points] # as we look to back of the face center, start, end = [geom.Pnt2d(*p) for p in points] arc = sketch.addArc(center, start, end, True) -- 2.39.2