From 54f7d4966cc98823d05fb0a9341cc8d562f37478 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Sat, 14 Dec 2013 23:51:48 -0800 Subject: [PATCH] flip qr code over so more apps can read it --- 3d-printables/qr.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(){ -- 2.30.2