openSCAD models for 3d-printing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
541 B

  1. // configuration values
  2. rb = 57/2;
  3. h1 = 10;
  4. h2 = 80;
  5. fs = 5;
  6. content = "TM";
  7. font = "Droid Sans Mono Bold";
  8. union () {
  9. cylinder(r1=rb, r2=rb, h=2, $fn=50);
  10. translate([0, 0, 2]) {
  11. cylinder(r1=rb, r2=rb-2, h=h1, $fn=50);
  12. }
  13. cylinder(r1=10, r2=10, h=h2, $fn=50);
  14. hull () {
  15. translate ([0, 0, h2]) {
  16. sphere(r=17, $fn=50);
  17. }
  18. translate ([0, 0, h1*3]) {
  19. sphere(r=10, $fn=50);
  20. }
  21. }
  22. translate ([-fs, -20, h1+2]) {
  23. linear_extrude(height=1.5) {
  24. text(content, font=font, size=fs);
  25. }
  26. }
  27. }