Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Changed where val was being called to keep the implementation cosiste…
Browse files Browse the repository at this point in the history
…nt with what has been done before.
  • Loading branch information
jmwright committed Apr 27, 2016
1 parent 822af6c commit 02dd0f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cadquery/cq.py
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,7 @@ def _sweep(self, path, makeSolid=True, isFrenet=False):

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)
Expand Down
2 changes: 1 addition & 1 deletion cadquery/freecad_impl/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def sweep(cls, outerWire, innerWires, path, makeSolid=True, isFrenet=False):
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)
Expand Down

0 comments on commit 02dd0f2

Please sign in to comment.