// 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 PopufareHousingInnerTopPlate() {
  _r = 3;
  _outr = 16;

  hole_width  = POPUFARE_INNER_PLATE_HOLE_WIDTH;
  hole_height = POPUFARE_INNER_PLATE_HOLE_HEIGHT;

  w2 = hole_width/2;
  h2 = hole_height/2;
  x = hole_width + _outr;
  y = hole_height + _outr;

  w2 = hole_width/2;
  h2 = hole_height/2;
  difference() {
    rounded_rect(x,y, _r);
    
    rounded_rect(hole_width-_outr/2, hole_height-_outr/2, _r);
    
    translate([-hole_width/2, -hole_height/2]) circle(_M3r);
    translate([ hole_width/2, -hole_height/2]) circle(_M3r);
    translate([ hole_width/2,  hole_height/2]) circle(_M3r);
    translate([-hole_width/2,  hole_height/2]) circle(_M3r);
 

  }
}

//PopufareHousingInnerTopPlate();
