-rw-r--r-- | another.scad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/another.scad b/another.scad index 4af7d29..38a9aae 100644 --- a/another.scad +++ b/another.scad | |||
@@ -277,6 +277,19 @@ module the_extruder( | |||
277 | cylinder(r=r,h=ls_h,center=true); | 277 | cylinder(r=r,h=ls_h,center=true); |
278 | translate([-r-1,0,-ls_h/2-1]) cube(size=[2*r+2,r+1,ls_h+2]); | 278 | translate([-r-1,0,-ls_h/2-1]) cube(size=[2*r+2,r+1,ls_h+2]); |
279 | } | 279 | } |
280 | |||
281 | // back side cutout | ||
282 | a0 = asin((mount_screwhead_d+2*extrusion_width)/mount_d); | ||
283 | a1 = atan((longwing-lever_thickness/2)/(gearbox_d/2)); | ||
284 | translate([0,0,ls_z]) hull() { | ||
285 | rotate([0,0,-180+a0]) | ||
286 | rotate_extrude(angle=a1-a0) | ||
287 | translate([0,-ls_h/2]) | ||
288 | square([sqrt(pow(gearbox_d/2,2)+pow(longwing-lever_thickness/2,2))+1, | ||
289 | ls_h]); | ||
290 | cylinder(d=bore_d/2/*TODO:recalculate angles based on this, | ||
291 | too lazy to do that now*/, | ||
292 | h=ls_h,center=true); | ||
280 | } | 293 | } |
281 | 294 | ||
282 | rotate([0,0,-45]) | 295 | rotate([0,0,-45]) |