chiark / gitweb /
earring-stand: abolish front_hex_x_fudge
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 23:56:03 +0000 (00:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jul 2016 23:56:03 +0000 (00:56 +0100)
earring-stand.scad

index 2894be1070c763d89811df303287404d490d3948..9818dcef531c4e5cec32fcf6f504778e7b834b33 100644 (file)
@@ -10,7 +10,6 @@ front_thick = 2.4;
 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 +255,10 @@ module FrontPattern(){
     
   difference(){
     square([front_width, totalh]);
-    for (xi=[ 0 : 10 ]) {
-      translate([xi * xstride +
-                front_surround_lr +
-                front_hex_dia*front_hex_x_fudge, 0]) {
+    for (xi=[ -5 : 5 ]) {
+      translate([front_width/2 +
+                xi * xstride,
+                0]) {
        for (yi=[ 0 : 10 ]) {
          echo(yi);
          translate([0, yi * ystride +