PopufareHousingBack.scad 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 - POPUFARE_HOUSING_BACK_LIP_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. lip = _MATERIAL_THICKNESS;
  22. back_bracket_dx = w/3;
  23. buck_r = _BUCK_V2_R;
  24. buck_dw = _BUCK_V2_DW;
  25. difference() {
  26. union() {
  27. square([w,h], center=true);
  28. }
  29. // side bracket
  30. //
  31. translate([-(w/2 - bx), 0]) circle(br);
  32. translate([ (w/2 - bx), 0]) circle(br);
  33. translate([ -back_bracket_dx/2, (h/2 - bx)]) circle(br);
  34. translate([ back_bracket_dx/2, (h/2 - bx)]) circle(br);
  35. // lip attachment
  36. //
  37. translate([ 0, -(h/2 - bx)]) circle(br);
  38. // buck left
  39. //
  40. translate([-65,-15]) translate([0, buck_dw/2]) circle(buck_r);
  41. translate([-65,-15]) translate([0,-buck_dw/2]) circle(buck_r);
  42. // buck right
  43. //
  44. translate([ 65,-15]) translate([0, buck_dw/2]) circle(buck_r);
  45. translate([ 65,-15]) translate([0,-buck_dw/2]) circle(buck_r);
  46. // screw block
  47. // dw = 72.5
  48. //
  49. translate([23, 42.5]) circle(5/2);
  50. translate([23-40, 42.5-59]) circle(5/2);
  51. }
  52. }
  53. //PopufareHousingBackPlate();