From 813ed63d3e0c0c0064235f8e44250ac3733a08ed Mon Sep 17 00:00:00 2001 From: dbv Date: Tue, 14 Jun 2016 13:59:20 +0300 Subject: [PATCH] Fix Test/TestFeaturesExtrusion.py --- src/PythonAPI/Test/TestFeaturesExtrusion.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PythonAPI/Test/TestFeaturesExtrusion.py b/src/PythonAPI/Test/TestFeaturesExtrusion.py index 4b05bd88d..0405e58d8 100644 --- a/src/PythonAPI/Test/TestFeaturesExtrusion.py +++ b/src/PythonAPI/Test/TestFeaturesExtrusion.py @@ -65,12 +65,12 @@ class FeaturesAddExtrusionTestCase(FeaturesAddExtrusionFixture): base_circle = base_sketch.addCircle(0, 0, 10) # to to_plane = model.defaultPlane("XOY") - to_plane.location().setZ(10) + to_plane.origin().setZ(10) to_sketch = model.addSketch(self.part, to_plane) to_circle = to_sketch.addCircle(0, 0, 10) # from from_plane = model.defaultPlane("XOY") - from_plane.location().setZ(-10) + from_plane.origin().setZ(-10) from_sketch = model.addSketch(self.part, from_plane) from_circle = from_sketch.addCircle(0, 0, 10) @@ -132,12 +132,12 @@ class FeaturesExtrusionTestCase(FeaturesExtrusionFixture): def test_extrusion_set_planes_and_offsets(self): # to to_plane = model.defaultPlane("XOY") - to_plane.location().setZ(10) + to_plane.origin().setZ(10) to_sketch = model.addSketch(self.part, to_plane) to_circle = to_sketch.addCircle(0, 0, 10) # from from_plane = model.defaultPlane("XOY") - from_plane.location().setZ(-10) + from_plane.origin().setZ(-10) from_sketch = model.addSketch(self.part, from_plane) from_circle = from_sketch.addCircle(0, 0, 10) -- 2.39.2