Updating the CadQuery library.

This commit is contained in:
Jeremy Wright 2015-07-17 17:31:08 -04:00
parent 6323b21881
commit 56dcfe239b

View File

@ -2337,13 +2337,13 @@ class Workplane(CQ):
(xp, yp, zp) = pnt.toTuple() (xp, yp, zp) = pnt.toTuple()
if not centered[0]: if not centered[0]:
xp += radius * direct.x xp += radius
if not centered[1]: if not centered[1]:
yp += radius * direct.y yp += radius
if not centered[2]: if not centered[2]:
zp += radius * direct.z zp += radius
return Solid.makeSphere(radius, Vector(xp, yp, zp), direct, angle1, angle2, angle3) return Solid.makeSphere(radius, Vector(xp, yp, zp), direct, angle1, angle2, angle3)