Updated CadQuery library for a fix that was done to the linear extrusion in 0.17.

This commit is contained in:
Jeremy Mack Wright 2017-12-15 07:26:16 -05:00
parent 2fcc643d59
commit ec311d36d4

View File

@ -830,6 +830,8 @@ class Solid(Shape):
#make faces for the top and bottom
startFace = FreeCADPart.Face(startWires)
endFace = FreeCADPart.Face(endWires)
startFace.validate()
endFace.validate()
#collect all the faces from the sides
faceList = [startFace]
@ -876,6 +878,7 @@ class Solid(Shape):
freeCADWires.append(w.wrapped)
f = FreeCADPart.Face(freeCADWires)
f.validate()
result = f.extrude(vecNormal.wrapped)
return Shape.cast(result)
@ -912,6 +915,7 @@ class Solid(Shape):
freeCADWires.append(w.wrapped)
f = FreeCADPart.Face(freeCADWires)
f.validate()
rotateCenter = FreeCAD.Base.Vector(axisStart)
rotateAxis = FreeCAD.Base.Vector(axisEnd)