// License: CC0
//
// To the extent possible under law, Clementine Computing LLC has waived
// all copyright and related or neighboring rights to this file.
//
// This work is published from: United States.
//

include <PopufareHousingCommon.scad>

module PopufareHousingSpacerPlate() {
  
  w0 = POPUFARE_HINGE_TOP_HOLE_WIDTH + POPUFARE_HINGE_D*3;
  h0 = POPUFARE_HINGE_D*4;
  dx0 = POPUFARE_HINGE_TOP_HOLE_WIDTH;
  _r0 = POPUFARE_HINGE_D/2;
  translate([0,h0/2 + 1])
  difference() {
    rounded_rect(w0, h0, _r0);
    translate([-dx0/2, 0]) circle(POPUFARE_HINGE_D/2);
    translate([ dx0/2, 0]) circle(POPUFARE_HINGE_D/2);
  };
  
  w1 = POPUFARE_HINGE_D*4;
  h1 = POPUFARE_HINGE_D*4;
  dx1 = POPUFARE_HINGE_BACK_HOLE_WIDTH;
  translate( [-w1/2-1, -h1/2-1 ])
  difference() {
    rounded_rect(w1, h1, _r0);
    translate([0, 0]) circle(POPUFARE_HINGE_D/2);
  }
  
  translate( [ w1/2+1, -h1/2-1 ])
  difference() {
    rounded_rect(w1, h1, _r0);
    translate([0, 0]) circle(POPUFARE_HINGE_D/2);
  }
  
}


//PopufareHousingSpacerPlate();