Added seal lip to linear_bearings.

This commit is contained in:
Chris Palmer 2020-03-24 17:20:59 +00:00
parent 268c066965
commit c1b5bd1b87
2 changed files with 7 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -26,7 +26,7 @@ use <../utils/tube.scad>
bearing_colour = grey70;
groove_colour = grey60;
seal_colour = grey20;
seal_colour = grey30;
function bearing_length(type) = type[1]; //! Total length
@ -61,5 +61,10 @@ module linear_bearing(type) { //! Draw specified linear bearing
color(bearing_colour) translate_z(offset+gs) tube(or = or, ir = casing_ir, h = offset, center = false);
}
}
color(seal_colour) tube(or = casing_ir, ir = bearing_rod_dia(type) / 2, h = length - 0.5);
rod_r = bearing_rod_dia(type) / 2;
color(seal_colour)
tube(or = casing_ir, ir = rod_r + eps, h = length - 0.5);
color(seal_colour * 0.8)
tube(or = rod_r * 1.12, ir = rod_r, h = length);
}