My self-made 3D-printable designs, mainly in OpenSCAD
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

rpi0-mount.scad 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. bodyHeight = 7;
  13. wallSize = 3;
  14. lipSize = 3;
  15. fullSize = 28;
  16. gap = 5;
  17. length = 35;
  18. bottomOff = 5;
  19. holeDist = 23;
  20. holeSize = 3.3;
  21. $fn = 15;
  22. // -----------------------------------------------------------
  23. module holder() {
  24. // lower body
  25. cube([wallSize, fullSize - wallSize, bodyHeight]);
  26. // upper border
  27. translate([0, fullSize - wallSize, 0])
  28. cube([(2 * wallSize) + gap, wallSize, bodyHeight]);
  29. // upper lip
  30. translate([wallSize + gap, fullSize - (2 * wallSize), 0])
  31. cube([wallSize, wallSize, bodyHeight]);
  32. // lower border
  33. translate([wallSize, 0, 0])
  34. cube([lipSize, lipSize, bodyHeight]);
  35. }
  36. module mount() {
  37. difference() {
  38. cube([bodyHeight, length, wallSize]);
  39. translate([bodyHeight / 2, bottomOff + (holeSize / 2), -1])
  40. cylinder(d = holeSize, h = wallSize + 2);
  41. translate([bodyHeight / 2, bottomOff + (holeSize / 2) + holeDist, -1])
  42. cylinder(d = holeSize, h = wallSize + 2);
  43. }
  44. }
  45. module whole() {
  46. translate([0, 0, wallSize])
  47. rotate([0, 90, 0])
  48. #holder();
  49. translate([0, -length, 0])
  50. mount();
  51. }
  52. // -----------------------------------------------------------
  53. translate([0, 0, bodyHeight])
  54. rotate([0, 90, 0])
  55. whole();