From: azv Date: Tue, 30 Aug 2016 08:06:50 +0000 (+0300) Subject: Make "Platine" test case stable X-Git-Tag: V_2.5.0~112 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c26f0fa00cf3622b63ee113324fea4482bb1fa7b;p=modules%2Fshaper.git Make "Platine" test case stable --- 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)