forked from jcrocholl/kossel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame_top.scad
39 lines (30 loc) · 974 Bytes
/
frame_top.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//include <configuration.scad>;
extrusion=15;
use <vertex.scad>;
$fn = 24;
module frame_top() {
m3nutRad = 5.45/2/cos(30) + 0.1;
difference() {
vertex(extrusion);
// M3 bolt to support idler bearings.
//translate([0, 65, 0]) rotate([90, 0, 0]) cylinder(r=m3_radius, h=55);
// Vertical belt tensioner.
%translate([0, 10, 0]) rotate([18, 0, 0]) union() {
cylinder(r=2.94/2+.2, h=30, center=true);
//translate([0, -3, 8]) cube([2*m3_wide_radius, 6, 12], center=true);
translate([0, 0, -2]) scale([1, 1, -1]) rotate([0, 0, 30])
cylinder(r1=m3nutRad-0.1, r2=m3nutRad+0.3, h=10, $fn=6);
}
}
}
use <support.scad>;
union() {
translate([0, 0, 7.5]) rotate([0,180,0]) frame_top();
//vertexPad();
mirror([1,0,0]) endBrace(extrusion);
endBrace(extrusion);
color("Cyan") { // support material
for (a=[-1,1]) supportPillar(18.2*a,-1,5);
translate([0,0,5]) supportPillar(0,-5,5,r=0.7);
}
}