PopufareHousingInnerTop.scad 956 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // License: CC0
  2. //
  3. // To the extent possible under law, Clementine Computing LLC has waived
  4. // all copyright and related or neighboring rights to this file.
  5. //
  6. // This work is published from: United States.
  7. //
  8. include <PopufareHousingCommon.scad>
  9. module PopufareHousingInnerTopPlate() {
  10. _r = 3;
  11. _outr = 16;
  12. hole_width = POPUFARE_INNER_PLATE_HOLE_WIDTH;
  13. hole_height = POPUFARE_INNER_PLATE_HOLE_HEIGHT;
  14. w2 = hole_width/2;
  15. h2 = hole_height/2;
  16. x = hole_width + _outr;
  17. y = hole_height + _outr;
  18. w2 = hole_width/2;
  19. h2 = hole_height/2;
  20. difference() {
  21. rounded_rect(x,y, _r);
  22. rounded_rect(hole_width-_outr, hole_height-_outr, _r);
  23. translate([-hole_width/2, -hole_height/2]) circle(_M3r);
  24. translate([ hole_width/2, -hole_height/2]) circle(_M3r);
  25. translate([ hole_width/2, hole_height/2]) circle(_M3r);
  26. translate([-hole_width/2, hole_height/2]) circle(_M3r);
  27. }
  28. }
  29. //PopufareHousingInnerTopPlate();