From 1e698dada535d4b8f32867f8cd017a91a79edcf4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 1 Jan 2015 23:45:15 +0000 Subject: [PATCH] knifeblock: Holes refactor: rename i to j in Holes (nfc) --- knifeblock.scad | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); -- 2.30.2