From 02dd0f2508c702f2717ffe94373873d1b6dc5445 Mon Sep 17 00:00:00 2001 From: Jeremy Mack Wright Date: Tue, 26 Apr 2016 20:20:18 -0400 Subject: [PATCH] Changed where val was being called to keep the implementation cosistent with what has been done before. --- cadquery/cq.py | 2 +- cadquery/freecad_impl/shapes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cadquery/cq.py b/cadquery/cq.py index 0bf1548..2ac9d7e 100644 --- a/cadquery/cq.py +++ b/cadquery/cq.py @@ -2353,7 +2353,7 @@ class Workplane(CQ): toFuse = [] for ws in wireSets: - thisObj = Solid.sweep(ws[0], ws[1:], path, makeSolid, isFrenet) + thisObj = Solid.sweep(ws[0], ws[1:], path.val(), makeSolid, isFrenet) toFuse.append(thisObj) return Compound.makeCompound(toFuse) diff --git a/cadquery/freecad_impl/shapes.py b/cadquery/freecad_impl/shapes.py index e486709..4cec80a 100644 --- a/cadquery/freecad_impl/shapes.py +++ b/cadquery/freecad_impl/shapes.py @@ -922,7 +922,7 @@ class Solid(Shape): freeCADWires.append(w.wrapped) # f = FreeCADPart.Face(freeCADWires) - wire = FreeCADPart.Wire([path.val().wrapped]) + wire = FreeCADPart.Wire([path.wrapped]) result = wire.makePipeShell(freeCADWires, makeSolid, isFrenet) return Shape.cast(result)