housing_layout.scad 943 B

123456789101112131415161718192021222324252627282930
  1. include <PopufareHousingCommon.scad>
  2. include <PopufareHousingBottom.scad>
  3. include <PopufareHousingFrontAngle.scad>
  4. include <PopufareHousingFrontBottom.scad>
  5. include <PopufareHousingSideLeft.scad>
  6. include <PopufareHousingSideRight.scad>
  7. include <PopufareHousingTop.scad>
  8. include <PopufareHousingBack.scad>
  9. spacing = 10;
  10. dw = POPUFARE_HOUSING_WIDTH;
  11. dh = POPUFARE_HOUSING_HEIGHT;
  12. dz = POPUFARE_HOUSING_DEPTH;;
  13. hh = POPUFARE_FRONT_HEIGHT;
  14. hz = dz-hh;
  15. PopufareHousingBottomPlate();
  16. translate( [ -(dw+spacing), 0 ] ) rotate(90, [0,0,1]) PopufareHousingSideLeftPlate();
  17. translate( [ (dw+spacing), 0 ] ) rotate(-90, [0,0,1]) PopufareHousingSideRightPlate();
  18. translate( [ 0, -(dz/2 + hh/2 + spacing)] ) PopufareHousingFrontBottomPlate();
  19. translate( [ 0, -(dz + hh + 2*spacing)] ) PopufareHousingFrontAnglePlate();
  20. translate( [ 0, dz + spacing ] ) PopufareHousingBackPlate();
  21. translate( [ 0, dz + hz + 2*spacing] ) PopufareHousingTopPlate();