| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- include <PopufareHousingCommon.scad>
- include <PopufareHousingBottom.scad>
- include <PopufareHousingFrontAngle.scad>
- include <PopufareHousingFrontBottom.scad>
- include <PopufareHousingFrontInsideSupport1.scad>
- include <PopufareHousingFrontInsideSupport2.scad>
- include <PopufareHousingFrontInsideSupport3.scad>
- include <PopufareHousingFrontInsideSupport4.scad>
- include <PopufareHousingSideLeft.scad>
- include <PopufareHousingSideRight.scad>
- include <PopufareHousingTop.scad>
- include <PopufareHousingBack.scad>
- include <PopufareHousingInnerBack.scad>
- include <PopufareHousingBackLipAttachment.scad>
- spacing = 30;
- dw = POPUFARE_HOUSING_WIDTH;
- dh = POPUFARE_HOUSING_HEIGHT;
- dz = POPUFARE_HOUSING_DEPTH;
- dbacklip = POPUFARE_HOUSING_BACK_LIP_HEIGHT;
- iw = POPUFARE_INNER_PLATE_HOLE_WIDTH;
- ih = POPUFARE_INNER_PLATE_HOLE_HEIGHT;
- hh = POPUFARE_FRONT_HEIGHT;
- hz = dz-hh;
- //PopufareHousingBottomPlate();
- translate([ 0, dz/2 + 30, 0])
- PopufareHousingBackLipAttachmentPlate();
- translate( [ -(dw/2 + spacing), 0, dh/2 + spacing ] ) rotate(-90, [0,1,0]) rotate(-90, [0,0,1])
- PopufareHousingSideRightPlate();
- translate( [ (dw/2+spacing), 0, dh/2 + spacing ] ) rotate(90, [0,1,0]) rotate(90, [0,0,1])
- PopufareHousingSideLeftPlate();
- translate( [ 0, -(dh/2 + spacing), hh/2 + spacing]) rotate(90, [1,0,0])
- PopufareHousingFrontBottomPlate();
- translate( [ 0, -(dh/2 + spacing - 20), hh/2 + spacing]) rotate(90, [1,0,0])
- PopufareHousingFrontInsideSupport1Plate();
- translate( [ 0, -(dh/2 + spacing - 40), hh/2 + spacing]) rotate(90, [1,0,0])
- PopufareHousingFrontInsideSupport2Plate();
- translate( [ 0, -(dh/2 + spacing - 60), hh/2 + spacing]) rotate(90, [1,0,0])
- PopufareHousingFrontInsideSupport3Plate();
- translate( [ 0, -(dh/2 + spacing - 80), hh/2 + spacing]) rotate(90, [1,0,0])
- PopufareHousingFrontInsideSupport4Plate();
- translate( [ 0, -dz/2, hh + sqrt(2)*(dh-hh)/2 + spacing] ) rotate(45, [1,0,0])
- PopufareHousingFrontAnglePlate();
- translate( [ 0, dz/2 + spacing, dh/2 + spacing + dbacklip/2] ) rotate(90, [1,0,0])
- PopufareHousingBackPlate();
- translate( [ 0, dw/2 - 50, dz + spacing] ) PopufareHousingTopPlate();
- //---
- translate([ 0, -1.3*dh, 90])
- rotate(45, [1,0,0])
- PopufareHousingInnerBackPlate();
|