+chabd = 20;
+chablidw = 40;
+chabinnerh = 11;
+chabwallt = 2;
+chablidt = 2;
+chabwebt = 2.5;
+chabbaset = baset;
+chabbasew = 20;
+chabslot = 3;
+chablidholed = 3;
+
+module ChannelBracket(){
+ translate([0, -chabd, 0])
+ cube([chabwallt, chabd, chabinnerh+chablidt]);
+ translate([-chablidw, -chabd, chabinnerh]) {
+ difference(){
+ cube([chablidw + chabwallt - 0.1, chabd - 0.1, chablidt]);
+ translate([chablidw/2, chabd/2, -1])
+ cylinder(r=chablidholed/2, h=chablidt+2, $fn=20);
+ }
+ }
+ translate([chabwallt-0.1, -chabd, 0]) {
+ difference(){
+ cube([chabbasew, chabd-0.1, chabbaset]);
+ translate([chabbasew/2, (chabd-chabwebt)/2, 0])
+ rotate([0,0,90])
+ slothole(baseholesz, chabslot, baset, slop=baseholeslop);
+ }
+ }
+}
+