Hopefully final try at fixing the centered option for each axis.

This commit is contained in:
Jeremy Wright 2015-07-17 17:30:16 -04:00
parent f42a63c7d1
commit 14262e744d

View File

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