Allow finger joints as top edge

Add matching lid to Box2
This commit is contained in:
Florian Festi 2016-10-02 20:47:02 +02:00
parent 0764a3660f
commit 586aeb7fb3
2 changed files with 3 additions and 1 deletions

View File

@ -288,7 +288,7 @@ class Boxes:
elif arg == "top_edge":
self.argparser.add_argument(
"--top_edge", action="store",
type=ArgparseEdgeType("ecESik"), choices=list("ecESik"),
type=ArgparseEdgeType("ecESikf"), choices=list("ecESikf"),
default="e", help="edge type for top edge")
elif arg == "outside":
self.argparser.add_argument(

View File

@ -123,6 +123,8 @@ class Box2(Boxes):
if self.top_edge == "c":
self.rectangularWall(x, y, "CCCC", bedBolts=[d2, d3, d2, d3], move="up")
elif self.top_edge == "f":
self.rectangularWall(x, y, "FFFF", move="up")
elif self.top_edge == "i":
self.rectangularWall(x, y, "IEJe", move="up")
elif self.top_edge == "k":