chiark / gitweb /
sewing-table: MachineRear: fixed too slow, other fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 May 2017 00:02:44 +0000 (01:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 May 2017 00:02:44 +0000 (01:02 +0100)
sewing-table.scad.m4

index 07ab020..b4ec954 100644 (file)
@@ -359,8 +359,7 @@ module Machine_Rear(){
                ]){
       rotate([0,-90,0]){
        rotate([0,0, 360/8/2])
-         cylinder(r = small_rad, h= rearcurve_strt_len,
-                  $fs= 8);
+         cylinder(r = small_rad, h= rearcurve_strt_len);
       }
     }
     translate([ 0,
@@ -368,14 +367,19 @@ module Machine_Rear(){
                big_rad - rearcurve_rad ]) {
       intersection(){
        rotate([90,0,0]){
-         rotate_extrude(convexity=10, $fs=8) {
+         rotate_extrude(convexity=10) {
            translate([ big_rad,
-                       0 ])
-             circle(r= small_rad, $fs=8);
+                       0 ]) {
+             hull(){
+               circle(r= small_rad);
+               translate([200,0])
+                 circle(r= small_rad);
+             }
+           }
          }
        }
        mirror([0,0,1])
-         cube([100,100,100]);
+         cube([150,150,150]);
       }
     }
   }
@@ -383,11 +387,7 @@ module Machine_Rear(){
 
 module Machine(){ ////toplevel
   Machine_Arm();
-  minkowski(){
-    Machine_Rear();
-    translate([0,-5,-5])
-      cube([50,5,5]);
-  }
+  Machine_Rear();
 }
   
 function Rectangle_corners(c0, sz) =
@@ -514,9 +514,11 @@ module Tile10(){ ////toplevel
   c0 = [sz[0],0];
   c = Rectangle_corners(c0, sz);
   cnr_posts = Rectangle_corners2posts(c);
-  posts = [ cnr_posts[0],
-           cnr_posts[1] + [ -rearedge_len + cutout_l_end_x, 0 ],
-           cnr_posts[1] + [ 0, rearcurve_avoid_y ],
+  cty = cutout_tile11_y;
+  rcy = cty + rearcurve_avoid_y;
+  posts = [ cnr_posts[0] + [ 0,                              cty ],
+           cnr_posts[1] + [ -rearedge_len + cutout_l_end_x, rcy ],
+           cnr_posts[1] + [ 0,                              rcy ],
            cnr_posts[2],
            cnr_posts[3] ];
   difference(){