forked from T3P3/kossel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame_top.scad
24 lines (21 loc) · 865 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
include <configuration.scad>;
use <T3P3_additions/teardrop.scad>;
use <T3P3_additions/vertex.scad>;
$fn = 24;
module frame_top() {
difference() {
vertex(extrusion, idler_offset=3, idler_space=12.5);
// M3 bolt to support idler bearings.
translate([0, 65, 0]) rotate([90, 0, 0]) teardrop(h=55,r=m3_radius,truncate=true);
translate([0, 46, 0]) rotate([90, 0, 0]) teardrop(h=12,r=m3_wide_radius,truncate=true);
// cylinder(r=m3_radius, h=55);
// Vertical belt tensioner.
translate([0, 10, 0]) rotate([18, 0, 0]) union() {
cylinder(r=m3_wide_radius, 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=m3_nut_radius, r2=m3_nut_radius+1, h=10, $fn=6);
}
}
}
translate([0, 0, 7.5]) frame_top();