| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // 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;
- aw = (w/2-bx)/1.5;
- ah = 1.9*h1;
- 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);
-
- translate([ -w/4.5, -h/2 ]) rounded_rect(aw, ah, 3);
- translate([ w/4.5, -h/2 ]) rounded_rect(aw, ah, 3);
- }
- }
- //PopufareHousingBackLipAttachmentPlate();
|