hole.scad 767 B

12345678910111213141516171819202122232425262728293031
  1. include <../config/hole.scad>
  2. function hole_full_height() =
  3. hole_entrance / 2 * 2
  4. + hole_holding / 2 * 2.5;
  5. module hole_shape() {
  6. full_height = hole_full_height();
  7. translate([0, -full_height / 2]) {
  8. hull() {
  9. translate([0, hole_entrance / 2]) {
  10. circle(r = hole_entrance / 2);
  11. }
  12. translate([0, hole_entrance + hole_holding / 2]) {
  13. circle(r = hole_holding / 2);
  14. }
  15. }
  16. hull() {
  17. translate([0, hole_entrance + hole_holding / 2]) {
  18. circle(r = hole_holding / 2);
  19. }
  20. translate([0, hole_entrance + hole_holding / 2 * 1.5]) {
  21. circle(r = hole_holding / 2);
  22. }
  23. }
  24. }
  25. }