Fix use of roundedPlate in Display and LaserClamp
Thanks to Guillaume Collic (https://github.com/gcollic) for reporting! Resolves: #248
This commit is contained in:
parent
6dff8db710
commit
1dd567657e
|
@ -41,7 +41,7 @@ class Display(Boxes):
|
|||
a = self.angle
|
||||
t = self.thickness
|
||||
|
||||
self.roundedPlate(0.7*x, x, r, "e", move="up")
|
||||
self.roundedPlate(0.7*x, x, r, "e", extend_corners=False, move="up")
|
||||
|
||||
oh = 1.2*h-2*r
|
||||
if a > 0:
|
||||
|
|
|
@ -91,6 +91,7 @@ parts sliding on each other to reduce friction.
|
|||
|
||||
self.topPart(h_max+h_extra, move="right")
|
||||
self.bottomPart(h_min, h_extra, move="right")
|
||||
self.roundedPlate(4*t, h_min+h_extra+4*t, edge="e", r=t, move="right",
|
||||
self.roundedPlate(4*t, h_min+h_extra+4*t, edge="e", r=t,
|
||||
extend_corners=False, move="right",
|
||||
callback=[lambda: self.fingerHolesAt(1*t, 2*t, h_min+h_extra)])
|
||||
self.rectangularWall(1.1*t, h_min+h_extra, "efef")
|
||||
|
|
Loading…
Reference in New Issue