1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-01-17 04:48:15 +01:00

Modified tube caps for huxley.

This commit is contained in:
Chris Palmer 2016-01-06 16:25:27 +00:00
parent be0367d93d
commit b48b2168a8

View File

@ -74,7 +74,7 @@ module tube_cap_stl() {
cube([w_inner - 1, h_inner - 1, height + 1]); cube([w_inner - 1, h_inner - 1, height + 1]);
} }
translate([0, h_inner / 2 - nut_thickness(base_nut, true) - 1.5, base_screw_offset + tube_end_clearance + wall]) translate([0, h_inner / 2 - nut_thickness(base_nut, true) - (squeeze ? 0.5 : 1.5), base_screw_offset + tube_end_clearance + wall])
rotate([-90, 90, 0]) { rotate([-90, 90, 0]) {
hull() hull()
for(z = [-1, 1]) for(z = [-1, 1])
@ -82,7 +82,8 @@ module tube_cap_stl() {
cylinder(r = nut_radius(base_nut), $fn = 6, h = 100); cylinder(r = nut_radius(base_nut), $fn = 6, h = 100);
rotate([0,0,90]) rotate([0,0,90])
teardrop_plus(r = screw_clearance_radius(base_screw), h = 100, center = true); translate([0, 0, squeeze ? -1 : -50])
teardrop_plus(r = screw_clearance_radius(base_screw), h = 100);
} }
} }
} }
@ -93,10 +94,13 @@ module tube_cap_stl() {
module tube_assembly() { module tube_assembly() {
color("silver") render() base_tube(); color("silver") render(convexity = 3) base_tube();
translate([0, -(base_depth / 2 - fixing_block_width() / 2 - base_clearance), sheet_thickness(base)]) { translate([0, -(base_depth / 2 - fixing_block_width() / 2 - base_clearance), sheet_thickness(base)]) {
translate([0, 0, exploded * 20]) translate([0, 0, exploded * 20])
if(base_screw == M3_cap_screw)
screw_and_washer(base_screw, 10);
else
washer(screw_washer(base_screw)) washer(screw_washer(base_screw))
translate([0, 0, exploded * 6]) translate([0, 0, exploded * 6])
washer(screw_washer(base_screw)) washer(screw_washer(base_screw))