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-lights.scad 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. include </home/thomas/Projekte/3d/opi-pc-plus/cam-holder.scad>
  2. use </home/thomas/Projekte/3d/opi-pc-plus/opi-cam-mount.scad>
  3. light_height = 8;
  4. light_wall = 3;
  5. light_wall_add = 2;
  6. light_dia = 150;
  7. light_cut = 20;
  8. lights_off = 5.8;
  9. light_h = light_height + (2 * light_wall_add);
  10. module lights_ring() {
  11. $fn = 50;
  12. translate([0, light_dia / 2, 0])
  13. difference() {
  14. cylinder(h = light_h, d = light_dia);
  15. translate([0, 0, -1])
  16. cylinder(h = light_h + 2, d = light_dia - light_wall - light_wall_add);
  17. translate([0, 0, light_wall_add])
  18. cylinder(h = light_height, d = light_dia - light_wall);
  19. translate([-light_dia / 2, -light_dia / 2 + light_cut, -1])
  20. cube([light_dia, light_dia, light_h + 2]);
  21. }
  22. }
  23. module lights_mount() {
  24. translate([0, -edge / 2 - length + hole_off, height - forw_height + mock_pole_height - mock_pole_off * 2 - 10])
  25. difference() {
  26. union() {
  27. cylinder(d = hole_size + hole_wiggle + cam_wall * 2, h = light_h);
  28. translate([0, lights_off, 0])
  29. lights_ring();
  30. }
  31. translate([0, 0, -1])
  32. cylinder(d = hole_size + hole_wiggle, h = light_h + 2);
  33. }
  34. }
  35. lights_mount();
  36. /*
  37. cam_holder_mount();
  38. color("white")
  39. %translate([13, -37, 75])
  40. rotate([90, 0, 180])
  41. cam_holder();
  42. */