Update piratechest.py

Update to name and parameter description
This commit is contained in:
J-Waal 2023-04-13 20:24:01 +02:00
parent 8739342ee8
commit 9e11915276
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
from boxes import * from boxes import *
class Piratechest(Boxes): class PirateChest(Boxes):
"""Box with polygon lid with chest hinges.""" """Box with polygon lid with chest hinges."""
description = """Do not assemble sides before attaching the lid! description = """Do not assemble sides before attaching the lid!
@ -35,7 +35,7 @@ class Piratechest(Boxes):
self.buildArgParser("x", "y", "h", "outside") self.buildArgParser("x", "y", "h", "outside")
self.argparser.add_argument( self.argparser.add_argument(
"--n", action="store", type=int, default=5, "--n", action="store", type=int, default=5,
help="number of sides on the lid") help="number of sides on the lid. n ≥ 3")
def render(self): def render(self):