| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- // 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 PopufareHousingBackLipAttachmentPlate() {
- de = POPUFARE_BRACKET_DE;
- w = POPUFARE_HOUSING_WIDTH;
- h = POPUFARE_HOUSING_BACK_LIP_SPACE + POPUFARE_HOUSING_BACK_LIP_INSET;
- h0 = POPUFARE_HOUSING_BACK_LIP_SPACE;
- h1 = POPUFARE_HOUSING_BACK_LIP_INSET;
- screw_ofx = POPUFARE_HOUSING_BACK_LIP_SCREW_OFFSET_SIDE_X;
- screw_ofy = POPUFARE_HOUSING_BACK_LIP_SCREW_OFFSET_BACK_Y;
- screw_dx = POPUFARE_HOUSING_BACK_LIP_SCREW_DX;
- screw_r = _LIP_SCREW_D/2;
- br = POPUFARE_BRACKET_D/2.0;
- bx = POPUFARE_BRACKET_CX;
- difference() {
- union() {
- square([w,h], center=true);
- }
- // helper to see where lip is
- //
- translate([-w/2, h/2 - h0]) square([4,1], center=true);
- translate([ w/2, h/2 - h0]) square([4,1], center=true);
- // lip screw attachments (1/4 inch bolt)
- //
- translate([ -screw_dx/2, (h/2 - screw_ofy) ]) circle(screw_r);
- translate([ screw_dx/2, (h/2 - screw_ofy) ]) circle(screw_r);
- // bracket to back plate
- //
- translate([ 0, (h/2 - h0 - bx)]) circle(br);
- // bracket to side plates
- //
- translate([ -(w/2 - bx), (h/2 - h0 - h1/2)]) circle(br);
- translate([ (w/2 - bx), (h/2 - h0 - h1/2)]) circle(br);
- }
- }
|