chiark / gitweb /
flyscreen-handle: wip shorter peg
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 Aug 2016 19:14:03 +0000 (20:14 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 Aug 2016 19:14:03 +0000 (20:14 +0100)
flyscreen-handle.scad

index 5d8a65f..5937a94 100644 (file)
@@ -36,7 +36,7 @@ basics_len = 8;
 
 overret_hch = 5;
 
-peg_width_slop = 0.5;
+peg_width = 3;
 
 // calculated
 
@@ -60,9 +60,8 @@ retain_cutout_h = retain_rad * 2 + retain_bend_gap;
 
 overret_gaplen = retain_cutout_h / cos(retain_empir_angle);
 
-peg_width = retain_stalk_len -
-  (handle_x0 - retain_mxy[0]) / cos(retain_empir_angle)
-  - peg_width_slop;
+peg_space_width = retain_stalk_len -
+  (handle_x0 - retain_mxy[0]) / cos(retain_empir_angle);
 
 peg_height = retain_cutout_h - (retain_rad + retain_stalk_h)
   + retain_pushmore_adj;
@@ -139,7 +138,7 @@ module PegSection(delta){
 module PegSectionForDemo(delta){
   translate(retain_mxy)
     rotate(retain_empir_angle)
-    translate([retain_stalk_len - peg_width - peg_width_slop/2,
+    translate([retain_stalk_len - peg_space_width,
               retain_stalk_h - retain_pushmore_adj])
     PegSection(delta);
 }