SlatwallDrillBox: Use finger holes to fix bottom in place

Otherwise all the weight of the drills is just held up by glue
This commit is contained in:
Florian Festi 2022-01-23 16:39:40 +01:00
parent b190a11cb4
commit 6e2e29e6ff
2 changed files with 9 additions and 6 deletions

View File

@ -157,13 +157,17 @@ Assembly: Start with putting the slots of the inner walls together. Then add the
else: else:
raise ValueError("Only edges h and f supported: ") raise ValueError("Only edges h and f supported: ")
self.corner(a) self.corner(a)
self.edgeCorner(edges[0], edges[1], 90) self.edgeCorner(edges[0], "e", 90)
self.corner(-90)
self.edgeCorner("e", edges[1], 90)
edges[1](eh+h) edges[1](eh+h)
self.edgeCorner(edges[1], edges[2], 90) self.edgeCorner(edges[1], edges[2], 90)
edges[2](x) edges[2](x)
self.edgeCorner(edges[2], edges[3], 90) self.edgeCorner(edges[2], edges[3], 90)
edges[3](h) edges[3](h)
self.edgeCorner(edges[3], edges[0], 90) self.edgeCorner(edges[3], "e", 90)
self.corner(-90)
self.edgeCorner("e", edges[0], 90)
self.moveTo(0, self.burn+edges[0].startwidth(), 0) self.moveTo(0, self.burn+edges[0].startwidth(), 0)

View File

@ -75,15 +75,14 @@ class SlatwallDrillBox(DrillStand):
bottom_angle = math.atan(self.extra_height / x) # radians bottom_angle = math.atan(self.extra_height / x) # radians
self.xOutsideWall(sh[0], "fFeF", move="up") self.xOutsideWall(sh[0], "hFeF", move="up")
for i in range(1, len(sy)): for i in range(1, len(sy)):
self.xWall(i, move="up") self.xWall(i, move="up")
self.xOutsideWall(sh[-1], "fCec", move="up") self.xOutsideWall(sh[-1], "hCec", move="up")
self.rectangularWall(x/math.cos(bottom_angle)-t*math.tan(bottom_angle), y, "FeFe", callback=[self.bottomCB], move="up") self.rectangularWall(x/math.cos(bottom_angle)-t*math.tan(bottom_angle), y, "fefe", callback=[self.bottomCB], move="up")
self.sideWall(move="right") self.sideWall(move="right")
for i in range(1, len(sx)): for i in range(1, len(sx)):
self.yWall(i, move="right") self.yWall(i, move="right")
self.sideWall(self.extra_height, move="right") self.sideWall(self.extra_height, move="right")