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.

Lens Cap.scad 769B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Created by:
  3. * Thomas Buck <xythobuz@xythobuz.de> in March 2016
  4. *
  5. * Licensed under the Creative Commons - Attribution license.
  6. */
  7. // -----------------------------------------------------------
  8. $fn = 50;
  9. /*
  10. * Depending on your printer and exact settings, you need to adjust
  11. * this parameter. I've had a tight fit with 17.8mm for a 17mm lens.
  12. */
  13. diameter = 17.8; // diameter of the lens
  14. width = 1; // wall thickness
  15. bottom_width = 1; // bottom wall thickness
  16. height = 6; // height of the whole lens cap
  17. // -----------------------------------------------------------
  18. difference() {
  19. // whole part
  20. cylinder(h = height, d = (diameter + (2 * width)));
  21. translate([0, 0, bottom_width])
  22. cylinder(h = height - bottom_width, d = diameter);
  23. }