Update piratechest.py
Update to name and parameter description
This commit is contained in:
parent
8739342ee8
commit
9e11915276
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue