tube_dia = 18;
-attach_cx = -15;
-attach_cdy = -5;
+attach_cx = -7;
+attach_cdy = 0;
attach_w = 25;
-attach_inrad = 25; ///
-attach_hole_dist = 5; ///
-attach_hole_dia = 4 + 0.5; ///
+attach_inrad = 25;
+attach_hole_dist = 5;
+attach_hole_dia = 4 + 0.5;
attach_ang = 45;
attach_dz = 2;
comp_xsz = 45;
comp_zsz = 28;
+comp_dy = 5;
+
+comp_slope = 60;
+
leftend_zsz = 10;
leftend_dz = comp_zsz * 0.6;
module Cutouts(){
Tube();
Bolts();
+ Computer();
}
module Body(){
}
}
+module Computer(){
+ multmatrix([[1,0,0,0],
+ [0,1, tan(90-comp_slope), 0],
+ [0,0,1,0],
+ [0,0,0,1]])
+ translate([-comp_dx - comp_xsz/2, -cover_ysz + comp_dy, -50])
+ cube([comp_xsz, 100, comp_zsz + 50]);
+}
+
module Tube(){
- %translate([attach_cx, -attach_cdy, -tube_dia/2 - 0.1 - attach_dz]) {
+ translate([attach_cx, -attach_cdy, -tube_dia/2 - 0.1 - attach_dz]) {
rotate_extrude(convexity=10) {
translate([attach_inrad + tube_dia/2, 0])
circle(r=tube_dia/2);