mirror of
https://github.com/nophead/Mendel90.git
synced 2025-08-13 16:53:57 +02:00
Bearing holder changes for Huxley.
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
@@ -11,10 +11,10 @@
|
|||||||
//
|
//
|
||||||
include <conf/config.scad>
|
include <conf/config.scad>
|
||||||
|
|
||||||
wall = 2.5; // wall thickness
|
relief = squeeze ? 0.25 : 0.5; // clearance in the middle to stop the bearing rocking
|
||||||
end_wall = 2.8;
|
wall = squeeze ? 3 * filament_width + relief + eta : 2.5; // wall thickness
|
||||||
clearance = 0.2; // end clearance
|
clearance = 0.2; // end clearance
|
||||||
relief = 0.5; // clearance in the middle to stop the bearing rocking
|
end_wall = min(default_wall, 3) - clearance;
|
||||||
ziptie_clearance = 1;
|
ziptie_clearance = 1;
|
||||||
|
|
||||||
ziptie = small_ziptie;
|
ziptie = small_ziptie;
|
||||||
@@ -24,17 +24,18 @@ zipslot_tickness = ziptie_thickness(ziptie) + ziptie_clearance;
|
|||||||
|
|
||||||
function bearing_holder_length(bearing) = bearing[0] + 2 * (end_wall + clearance);
|
function bearing_holder_length(bearing) = bearing[0] + 2 * (end_wall + clearance);
|
||||||
function bearing_holder_width(bearing) = bearing[1] + wall * 2;
|
function bearing_holder_width(bearing) = bearing[1] + wall * 2;
|
||||||
|
function zipslot_width() = zipslot_width;
|
||||||
|
|
||||||
function bearing_ziptie_radius(bearing) = bearing[1] / 2 + wall + eta;
|
function bearing_ziptie_radius(bearing) = bearing[1] / 2 + wall + eta;
|
||||||
|
|
||||||
module bearing_holder(bearing, bar_height, populate = false, rad = 0) {
|
module bearing_holder(bearing, bar_height, populate = false, rad = 0, tie_offset = 0) {
|
||||||
bearing_length = bearing[0];
|
bearing_length = bearing[0];
|
||||||
bearing_dia = bearing[1];
|
bearing_dia = bearing[1];
|
||||||
below = 5 * bearing_dia / 15;
|
below = 5 * bearing_dia / 15;
|
||||||
height = bar_height + bearing_dia/2 - below;
|
height = bar_height + bearing_dia / 2 - below;
|
||||||
offset = below + height / 2 - bearing_dia / 2;
|
offset = below + height / 2 - bearing_dia / 2;
|
||||||
fence = 2.5;
|
fence = 2.5;
|
||||||
fence_width = sqrt(bearing_dia * bearing_dia - 4 * below * below) + eta;
|
fence_width = sqrt(sqr(bearing_dia) - 4 * sqr(bearing_dia / 2 - fence)) + eta;
|
||||||
width = bearing_holder_width(bearing);
|
width = bearing_holder_width(bearing);
|
||||||
length = bearing_holder_length(bearing);
|
length = bearing_holder_length(bearing);
|
||||||
fence_offset = bearing_dia / 2 - fence + (fence + 1) /2;
|
fence_offset = bearing_dia / 2 - fence + (fence + 1) /2;
|
||||||
@@ -60,6 +61,7 @@ module bearing_holder(bearing, bar_height, populate = false, rad = 0) {
|
|||||||
rotate([90,0,0]) {
|
rotate([90,0,0]) {
|
||||||
cylinder(h = length + 1, r = bearing_dia / 2, center=true); // Bearing Cutout
|
cylinder(h = length + 1, r = bearing_dia / 2, center=true); // Bearing Cutout
|
||||||
cylinder(h = length / 2, r = bearing_dia / 2 + relief, center=true);// releave the center so does not rock
|
cylinder(h = length / 2, r = bearing_dia / 2 + relief, center=true);// releave the center so does not rock
|
||||||
|
translate([0, 0, tie_offset])
|
||||||
tube(h = zipslot_width, ir = bearing_dia / 2 + wall,
|
tube(h = zipslot_width, ir = bearing_dia / 2 + wall,
|
||||||
or = bearing_dia / 2 + wall + zipslot_tickness, fn=64); // ziptie slot
|
or = bearing_dia / 2 + wall + zipslot_tickness, fn=64); // ziptie slot
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user