13 archoutwards=(pillarthick-archthick)/sqrt(8);
17 include <Libs.scad> // Libs.scad is @ http://www.thingiverse.com/thing:6021
21 frameheight= motorheight + frameextra;
22 slopeheight= totalheight - frameheight;
23 slope = (mw2 + archoutwards - framesplay)/slopeheight;
26 translate([-mw2,-mw2,0]) union(){
29 cylinder(r=pillarthick/2, h=frameheight);
30 translate([0,0,frameheight])
31 sphere(r=pillarthick/2);
34 cube([mw2,mw2,frameheight+pillarthick+2]);
38 ([ [ 1, 0, slope, -archoutwards ],
39 [ 0, 1, slope, -archoutwards ],
40 [ 0, 0, 1, frameheight ],
42 translate([0,0,-frameextra])
43 cylinder(r=archthick/2,
44 h=slopeheight+frameextra);
46 cylinder(r=pillarthick/2, h=frameheight);
47 translate([-100,-100,frameheight])
55 spacesz = (motorwidth - pillarthick/2*2) / 4;
56 panelheight = spacesz + sidethick;
57 panelbasez = motorheight+pillarthick/4-panelheight;
58 translate([0,-mw2,0]) {
59 translate([-mw2,-sidethick,0])
60 cube([motorwidth,sidethick,sidethick]);
62 translate([-mw2,-sidethick, panelbasez])
63 cube([mw2,sidethick,panelheight]);
64 translate([-mw2+pillarthick/3, -sidethick, panelbasez])
67 cube([spacesz * sqrt(2),
72 for (xz=[[-mw2+pillarthick/3-sidethick, 0,
73 panelbasez+sidethick],
74 [0, 0, panelbasez + sidethick/sqrt(2)]]) {
76 translate([0,-sidethick,0])
78 translate([0,0,-sidethick])
79 cube([100, sidethick, sidethick]);
81 translate([-mw2,-sidethick,0])
82 cube([motorwidth,sidethick,
83 motorheight+pillarthick]);
91 for (angle=[0,90,180,270])
92 rotate([0,0,angle]) corner();
93 for (angle=[0,90,180]) {
94 rotate([0,0,angle]) halfside();
95 rotate([0,0,angle]) mirror([1,0,0]) halfside();
98 multmatrix([[ -1, 0, 0, -mw2 - botleftstand ],
100 [ 1, 0, 1, -100 + botleftgap ],
104 translate([0,0,totalheight])
106 dovetail(height=10.1, male=true);
111 // translate([-100,-100,0]) cube([200,200,32]);