My self-made 3D-printable designs, mainly in OpenSCAD
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.

peristaltic-hose-fix.scad 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. hole_dia = 4.1;
  2. hole_dist = 30.0;
  3. height = 10.0;
  4. depth = 10.0;
  5. width = hole_dist + (2 * 7.0);
  6. screw_dia = 3.3;
  7. screw_off = (screw_dia / 2) + 1.0;
  8. gap_dia = 20.0;
  9. gap_height = 3.0;
  10. cut = 0.1;
  11. $fn = 42;
  12. module holes() {
  13. cylinder(d = hole_dia, h = height + 2);
  14. translate([hole_dist, 0, 0])
  15. cylinder(d = hole_dia, h = height + 2);
  16. }
  17. module fix() {
  18. difference() {
  19. cube([width, depth, height]);
  20. translate([(width - hole_dist) / 2, depth / 2, -1])
  21. holes();
  22. translate([-1, (depth - cut) / 2, -1])
  23. cube([width + 2, cut, height + 2]);
  24. translate([screw_off, -1, height / 2])
  25. rotate([-90, 0, 0])
  26. cylinder(d = screw_dia, h = depth + 2);
  27. translate([width - screw_off, -1, height / 2])
  28. rotate([-90, 0, 0])
  29. cylinder(d = screw_dia, h = depth + 2);
  30. translate([width / 2, -1, (height + gap_height) / 2])
  31. rotate([-90, 0, 0])
  32. cylinder(d = screw_dia, h = depth + 2);
  33. translate([width / 2, -1, gap_height - gap_dia / 2])
  34. rotate([-90, 0, 0])
  35. cylinder(d = gap_dia, h = depth + 2);
  36. }
  37. }
  38. module print() {
  39. rotate([0, -90, 0])
  40. difference() {
  41. fix();
  42. translate([-1, (depth - cut) / 2, -1])
  43. cube([width + 2, depth, height + 2]);
  44. }
  45. }
  46. fix();
  47. //print();