Browse Source

Add simple model of tamper for espresso machine

master
T. Meissner 9 years ago
parent
commit
f3ab1adffd
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      tamper.scad

+ 30
- 0
tamper.scad View File

@ -0,0 +1,30 @@
// configuration values
rb = 57/2;
h1 = 10;
h2 = 80;
fs = 5;
content = "TM";
font = "Droid Sans Mono Bold";
union () {
cylinder(r1=rb, r2=rb, h=2, $fn=50);
translate([0, 0, 2]) {
cylinder(r1=rb, r2=rb-2, h=h1, $fn=50);
}
cylinder(r1=10, r2=10, h=h2, $fn=50);
hull () {
translate ([0, 0, h2]) {
sphere(r=17, $fn=50);
}
translate ([0, 0, h1*3]) {
sphere(r=10, $fn=50);
}
}
translate ([-fs, -20, h1+2]) {
linear_extrude(height=1.5) {
text(content, font=font, size=fs);
}
}
}

Loading…
Cancel
Save