chiark / gitweb /
sewing-table: MachineRear: fixed too slow, other fixes
[reprap-play.git] / sewing-table.scad.m4
index 7094f91..b4ec954 100644 (file)
@@ -358,7 +358,8 @@ module Machine_Rear(){
                -rearcurve_rad
                ]){
       rotate([0,-90,0]){
-       cylinder(r = small_rad, h= rearcurve_strt_len);
+       rotate([0,0, 360/8/2])
+         cylinder(r = small_rad, h= rearcurve_strt_len);
       }
     }
     translate([ 0,
@@ -368,12 +369,17 @@ module Machine_Rear(){
        rotate([90,0,0]){
          rotate_extrude(convexity=10) {
            translate([ big_rad,
-                       0 ])
-             circle(r= small_rad);
+                       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]);
       }
     }
   }
@@ -381,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) =
@@ -512,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(){