From 14262e744dbeeaafcf5c5bdc7a8983a45fa82e40 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Fri, 17 Jul 2015 17:30:16 -0400 Subject: [PATCH] Hopefully final try at fixing the centered option for each axis. --- cadquery/CQ.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cadquery/CQ.py b/cadquery/CQ.py index b25a7b8..20d190c 100644 --- a/cadquery/CQ.py +++ b/cadquery/CQ.py @@ -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)