SlatwallPinRow: Make it actually work

Remove finger joints from pinplate as there are not matching holes.
Move finger holes on back plate to right place.
This commit is contained in:
Florian Festi 2021-05-24 22:15:05 +02:00
parent 3153e757b1
commit be7115007d
1 changed files with 2 additions and 3 deletions

View File

@ -39,7 +39,6 @@ class PinEdge(edges.BaseEdge):
class SlatwallPinRow(Boxes):
"""Outset and angled plate to mount stuff to"""
ui_group = "Unstable"
ui_group = "SlatWall"
def __init__(self):
@ -92,7 +91,7 @@ class SlatwallPinRow(Boxes):
def backCB(self):
t = self.thickness
self.fingerHolesAt(0, 2.5*t, self.x, 0)
self.fingerHolesAt(0, 2*t, self.x, 0)
if self.angle < 0.001:
return
for i in range(1, self.hooks-1):
@ -175,7 +174,7 @@ class SlatwallPinRow(Boxes):
self.x = x = n*self.pinspacing + (n)*(n-1)/2 *self.pinspacing_increment
self.rectangularWall(x, 3*t, [p, "f", "f", "f"], move="up")
self.rectangularWall(x, 3*t, [p, "e", "f", "e"], move="up")
self.rectangularWall(x, self.h, "efef", callback=[self.frontCB],
move="up")
self.rectangularWall(x, self.h/2, "efef", callback=[self.backCB],