Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Hopefully final try at fixing the centered option for each axis.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed Jul 17, 2015
1 parent f42a63c commit 14262e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cadquery/CQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -2337,13 +2337,13 @@ def _makesphere(pnt):
(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)

Expand Down

0 comments on commit 14262e7

Please sign in to comment.