hook.scad 627 B

123456789101112131415161718192021222324252627
  1. thickness = 2.5; // The thickness of each length of plastic
  2. width = 15; // The the total width of the hook
  3. height = 60; // The total height of the hook
  4. top_hang = 5;
  5. top_curl = 8;
  6. bottom_hang = 10;
  7. bottom_curl = 5;
  8. module length(size) {
  9. cube([width, thickness, size]);
  10. }
  11. length(height);
  12. translate([0, 0, height - thickness])
  13. rotate([90, 0, 0])
  14. length(top_hang);
  15. translate([0, -top_hang - thickness, height - top_curl - thickness])
  16. length(top_curl + thickness);
  17. translate([0, bottom_hang + thickness, 0])
  18. rotate([90, 0, 0])
  19. length(bottom_hang);
  20. translate([0, bottom_hang + thickness])
  21. length(bottom_curl + thickness);