| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- // 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 PopufareHousingBackPlate() {
- dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
- top_dh = POPUFARE_HOUSING_HEIGHT - POPUFARE_FRONT_HEIGHT;
- lip = _MATERIAL_THICKNESS;
- top_w = POPUFARE_HOUSING_WIDTH;
- top_h = POPUFARE_HOUSING_DEPTH-dh;
- back_w = POPUFARE_HOUSING_WIDTH;
- back_h = POPUFARE_HOUSING_HEIGHT - POPUFARE_HOUSING_BACK_LIP_HEIGHT;
- lip_w = POPUFARE_HOUSING_WIDTH;
- lip_h = POPUFARE_HOUSING_BACK_LIP_SPACE;
- bend_thick = 1.5;
- bend_w = POPUFARE_HOUSING_WIDTH;
- bend_h = bend_thick;
- screw_ofy = POPUFARE_HOUSING_BACK_LIP_SCREW_OFFSET_BACK_Y;
- screw_dx = POPUFARE_HOUSING_BACK_LIP_SCREW_DX;
- screw_r = _LIP_SCREW_D/2;
- notch_w = 5;
- notch_h = 5;
- difference() {
- union() {
- translate([0,-(back_h/2+bend_thick+top_h/2)]) square([top_w, top_h], center=true);
- translate([0,-(back_h/2+bend_thick/2)]) square([bend_w,bend_h], center=true);
- square([back_w,back_h], center=true);
- translate([0,(back_h/2+bend_thick/2)]) square([bend_w, bend_h], center=true);
- translate([0,(back_h/2+bend_thick+lip_h/2)]) square([lip_w,lip_h], center=true);
- }
- // notches
- //
- translate([-(bend_w/2-notch_w/2),-(back_h/2+bend_thick/2)]) square([notch_w,notch_h], center=true);
- translate([ (bend_w/2-notch_w/2),-(back_h/2+bend_thick/2)]) square([notch_w,notch_h], center=true);
- translate([-(bend_w/2-notch_w/2), (back_h/2+bend_thick/2)]) square([notch_w,notch_h], center=true);
- translate([ (bend_w/2-notch_w/2), (back_h/2+bend_thick/2)]) square([notch_w,notch_h], center=true);
-
- // attachment holes
- //
- translate([-screw_dx/2, (back_h/2 + lip_h - screw_ofy)]) circle(screw_r);
- translate([ screw_dx/2, (back_h/2 + lip_h - screw_ofy)]) circle(screw_r);
- }
-
- }
- //PopufareHousingBackPlate();
|