|
|
@@ -10,41 +10,44 @@ include <PopufareHousingCommon.scad>
|
|
|
|
|
|
module PopufareHousingFrontAnglePlate() {
|
|
|
dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
|
|
|
-
|
|
|
+
|
|
|
w = POPUFARE_HOUSING_WIDTH;
|
|
|
h = sqrt(2.0)*dh;
|
|
|
|
|
|
bx = POPUFARE_BRACKET_CX;
|
|
|
br = POPUFARE_BRACKET_D/2.0;
|
|
|
de = POPUFARE_BRACKET_DE;
|
|
|
+ des = POPUFARE_BRACKET_DE_SHORT;
|
|
|
|
|
|
lip = _MATERIAL_THICKNESS;
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
screen_w = POPUFARE_SCREEN_WIDTH;
|
|
|
screen_h = POPUFARE_SCREEN_HEIGHT;
|
|
|
screen_cx = 0;
|
|
|
screen_cy = 0;
|
|
|
- screen_attach_dw = screen_w + 8;
|
|
|
- screen_attach_dh = screen_h + 8;
|
|
|
-
|
|
|
+ //screen_attach_dw = screen_w + 8;
|
|
|
+ //screen_attach_dh = screen_h + 8;
|
|
|
+ screen_attach_dw = POPUFARE_INNER_PLATE_HOLE_WIDTH;
|
|
|
+ screen_attach_dh = POPUFARE_INNER_PLATE_HOLE_HEIGHT;
|
|
|
+
|
|
|
difference() {
|
|
|
union() {
|
|
|
square([w,h], center=true);
|
|
|
-
|
|
|
+
|
|
|
// lip to cover bottom plate
|
|
|
//
|
|
|
- translate([0,-(h/2 + lip/2)]) square([w,lip], center=true);
|
|
|
- translate([0, (h/2 + lip/2)]) square([w,lip], center=true);
|
|
|
+ translate([0,-(h/2 + lip/2)]) square([w,lip + 0.25], center=true);
|
|
|
+ translate([0, (h/2 + lip/2)]) square([w,lip + 0.25], center=true);
|
|
|
};
|
|
|
-
|
|
|
- // attach to site plate brackets
|
|
|
+
|
|
|
+ // attach to side plate brackets
|
|
|
//
|
|
|
- translate([ -(w/2 - bx), -(h/2-de) ]) circle(br);
|
|
|
- translate([ -(w/2 - bx), (h/2-de) ]) circle(br);
|
|
|
- translate([ (w/2 - bx), -(h/2-de) ]) circle(br);
|
|
|
- translate([ (w/2 - bx), (h/2-de) ]) circle(br);
|
|
|
-
|
|
|
+ translate([ -(w/2 - bx), -(h/2-des) ]) circle(br);
|
|
|
+ translate([ -(w/2 - bx), (h/2-des) ]) circle(br);
|
|
|
+ translate([ (w/2 - bx), -(h/2-des) ]) circle(br);
|
|
|
+ translate([ (w/2 - bx), (h/2-des) ]) circle(br);
|
|
|
+
|
|
|
// screen center
|
|
|
//
|
|
|
translate([screen_cx, screen_cy]) square([screen_w, screen_h], center=true);
|
|
|
@@ -52,7 +55,7 @@ module PopufareHousingFrontAnglePlate() {
|
|
|
translate([screen_cx, screen_cy]) translate([ screen_attach_dw/2,-screen_attach_dh/2]) circle(_M3r);
|
|
|
translate([screen_cx, screen_cy]) translate([-screen_attach_dw/2,-screen_attach_dh/2]) circle(_M3r);
|
|
|
translate([screen_cx, screen_cy]) translate([-screen_attach_dw/2, screen_attach_dh/2]) circle(_M3r);
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|