tube_dia = 18;
screw_hole_z = 13;
-beamacross_h = 15;
+screw_dia = 4 + 0.75;
+
+beam_h = 15;
+beam_th = 4.5;
+wings_height = 15;
$fs = 0.1;
$fa = 3;
tubeswidth_bot +
(tubeswidth_top - tubeswidth_bot) * (z / tubeswidth_dz);
-bracket_bot_z = screw_hole_z - beamacross_h/2;
-bracket_top_z = screw_hole_z + beamacross_h/2;
+bracket_bot_z = screw_hole_z - beam_h/2;
+bracket_top_z = screw_hole_z + beam_h/2;
bracket_bot_xsz = tubeswidth_at_z(bracket_bot_z) + tube_dia * 1.5;
bracket_top_xsz = tubeswidth_at_z(bracket_top_z) + tube_dia * 1.5;
}
}
-module BracketAcrossElevation(){
+module BracketBeamElevation(){
hull(){
translate([ 0, bracket_bot_z ])
rectfromto([ -bracket_bot_xsz/2, 0 ],
}
}
-module ElevationDemo(){
+module Bracket(){ ////toplevel
+ difference(){
+ union(){
+ linextr(0, wings_height) {
+ for (m=[0,1])
+ mirror([m, 0])
+ WingElevation();
+ }
+ linextr(0, beam_th)
+ BracketBeamElevation();
+ }
+ linextr(-1, wings_height+1) {
+ for (m=[0,1])
+ mirror([m, 0])
+ WingCupElevationNegative();
+ translate([ 0, screw_hole_z ])
+ circle(screw_dia/2);
+ }
+ }
+}
+
+module ElevationDemo(){ ////toplevel
translate([0,0,2]) color("red") WingCupElevationNegative();
translate([0,0,1]) color("blue") WingElevation();
WingCupElevationPositive();
- BracketAcrossElevation();
+ BracketBeamElevation();
AtWingCupElevation(){
translate([0,0,-2]) color("grey") {
rectfromto([0,0], [10,10]);
}
}
}
-
-/*WingsElevation () {
- difference(){
-
- }
-}
-
-*/
-
-ElevationDemo();