Updated CadQuery library for a fix that was done to the linear extrusion in 0.17.
This commit is contained in:
parent
2fcc643d59
commit
ec311d36d4
|
@ -830,6 +830,8 @@ class Solid(Shape):
|
||||||
#make faces for the top and bottom
|
#make faces for the top and bottom
|
||||||
startFace = FreeCADPart.Face(startWires)
|
startFace = FreeCADPart.Face(startWires)
|
||||||
endFace = FreeCADPart.Face(endWires)
|
endFace = FreeCADPart.Face(endWires)
|
||||||
|
startFace.validate()
|
||||||
|
endFace.validate()
|
||||||
|
|
||||||
#collect all the faces from the sides
|
#collect all the faces from the sides
|
||||||
faceList = [startFace]
|
faceList = [startFace]
|
||||||
|
@ -876,6 +878,7 @@ class Solid(Shape):
|
||||||
freeCADWires.append(w.wrapped)
|
freeCADWires.append(w.wrapped)
|
||||||
|
|
||||||
f = FreeCADPart.Face(freeCADWires)
|
f = FreeCADPart.Face(freeCADWires)
|
||||||
|
f.validate()
|
||||||
result = f.extrude(vecNormal.wrapped)
|
result = f.extrude(vecNormal.wrapped)
|
||||||
|
|
||||||
return Shape.cast(result)
|
return Shape.cast(result)
|
||||||
|
@ -912,6 +915,7 @@ class Solid(Shape):
|
||||||
freeCADWires.append(w.wrapped)
|
freeCADWires.append(w.wrapped)
|
||||||
|
|
||||||
f = FreeCADPart.Face(freeCADWires)
|
f = FreeCADPart.Face(freeCADWires)
|
||||||
|
f.validate()
|
||||||
|
|
||||||
rotateCenter = FreeCAD.Base.Vector(axisStart)
|
rotateCenter = FreeCAD.Base.Vector(axisStart)
|
||||||
rotateAxis = FreeCAD.Base.Vector(axisEnd)
|
rotateAxis = FreeCAD.Base.Vector(axisEnd)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user