PopufareHousingSideLeft.scad 696 B

12345678910111213141516171819202122232425262728293031323334
  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 PopufareHousingSideLeftPlate() {
  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. difference() {
  17. union() {
  18. square([w,h], center=true);
  19. }
  20. // chop off angle
  21. //
  22. translate([-w/2,-(h/2-POPUFARE_FRONT_HEIGHT)]) rotate(45, [0,0,1]) square([4*w,4*w]);
  23. }
  24. }
  25. //PopufareHousingSideLeftPlate();