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) {
block_size+fudge,
block_z,
2d);}}}}}}}}
+
module qr_black_flat(){
qr();}
module qr_black(){