chiark / gitweb /
pattress-boxes-3-cover: change default $peg_outer_slop, from v2, to match #2
[reprap-play.git] / pattress-boxes-3-cover.scad
index 0ffce30f72daec20b8cce9e71ff51088e74ee0a7..a17a1589e9ade2dc843585c3e9aea92a70fe2f9b 100644 (file)
@@ -31,7 +31,7 @@ peg_top_thick = 1;
 peg_straight_len = 3;
 
 $peg_inner_slop = 0.75;
-$peg_outer_slop = 0.1;
+$peg_outer_slop = -0.9;
 
 peg_slope = 1;
 
@@ -54,12 +54,8 @@ lid_seatline_w = (lid_inner_w - lid_max_switches_w)/2 - lid_switches_y_slop;
 
 lid_seatline_h = lid_fatbox_switches_h;
 
-echo(lid_seatline_w);
-
 peg_main_height = peg_straight_len + (peg_max_dia - peg_main_dia)/2/peg_slope;
 
-echo(peg_main_height);
-
 thinbox_front_z = lid_fatbox_switches_h + lid_fatbox_h - lid_thinbox_h;
 
 raillen = patbox_side/2 + rail_overlap;
@@ -145,13 +141,14 @@ module PegProfile(){
 }
 
 module Peg(){ ////toplevel
+  echo($peg_outer_slop);
   rotate_extrude($fn=50)
     rotate([0,0,-90])
     PegProfile();
 }
 
 module Pegs(){ ////toplevel
-  baseslop = $peg_outer_slop;
+  baseslop = 0.1;
   dslops = [0, -0.5, -1.0, -1.5];
   stride = peg_max_dia + 4;
   for (i=[0:len(dslops)-1]) {