From: Ian Jackson Date: Sun, 9 Jun 2013 14:53:30 +0000 (+0100) Subject: belt-slot-cut-jig: crew punch shape defined X-Git-Tag: filamentspool-v2-release~510 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=242c8f58657d6fcde1a5a1cab3f467e17c3cbb53;p=reprap-play.git belt-slot-cut-jig: crew punch shape defined --- diff --git a/belt-slot-cut-jig.scad b/belt-slot-cut-jig.scad index 3f59f97..b195df4 100644 --- a/belt-slot-cut-jig.scad +++ b/belt-slot-cut-jig.scad @@ -1,5 +1,28 @@ // -*- C -*- +crewpunch_shape = + [[ 6, [0.6, 6.0], [1.6, 12.3] ], + [ 8, [1.1, 6.2], [1.9, 12.5] ], + [ 10, [1.6, 6.5], [2.1, 12.8] ], + [ 12, [1.8, 6.6], [2.3, 12.7] ], + [ 14, [2.1, 6.8], [2.6, 13.0] ], + [ 16, [2.4, 6.9], [2.7, 13.2] ]]; + module CrewPunch(){ - + hull(){ + for(layer=crewpunch_shape){ + translate([0,0, layer[0]]){ + for(xind=[0,1]) //translate([xind?0:1,0,0]) + for(yind=[0,1]) //translate([0,yind?0.5:0,0]) + mirror([xind?1:0,0,0]) mirror([0,yind?0:1,0]){ + translate([-0.1,-0.1,-0.1]) + cube([0.1 + layer[2][xind], + 0.1 + layer[1][yind], + 0.2]); + } + } + } + } } + +CrewPunch();