parent
e35447e536
commit
7fd4306664
|
@ -432,7 +432,7 @@ class Boxes:
|
|||
if default is None: default = "e"
|
||||
self.argparser.add_argument(
|
||||
"--top_edge", action="store",
|
||||
type=ArgparseEdgeType("efFcESikvLt"), choices=list("efFcESikvfLt"),
|
||||
type=ArgparseEdgeType("efFhcESikvLt"), choices=list("efFhcESikvfLt"),
|
||||
default=default, help="edge type for top edge")
|
||||
elif arg == "outside":
|
||||
if default is None: default = True
|
||||
|
|
|
@ -71,7 +71,7 @@ class StorageRack(Boxes):
|
|||
# outer walls
|
||||
b = self.bottom_edge
|
||||
t = self.top_edge
|
||||
self.closedtop = self.top_edge in "fF"
|
||||
self.closedtop = self.top_edge in "fFh"
|
||||
|
||||
# sides
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ class StorageShelf(_TopEdge):
|
|||
#if top_edge is t put the handle on the x walls
|
||||
if(self.top_edge=='t'):
|
||||
t1,t2,t3,t4=(t2,t1,t4,t3)
|
||||
self.closedtop = self.top_edge in "fF"
|
||||
self.closedtop = self.top_edge in "fFh"
|
||||
|
||||
# x sides
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ class TypeTray(_TopEdge):
|
|||
# outer walls
|
||||
b = self.bottom_edge
|
||||
t1, t2, t3, t4 = self.topEdges(self.top_edge)
|
||||
self.closedtop = self.top_edge in "fF"
|
||||
self.closedtop = self.top_edge in "fFh"
|
||||
|
||||
# x sides
|
||||
|
||||
|
|
|
@ -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":
|
||||
elif top_edge == "F" or top_edge == "h":
|
||||
self.rectangularWall(x, y, "ffff", move="up")
|
||||
elif top_edge == "L":
|
||||
self.rectangularWall(x, y, "nlmE", move="up")
|
||||
|
|
Loading…
Reference in New Issue