// 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 PopufareHousingScreenCoverPlate() {

  idx = POPUFARE_SCREEN_INNER_WIDTH_RESISTIVE;
  idy = POPUFARE_SCREEN_INNER_HEIGHT_RESISTIVE;
  
  odx = idx+4;
  ody = idy+4;

  flap = 10;
  
  union() {
    difference() {
      square([odx,ody], center=true);
      square([idx,idy], center=true);
    }
    
    translate([0, (ody/2 + flap/2)]) square([odx,flap], center=true);
    translate([0,-(ody/2 + flap/2)]) square([odx,flap], center=true);
    
    translate([-(odx/2 + flap/2), 0]) square([flap, ody], center=true);
    translate([ (odx/2 + flap/2), 0]) square([flap, ody], center=true);
  }
   

}

//PopufareHousingScreenCoverPlate();
