WallRollHolder: Fix side pieces
This commit is contained in:
parent
790bc41871
commit
1ba33c8192
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue