NemaMount: Add finger holes to copy on another part

instead of using the base plate
This commit is contained in:
Florian Festi 2017-11-19 19:30:06 +01:00
parent 642212d2ce
commit 08d7a026b1
1 changed files with 7 additions and 3 deletions

View File

@ -38,6 +38,9 @@ class NemaMount(Boxes):
self.open()
self.rectangularWall(x, y, "ffef", callback=[
lambda: self.NEMA(self.size, x/2, y/2)], move="right")
self.rectangularTriangle(x, h, "fFe", num=2, move="right")
self.rectangularWall(x, h, "FFeF", callback=[
lambda:self.rectangularHole((x-holes)/2, y/2, screws, holes,
@ -46,8 +49,9 @@ class NemaMount(Boxes):
lambda:self.rectangularHole((x-holes)/2, y/2, screws, holes,
screws/2)],
move="right")
self.rectangularWall(x, y, "ffef", callback=[
lambda: self.NEMA(self.size, x/2, y/2)], move="right")
self.rectangularTriangle(x, h, "fFe", num=2)
self.moveTo(t, 0)
self.fingerHolesAt(0.5*t, t, x, 90)
self.fingerHolesAt(1.5*t+x, t, x, 90)
self.fingerHolesAt(t, 0.5*t, x, 0)
self.close()