chiark / gitweb /
earring-stand: wip FrontPattern adjustments
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 23:53:34 +0000 (00:53 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 23:53:34 +0000 (00:53 +0100)
earring-stand.scad

index 8ed8f86..2894be1 100644 (file)
@@ -7,8 +7,11 @@ front_width = 120;
 front_setback = 30;
 front_thick = 2.4;
 
-front_hex_stride = 14;
-front_hex_dia = 11;
+front_hex_stride = 13;
+front_hex_dia = 10;
+
+front_hex_x_fudge = 0.05;
+front_hex_y_fudge = -0.1;
 
 front_surround_lr =3;
 
@@ -256,10 +259,11 @@ module FrontPattern(){
     for (xi=[ 0 : 10 ]) {
       translate([xi * xstride +
                 front_surround_lr +
-                front_hex_dia*.25, 0]) {
+                front_hex_dia*front_hex_x_fudge, 0]) {
        for (yi=[ 0 : 10 ]) {
          echo(yi);
-         translate([0, yi * ystride]) {
+         translate([0, yi * ystride +
+                    front_hex_dia*front_hex_y_fudge]) {
            for (dv=[ [0,0],
                      [-xstride/2, -ystride/2]
                      ])