PopufareHousingSideRight.scad 798 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 PopufareHousingSideRightPlate() {
  10. w = POPUFARE_HOUSING_DEPTH;
  11. h = POPUFARE_HOUSING_HEIGHT;
  12. dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
  13. alen = dh*sqrt(2.0);
  14. w_right = w - dh;
  15. lip = 0;
  16. power_w = 12;
  17. power_h = 20;
  18. difference() {
  19. union() {
  20. square([w,h], center=true);
  21. }
  22. // chop off angle
  23. //
  24. translate([-w/2,-(h/2-POPUFARE_FRONT_HEIGHT)]) rotate(45, [0,0,1]) square([4*w,4*w]);
  25. translate([60,-50]) square([power_w, power_h], center=true);
  26. }
  27. }
  28. //PopufareHousingSideRightPlate();