Changed where val was being called to keep the implementation cosistent with what has been done before.

This commit is contained in:
Jeremy Mack Wright 2016-04-26 20:20:18 -04:00
parent 822af6c7f5
commit 02dd0f2508
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)