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.

cam_holder.scad 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. * Inspired by the "TinyBoy / Fabrikator mini Cam holder"
  3. * by "andy_a":
  4. * http://www.thingiverse.com/thing:1434698
  5. *
  6. * Created by:
  7. * Thomas Buck <xythobuz@xythobuz.de> in April 2016
  8. *
  9. * Licensed under the Creative Commons - Attribution - Share alike license.
  10. */
  11. // -----------------------------------------------------------
  12. height = 10;
  13. bodyHeight = 25;
  14. wallSize = 3;
  15. lipSize = 3;
  16. fullSize = 28;
  17. gap = 5;
  18. screwInner = 2.8;
  19. screwOuter = 6.5;
  20. $fn = 25;
  21. // -----------------------------------------------------------
  22. module screw() {
  23. difference() {
  24. cylinder(d = screwOuter, h = height);
  25. translate([0, 0, -1])
  26. cylinder(d = screwInner, h = height + 2);
  27. }
  28. }
  29. // -----------------------------------------------------------
  30. // lower body
  31. cube([wallSize, fullSize - wallSize, bodyHeight]);
  32. // upper border
  33. translate([0, fullSize - wallSize, 0])
  34. cube([(2 * wallSize) + gap, wallSize, bodyHeight]);
  35. // upper lip
  36. translate([wallSize + gap, fullSize - (2 * wallSize), 0])
  37. cube([wallSize, wallSize, bodyHeight]);
  38. // lower border
  39. translate([wallSize, 0, 0])
  40. cube([lipSize, lipSize, bodyHeight]);
  41. //translate([-7, 3.5, (bodyHeight - height) / 2])
  42. //screw();
  43. translate([-7, 8.5, (bodyHeight - height) / 2])
  44. screw();
  45. translate([-7, 13.5, (bodyHeight - height) / 2])
  46. screw();
  47. translate([-7, 18.5, (bodyHeight - height) / 2])
  48. screw();
  49. //translate([-7, 23.5, (bodyHeight - height) / 2])
  50. //screw();
  51. translate([-5.5, 5.75, (bodyHeight - height) / 2])
  52. cube([5.5, 15.5, height]);