summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2017-02-06 21:19:20 (UTC)
committer Michael Krelin <hacker@klever.net>2017-02-06 21:19:20 (UTC)
commitd481811cad040ab887ffb9dca6b41616e842e0ca (patch) (side-by-side diff)
tree133c43736e214ede19cfa01e4d8b9a2900249ab4
parent25836f14f59bdeb216a6fb189b6c4720db518c0d (diff)
downloadextrudery-d481811cad040ab887ffb9dca6b41616e842e0ca.zip
extrudery-d481811cad040ab887ffb9dca6b41616e842e0ca.tar.gz
extrudery-d481811cad040ab887ffb9dca6b41616e842e0ca.tar.bz2
bore shape as it is
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad10
1 files changed, 7 insertions, 3 deletions
diff --git a/another.scad b/another.scad
index f78d1b0..d4a3f90 100644
--- a/another.scad
+++ b/another.scad
@@ -16,12 +16,13 @@ module the_extruder(
// motor properties
gearbox_d = 36,
mount_d = 28, // the distance between opposite mounting holes
mounthole_depth = 5,
protrusion_d = 22, protrusion_h = 2.2, // the dimensions of the protrusion on top of gearbox
bore_d = 8, bore_l = 17.6,
+ bore_dd = 7,
// pulley properties
pulley_d = 11.5, pulley_h=10,
pulley_elevation = 1, // pulley elevation above the protrusion
teeth_elevation = 7.5, // distance from the bottom of the pulley to its teeth
// idler properties
idler_d = 9.5, idler_h = 4, idler_id = 3, // idler dimensions: outer and inner diameters and height
@@ -75,20 +76,23 @@ module the_extruder(
}else if(r) {
hh=sqrt(pow(r,2)-pow(d,2)/4);
translate([0,0,hh]) sphere(r=r,$fn=2*PI*r);
}
}
- // vitamins
% if(vitamins) mirrorleft() {
translate([0,0,-epsilon]) mirror([0,0,1]) cylinder(d=gearbox_d,h=1,$fn=60);
for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0])
cylinder(d=mount_screw_d,h=20,$fn=30);
translate([0,0,-epsilon]) cylinder(d=protrusion_d,h=protrusion_h,$fn=30);
translate([0,0,protrusion_h]) {
- cylinder(d=bore_d,h=bore_l,$fn=30);
+ difference() {
+ cylinder(d=bore_d,h=bore_l,$fn=30);
+ translate([-bore_d/2-1,bore_dd-bore_d/2,-1])
+ cube([bore_d+2,bore_d/2,bore_l+2]);
+ }
translate([0,0,pulley_elevation]) {
cylinder(d=pulley_d,h=pulley_h,$fn=30);
translate([0,0,teeth_elevation]) {
place_idler() {
cylinder(d=idler_d,h=idler_h,center=true,$fn=30);
cylinder(d=idler_id,h=lever_thickness+2,center=true,$fn=30);
@@ -100,13 +104,13 @@ module the_extruder(
translate([0,0,mount_d/sqrt(2)/2+mount_screw_d])
pushfit_thread();
}
}//translate teeth
}//translate pulley
}//translate protrusion
- }// vitamins to let
+ }//vitamins
module lever() {
translate([0,0,protrusion_h+pulley_elevation+teeth_elevation]) {
difference() {
union() {
hull() {