Add stackable edge with finger holes to top_edge

standard parameter and support it in drawLid()
This commit is contained in:
Florian Festi 2022-05-08 12:18:15 +02:00
parent e61cbe10b8
commit 50072a18b7
2 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ class Boxes:
if default is None: default = "e"
self.argparser.add_argument(
"--top_edge", action="store",
type=ArgparseEdgeType("efFhcESikvLt"), choices=list("efFhcESikvfLt"),
type=ArgparseEdgeType("efFhcESŠikvLt"), choices=list("efFhcESŠikvfLt"),
default=default, help="edge type for top edge")
elif arg == "outside":
if default is None: default = True

View File

@ -125,7 +125,7 @@ class _TopEdge(Boxes):
self.rectangularWall(x, y, "CCCC", bedBolts=[d2, d3, d2, d3], move="up")
elif top_edge == "f":
self.rectangularWall(x, y, "FFFF", move="up")
elif top_edge == "F" or top_edge == "h":
elif top_edge in "FhŠ":
self.rectangularWall(x, y, "ffff", move="up")
elif top_edge == "L":
self.rectangularWall(x, y, "nlmE", move="up")