Skip to content

Commit

Permalink
Renamed centered to xycentered
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-urbanczyk committed Dec 8, 2020
1 parent 604cea3 commit f7a2732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def makeUnitCube(centered=True):
return makeCube(1.0, centered)


def makeCube(size, centered=True):
if centered:
def makeCube(size, xycentered=True):
if xycentered:
return Workplane().rect(size, size).extrude(size).val()
else:
return Solid.makeBox(size, size, size)
Expand Down

0 comments on commit f7a2732

Please sign in to comment.