chiark / gitweb /
sleepphone-cable-box: separate button_dz (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 11 Sep 2018 07:10:08 +0000 (08:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 11 Sep 2018 07:10:08 +0000 (08:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
sleepphone-cable-box.scad

index 5ddbaa9..27e851a 100644 (file)
@@ -13,6 +13,8 @@ cutout_dia = 7;
 cutout_between = 5;
 
 button_dz = 1.35;
+button_dz_centre = 1.35;
+button_dz_outer  = 1.35;
 
 button_dy_outer = 28.42;
 button_dy_inner = 19.05;
@@ -58,17 +60,18 @@ plugkeeper_d_u = unitvector2d(
 
 module MainProfileInnerHalf(){
   p = phone + phone_slop;
-  pb = p[2] + button_dz;
+  pbc = p[2] + button_dz_centre;
+  pbo = p[2] + button_dz_outer;
   polygon([[ -2,                 0    ],
           [ p[1]/2,             0    ],
           [ p[1]/2,             p[2] ],
           [ button_dy_outer/2,  p[2] ],
-          [ button_dy_outer/2,  pb   ],
-          [ button_dy_inner/2,  pb   ],
+          [ button_dy_outer/2,  pbo  ],
+          [ button_dy_inner/2,  pbo  ],
           [ button_dy_inner/2,  p[2] ],
           [ button_dy_centre/2, p[2] ],
-          [ button_dy_centre/2, pb   ],
-          [ -2,                 pb   ]]);
+          [ button_dy_centre/2, pbc  ],
+          [ -2,                 pbc  ]]);
 }
 
 module MainProfile(){