PopufareHousingBack.scad 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 PopufareHousingBackPlate() {
  10. w = POPUFARE_HOUSING_WIDTH;
  11. h = POPUFARE_HOUSING_HEIGHT;
  12. fixture_dx = POPUFARE_FIXTURE_DX;
  13. fixture_dy = POPUFARE_FIXTURE_DY;
  14. fixture_bolt = 5.0/2.0;
  15. bx = POPUFARE_BRACKET_CX;
  16. br = POPUFARE_BRACKET_D/2.0;
  17. gland_cx = 0;
  18. gland_cy = -(h/2 - 1.5*POPUFARE_GLAND_DIAMETER);
  19. gdx = 1*POPUFARE_GLAND_DIAMETER/2;
  20. gdy = 1*POPUFARE_GLAND_DIAMETER/2;
  21. difference() {
  22. square([w,h], center=true);
  23. // gland cable assembly access
  24. //
  25. translate([gland_cx, gland_cy]) circle(POPUFARE_GLAND_DIAMETER/2.0);
  26. // optional plate fixture points (in case we need to close off or alter
  27. // the gland assembly diameter
  28. //
  29. translate([gland_cx + gdx, gland_cy + gdy]) circle(_M3r);
  30. translate([gland_cx - gdx, gland_cy + gdy]) circle(_M3r);
  31. translate([gland_cx - gdx, gland_cy - gdy]) circle(_M3r);
  32. translate([gland_cx + gdx, gland_cy - gdy]) circle(_M3r);
  33. // side bracket attachments
  34. //
  35. //translate([ (w/2 - bx), (h/2-POPUFARE_BRACKET_DE)]) circle(br);
  36. //translate([ (w/2 - bx),-(h/2-POPUFARE_BRACKET_DE)]) circle(br);
  37. //translate([-(w/2 - bx), (h/2-POPUFARE_BRACKET_DE)]) circle(br);
  38. //translate([-(w/2 - bx),-(h/2-POPUFARE_BRACKET_DE)]) circle(br);
  39. // top bracket attachments
  40. //
  41. translate([ (w/2 - POPUFARE_BRACKET_DE), (h/2 - bx)]) circle(br);
  42. translate([-(w/2 - POPUFARE_BRACKET_DE), (h/2 - bx)]) circle(br);
  43. // bottom bracket attachments
  44. //
  45. translate([ (w/2 - POPUFARE_BRACKET_DE), -(h/2 - bx)]) circle(br);
  46. translate([-(w/2 - POPUFARE_BRACKET_DE), -(h/2 - bx)]) circle(br);
  47. // hinge assembly attachment
  48. //
  49. }
  50. }
  51. //PopufareHousingBackPlate();