Skip to content

Commit

Permalink
Convert CR+LF (DOS newlines) to LF (Unix newlines) and adjust some di…
Browse files Browse the repository at this point in the history
…mensions.
  • Loading branch information
jcrocholl committed Jun 21, 2012
1 parent d1166b9 commit 6be71a6
Showing 1 changed file with 42 additions and 41 deletions.
83 changes: 42 additions & 41 deletions bowden_hotend.scad
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
module clamp(h, base){
difference(){
union() {
// Clamp cone for M8 nut.
cylinder(r1=4.5, r2=3.5, h=h);
// Gradual cone base.
translate([0, 0, base]) cylinder(r1=10, r2=0, h=12, center=true);
// Base middle.
translate([0, 0, base/2]) {
cylinder(r=11, h=base, center=true);
cube([44.2, 12, base], center=true);
}
// Base around screw holes.
for (x = [-22.1, 22.1]) {
translate([x, 0, base/2]) cylinder(r=6, h=base, center=true);
}
}
// Bowden cable through hole.
cylinder(r=2, h=30, $fn=12);
// Three sided cutout.
for (a = [0:120:359]) {
rotate([0, 0, a]) translate([3, 0, base+1+h/2])
cube([5, 1, h], center=true);
}
// Bottom opening for PEEK insulator (e.g. MakerGear GrooveMount).
cylinder(r=8.2, h=10, center=true);
// Nut traps and screw holes.
for (x = [-25, 25]) {
translate([x, 0, base/2]) {
cylinder(r = 2.2, h=base+1, center=true, $fn=12);
rotate([0, 0, 0]) cylinder(r=4.1, h=base, $fn=6);
}
}
}
}

height = 24;
clamp(height, 8);

// Increase cooling time per layer for the thin riser.
translate([0, -20, height/2]) cube([60, 3, height], center=true);
module clamp(h, base){
difference(){
union() {
// Clamp cone for M8 nut.
cylinder(r1=4.5, r2=3.5, h=h);
// Gradual cone base.
translate([0, 0, base]) cylinder(r1=10, r2=0, h=12, center=true);
// Base middle.
translate([0, 0, base/2]) {
cylinder(r=11, h=base, center=true);
cube([46, 12, base], center=true);
}
// Shoulders around screw holes.
for (x = [-23, 23]) {
translate([x, 0, base/2]) cylinder(r=6, h=base, center=true);
}
}
// Bowden cable through hole.
cylinder(r=2, h=30, $fn=12);
// Three sided cutout.
for (a = [0:120:359]) {
rotate([0, 0, a]) translate([3, 0, base+1+h/2])
cube([5, 1, h], center=true);
}
// Holder for PEEK insulator (e.g. MakerGear GrooveMount).
cylinder(r=8.2, h=10, center=true);
// Nut traps and screw holes.
for (x = [-25, 25]) {
translate([x, 0, base/2]) {
cylinder(r = 2.2, h=base+1, center=true, $fn=12);
rotate([0, 0, 0]) cylinder(r=4.1, h=base, $fn=6);
}
translate([x*1.2, 0, base]) cube([6, 20, base], center=true);
}
}
}

height = 24;
clamp(height, 8);

// Increase cooling time per layer for the thin riser.
translate([0, -20, height/2]) cube([60, 3, height], center=true);

0 comments on commit 6be71a6

Please sign in to comment.