From 42c35b70892d7c30d10b15ea141f3923fd9f7dd1 Mon Sep 17 00:00:00 2001 From: Bruno Agostini Date: Wed, 25 Dec 2019 09:21:15 +0100 Subject: [PATCH] Update test_cadquery.py --- tests/test_cadquery.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_cadquery.py b/tests/test_cadquery.py index b1b852b7..01562c6e 100644 --- a/tests/test_cadquery.py +++ b/tests/test_cadquery.py @@ -2142,6 +2142,7 @@ class TestCadQuery(BaseTest): def test_assembleEdges(self): # Plate with 5 sides and 2 bumps, one side is not co-planar with the other sides + # Passes an open wire to assembleEdges so that IsDone is true but Error returns 2 to test the warning functionality. edge_points = [[-7.,-7.,0.], [-3.,-10.,3.], [7.,-7.,0.], [7.,7.,0.], [-7.,7.,0.]] edge_wire = Workplane('XY').polyline([(-7.,-7.), (7.,-7.), (7.,7.), (-7.,7.)]) edge_wire = edge_wire.add(Workplane('YZ').workplane().transformed(offset=Vector(0, 0, -7), rotate=Vector(0, 45, 0)).spline([(-7.,0.), (3,-3), (7.,0.)]))