chiark / gitweb /
pattress-boxes-3-cover: Peg, wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 25 Dec 2015 18:11:44 +0000 (18:11 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 25 Dec 2015 18:11:44 +0000 (18:11 +0000)
pattress-boxes-3-cover.scad

index 5d116e6..d3f5b12 100644 (file)
@@ -53,6 +53,8 @@ echo(lid_rail_w);
 
 peg_main_height = peg_straight_len + (peg_max_dia - peg_main_dia)/2/peg_slope;
 
+echo(peg_main_height);
+
 module LidSideProfile(){
   polygon([[-lid_top_wall,     lid_inner_max_h],
           [lid_inner_kink[0], lid_inner_max_h],
@@ -94,5 +96,12 @@ module PegProfile(){
           [-peg_engage_depth,  (peg_inner_dia + peg_inner_slop)/2]]);
 }
 
+module Peg(){
+  rotate_extrude($fn=50)
+    rotate([0,0,-90])
+    PegProfile();
+}
+
 //LidSide();
-PegProfile();
+//PegProfile();
+Peg();