chiark / gitweb /
sewing-table: Leg: introduce tubules
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Jun 2017 17:51:14 +0000 (18:51 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Jun 2017 17:51:14 +0000 (18:51 +0100)
sewing-table.scad.m4

index 09bfc586825e33e0a33a89319cc12c455effbd2b..95db172f2d43cada4638f65ca9636626eeb37065 100644 (file)
@@ -43,6 +43,8 @@ leg_fin_bot_rad = 30;
 leg_fin_bot_flat_z = 5;
 
 leg_n_fins = 4;
+leg_n_tubules = 4;
+leg_tubule_dia = 4;
 
 // cutout
 
@@ -132,6 +134,8 @@ interlock_sq_adj = 0.2; // arbitrary
 leg_fin_top_rad = sqrt( pow(leg_big_dia/2,2) -
                        pow(leg_fin_top_w/2,2) );
 
+leg_tubule_pos_rad = leg_big_dia/2 * 0.6;
+
 m4_define(`POST_TCROSSSZ',
           `2*( tile_hard_edge_hole_dist - test_edge + 1 )')
 
@@ -709,6 +713,10 @@ module Leg(){ ////toplevel
     }
     mirror([0,0,1]) translate([0,0,-1])
       cylinder(r= leg_hole_dia/2, h=leg_height+2, $fn=30);
+    for (rot=[45: 360/leg_n_tubules : 359]) rotate(rot) {
+       mirror([0,0,1]) translate([ leg_tubule_pos_rad, 0, -1])
+         cylinder(r= leg_tubule_dia/2, h=leg_height+2, $fn=20);
+      }
   }
 }