From: daniel watson Date: Sun, 15 Dec 2013 07:51:48 +0000 (-0800) Subject: flip qr code over so more apps can read it X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=commitdiff_plain;h=54f7d4966cc98823d05fb0a9341cc8d562f37478 flip qr code over so more apps can read it --- diff --git a/3d-printables/qr.scad b/3d-printables/qr.scad index 2e664f7..5be39cc 100644 --- a/3d-printables/qr.scad +++ b/3d-printables/qr.scad @@ -49,8 +49,8 @@ module qr(){ else { cube([x, y, z*bit]);}} - scale([1, 1, 1]) translate([-block_size*matrix_cols/2, block_size*(matrix_rows/2-1), 0]) { - translate([0, 0, 1]) { + rotate([180, 0, 0]){ + translate([-block_size*matrix_cols/2, block_size*(matrix_rows/2-1), 0]){ for(i = [0 : matrix_rows-1]) { for(j = [0 : matrix_cols-1]) { if(matrix[i][j] != 0) { @@ -72,6 +72,7 @@ module qr(){ block_size+fudge, block_z, 2d);}}}}}}}} + module qr_black_flat(){ qr();} module qr_black(){