WallRollHolder: Fix side pieces

This commit is contained in:
Florian Festi 2023-02-12 15:04:37 +01:00
parent 790bc41871
commit 1ba33c8192
1 changed files with 4 additions and 2 deletions

View File

@ -53,8 +53,9 @@ class WallRollHolder(_WallMountedBox):
self.moveTo(0, self.edges["B"].margin())
self.edges["B"](h)
self.fingerHolesAt(-(a/2+3*t), self.burn, d/2, 90)
self.polyline(0, 90, d/2, (90, a/2 + 3*t))
self.fingerHolesAt(-(a/2+3*t), self.burn+self.edges["B"].endwidth(), d/2, 90)
self.polyline(0, 90, self.edges["B"].endwidth() + d/2,
(90, a/2 + 3*t))
r = a/2 + 3*t
a = math.atan2(float(d/2), (h-a-6*t))
@ -63,6 +64,7 @@ class WallRollHolder(_WallMountedBox):
self.corner(alpha, r)
self.edge(((h-2*r)**2+(d/2)**2)**0.5)
self.corner(90-alpha, r)
self.edge(self.edges["B"].startwidth())
self.corner(90)
self.move(tw, th, move)