PopufareHousingFrontBottom.scad 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 PopufareHousingFrontBottomPlate() {
  10. w = POPUFARE_HOUSING_WIDTH;
  11. h = POPUFARE_FRONT_HEIGHT;
  12. bx = POPUFARE_BRACKET_CX;
  13. br = POPUFARE_BRACKET_D/2.0;
  14. de = POPUFARE_BRACKET_DE;
  15. lip = _MATERIAL_THICKNESS;
  16. lip_top = _MATERIAL_THICKNESS * sqrt(2.0);
  17. difference() {
  18. union() {
  19. square([w,h], center=true);
  20. // lip to cover bottom plate
  21. //
  22. translate([0,-(h/2 + lip/2)]) square([w,lip], center=true);
  23. };
  24. // shave off top front panel to accomodate angle plate
  25. //
  26. translate([0, (h/2 - lip_top)]) square([w, lip_top], center=true);
  27. // attach to bottom plate bracket
  28. //
  29. translate([ -(w/2 - de), -(h/2-bx) ]) circle(br);
  30. translate([ (w/2 - de), -(h/2-bx) ]) circle(br);
  31. // side plate bracket attachment
  32. //
  33. translate([ -(w/2 - bx), 0]) circle(br);
  34. translate([ (w/2 - bx), 0]) circle(br);
  35. }
  36. }
  37. //PopufareHousingFrontBottomPlate();