chiark / gitweb /
sewing-table: MachineRear seems plausible
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 May 2017 23:38:41 +0000 (00:38 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 May 2017 23:38:41 +0000 (00:38 +0100)
sewing-table.scad.m4

index 2bd91b1d02b51f49598f92c57f5810eee1808911..0a8fb4aeddd629da32ed050e8a0fe3ce005c561b 100644 (file)
@@ -46,6 +46,16 @@ cutout_tile01_y = 170 - 147 + cutout_l_end_y_front_slop;
 cutout_tile11_x = cutout_l_end_x + cutout_l_end_curve;
 cutout_tile11_y = cutout_l_end_y_total - cutout_tile01_y;
 
+// rear curve
+
+rearedge_len = 170;
+
+rearcurve_rad = 25.4;
+rearcurve_strt_len = 65;
+rearcurve_total_len = 84;
+
+rearcurve_rad_slop = 0.5;
+
 // calculated
 
 TEST = false;
@@ -335,8 +345,41 @@ module Machine_Arm(){
   }
 }
 
-module Machine(){
+module Machine_Rear(){
+  big_rad = rearcurve_total_len - rearcurve_strt_len + rearcurve_rad;
+  small_rad = rearcurve_rad + rearcurve_rad_slop;
+  translate([ 250 + rearedge_len - cutout_l_end_y + big_rad,
+             cutout_tile11_y,
+             0 ]){
+    translate([ 0,
+               0,
+               -rearcurve_rad
+               ]){
+      rotate([0,-90,0]){
+       cylinder(r = small_rad, h= rearcurve_strt_len);
+      }
+    }
+    translate([ 0,
+               0,
+               big_rad - rearcurve_rad ]) {
+      intersection(){
+       rotate([90,0,0]){
+         rotate_extrude(convexity=10) {
+           translate([ big_rad,
+                       0 ])
+             circle(r= small_rad);
+         }
+       }
+       mirror([0,0,1])
+         cube([100,100,100]);
+      }
+    }
+  }
+}
+
+module Machine(){ ////toplevel
   Machine_Arm();
+  Machine_Rear();
 }
   
 function Rectangle_corners(c0, sz) =