From: Ian Jackson Date: Thu, 1 Jan 2015 23:45:15 +0000 (+0000) Subject: knifeblock: Holes refactor: rename i to j in Holes (nfc) X-Git-Tag: filamentspool-v2-release~237 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1e698dada535d4b8f32867f8cd017a91a79edcf4;p=reprap-play.git knifeblock: Holes refactor: rename i to j in Holes (nfc) --- diff --git a/knifeblock.scad b/knifeblock.scad index 9eac44e..9a7303a 100644 --- a/knifeblock.scad +++ b/knifeblock.scad @@ -234,12 +234,12 @@ module HolesScope(){ } module Holes(){ - imin = ceil((maxx-minx)/(sqrt(3)*holepitch)); - echo("Holes X count 2 x", imin); + jmin = ceil((maxx-minx)/(sqrt(3)*holepitch)); + echo("Holes X count 2 x", jmin); intersection(){ translate([holeoffx * holepitch, holeoffy * holepitch, 0]) { - for (i=[-imin:2]) { - translate([i * sqrt(3) * holepitch, 0, 0]) { + for (j=[-jmin:2]) { + translate([j * sqrt(3) * holepitch, 0, 0]) { HoleRow(); translate([sqrt(3)/2 * holepitch, -0.5 * holepitch, 0]) HoleRow();