Fix Latch to have 0.1*thickness space to allow easy sliding in and out
This commit is contained in:
parent
849abbc4be
commit
d3e932b78c
8
boxes.py
8
boxes.py
|
@ -318,15 +318,15 @@ class Boxes:
|
||||||
self.corner(90, depth)
|
self.corner(90, depth)
|
||||||
|
|
||||||
def _latchHole(self, length):
|
def _latchHole(self, length):
|
||||||
self.edge(self.thickness)
|
self.edge(1.1*self.thickness)
|
||||||
self.corner(-90)
|
self.corner(-90)
|
||||||
self.edge(length/2.0-2*self.burn)
|
self.edge(length/2.0+0.2*self.thickness)
|
||||||
self.corner(-90)
|
self.corner(-90)
|
||||||
self.edge(self.thickness)
|
self.edge(1.1*self.thickness)
|
||||||
|
|
||||||
def _latchGrip(self, length):
|
def _latchGrip(self, length):
|
||||||
self.corner(90, self.thickness/4.0)
|
self.corner(90, self.thickness/4.0)
|
||||||
self.grip(length/2.0-self.thickness/2.0-2.0*self.burn, self.thickness/2.0)
|
self.grip(length/2.0-self.thickness/2.0-0.2*self.thickness, self.thickness/2.0)
|
||||||
self.corner(90, self.thickness/4.0)
|
self.corner(90, self.thickness/4.0)
|
||||||
|
|
||||||
def latch(self, length, positive=True, reverse=False):
|
def latch(self, length, positive=True, reverse=False):
|
||||||
|
|
Loading…
Reference in New Issue