projects
/
challenge-bot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17891d4
)
flip qr code over so more apps can read it
author
daniel watson
<ozzloy@gmail.com>
Sun, 15 Dec 2013 07:51:48 +0000
(23:51 -0800)
committer
daniel watson
<ozzloy@gmail.com>
Sun, 15 Dec 2013 07:51:48 +0000
(23:51 -0800)
3d-printables/qr.scad
patch
|
blob
|
blame
|
history
diff --git
a/3d-printables/qr.scad
b/3d-printables/qr.scad
index 2e664f7959a4ddb13d5978d7ce23088dd4652bba..5be39cce70a1ec26a4b8bf5496c1b1640fafc4f2 100644
(file)
--- 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(){