use heat set inserts and add bearing

This commit is contained in:
2024-11-07 19:58:59 +01:00
parent a8c4545d22
commit e4d7a0f75e
2 changed files with 276 additions and 19 deletions

View File

@@ -0,0 +1,233 @@
module heatSetInsert_wall(D3, L, w)
{
difference() {
cylinder(h = L+1, r = D3/2+w);
cylinder(h = L+1, r = D3/2);
}
}
module heatSetInsert_2d_wall(D3, L, w)
{
difference() {
circle(r = D3/2+w);
circle(r = D3/2);
}
}
module heatSetInsert_hole(D3, L, w)
{
cylinder(h = L+1, r = D3/2);
}
module heatSetInsert_hole_2d(D3, L, w)
{
circle(r = D3/2);
}
// M2
module heatSetInsert_wall_2d_M2()
{
heatSetInsert_wall_2d(L=3.0, D3=3.2, w=1.3);
}
module heatSetInsert_hole_2d_M2()
{
heatSetInsert_hole_2d(L=3.0, D3=3.2, w=1.3);
}
module heatSetInsert_wall_M2x2()
{
heatSetInsert_wall(L=3.0, D3=3.2, w=1.3);
}
module heatSetInsert_hole_M2x2()
{
heatSetInsert_hole(L=3.0, D3=3.2, w=1.3);
}
// M2.5
module heatSetInsert_wall_2d_M2_5x4()
{
heatSetInsert_wall_2d(L=4.0, D3=4.0, w=1.6);
}
module heatSetInsert_hole_2d_M2_5x4()
{
heatSetInsert_hole_2d(L=4.0, D3=4.0, w=1.6);
}
module heatSetInsert_wall_M2_5x4()
{
heatSetInsert_wall(L=4.0, D3=4.0, w=1.6);
}
module heatSetInsert_hole_M2_5x4()
{
heatSetInsert_hole(L=4.0, D3=4.0, w=1.6);
}
// M3
module heatSetInsert_wall_2d_M3()
{
heatSetInsert_wall_2d(L=5.7, D3=4.0, w=1.6);
}
module heatSetInsert_hole_2d_M3()
{
heatSetInsert_hole_2d(L=5.7, D3=4.0, w=1.6);
}
module heatSetInsert_wall_M3x5_7()
{
heatSetInsert_wall(L=5.7, D3=4.0, w=1.6);
}
module heatSetInsert_hole_M3x5_7()
{
heatSetInsert_hole(L=5.7, D3=4.0, w=1.6);
}
module heatSetInsert_wall_M3x3()
{
heatSetInsert_wall(L=3.0, D3=4.0, w=1.6);
}
module heatSetInsert_hole_M3x3()
{
heatSetInsert_hole(L=3.0, D3=4.0, w=1.6);
}
module heatSetInsert_wall_M3x5x4_voron()
{
heatSetInsert_wall(L=4.4, D3=4.4, w=1.6);
}
module heatSetInsert_wall_2d_M3x5x4_voron()
{
heatSetInsert_wall_2d(L=4.4, D3=4.4, w=1.6);
}
module heatSetInsert_hole_M3x5x4_voron()
{
heatSetInsert_hole(L=4.4, D3=4.4, w=1.6);
}
module heatSetInsert_hole_2d_M3x5x4_voron()
{
heatSetInsert_hole_2d(L=4.4, D3=4.4, w=1.6);
}
// M4
module heatSetInsert_wall_2d_M4()
{
heatSetInsert_wall_2d(L=8.1, D3=5.7, w=2.1);
}
module heatSetInsert_hole_2d_M4()
{
heatSetInsert_hole_2d(L=8.1, D3=5.7, w=2.1);
}
module heatSetInsert_wall_M4x8_1()
{
heatSetInsert_wall(L=8.1, D3=5.7, w=2.1);
}
module heatSetInsert_hole_M4x8_1()
{
heatSetInsert_hole(L=8.1, D3=5.7, w=2.1);
}
module heatSetInsert_wall_M4x4()
{
heatSetInsert_wall(L=4.0, D3=5.7, w=2.1);
}
module heatSetInsert_hole_M4x4()
{
heatSetInsert_hole(L=4.0, D3=5.7, w=2.1);
}
// M5
module heatSetInsert_wall_2d_M5()
{
heatSetInsert_wall_2d(L=9.5, D3=6.5, w=2.6);
}
module heatSetInsert_hole_2d_M5()
{
heatSetInsert_hole_2d(L=9.5, D3=6.5, w=2.6);
}
module heatSetInsert_wall_M5x9_5()
{
heatSetInsert_wall(L=9.5, D3=6.5, w=2.6);
}
module heatSetInsert_hole_M5x9_5()
{
heatSetInsert_hole(L=9.5, D3=6.5, w=2.6);
}
module heatSetInsert_wall_M5x5_8()
{
heatSetInsert_wall(L=5.8, D3=6.5, w=2.6);
}
module heatSetInsert_hole_M5x5_8()
{
heatSetInsert_hole(L=5.8, D3=6.5, w=2.6);
}
// M6
module heatSetInsert_wall_2d_M6()
{
heatSetInsert_wall_2d(L=12.7, D3=8.1, w=3.3);
}
module heatSetInsert_hole_2d_M6()
{
heatSetInsert_hole_2d(L=12.7, D3=8.1, w=3.3);
}
module heatSetInsert_wall_M6x12_7()
{
heatSetInsert_wall(L=12.7, D3=8.1, w=3.3);
}
module heatSetInsert_hole_M6x12_7()
{
heatSetInsert_hole(L=12.7, D3=8.1, w=3.3);
}
// M8
module heatSetInsert_wall_2d_M8x12_7()
{
heatSetInsert_wall_2d(L=12.7, D3=9.7, w=4.5);
}
module heatSetInsert_hole_2d_M8x12_7()
{
heatSetInsert_hole_2d(L=12.7, D3=9.7, w=4.5);
}
module heatSetInsert_wall_M8x12_7()
{
heatSetInsert_wall(L=12.7, D3=9.7, w=4.5);
}
module heatSetInsert_hole_M8x12_7()
{
heatSetInsert_hole(L=12.7, D3=9.7, w=4.5);
}
// M10
module heatSetInsert_wall_2d_M10x12_7()
{
heatSetInsert_wall_2d(L=12.7, D3=12, w=6);
}
module heatSetInsert_hole_2d_M10x12_7()
{
heatSetInsert_hole_2d(L=12.7, D3=12, w=6);
}
module heatSetInsert_wall_M10x12_7()
{
heatSetInsert_wall(L=12.7, D3=12, w=6);
}
module heatSetInsert_hole_M10x12_7()
{
heatSetInsert_hole(L=12.7, D3=12, w=6);
}

View File

@@ -1,5 +1,7 @@
main_not_side = 1; // 0,1
plot = "side"; // [side|mid|roller|full]
include <heat_set_inserts.scad>
main_not_side = 0; // 0,1
plot = "full"; // [sideL|sideR|mid|roller|full]
base_len = main_not_side ? 180 : 60;
base_hight = 6;
@@ -17,14 +19,14 @@ motor_shaft_d = 5;
motor_shaft_base_hole = 8.5;
motor_shaft_offCenter = 6;
motor_mount_sep = 31;
motor_mount_d = 4;
side_width = 50;
side_arch_r = 21;
side_arch_center_h = roller_above_base - 10;
side_arch_center_h = roller_above_base - 7;
side_mount_hole_sep = 35;
side_mount_hole_above_base = 1;
side_mount_hole_d = 4;
side_bearing_od = 10.1;
mid_arch_roler_cut_r = main_not_side ? 23 : 18;
mid_winch_flansh_space = roller_flansh_t + 1;
@@ -57,9 +59,9 @@ module motor_mount_2d(){
union() {
circle(d=motor_shaft_base_hole);
translate([motor_mount_sep/2, -motor_shaft_offCenter])
circle(d=motor_mount_d);
heatSetInsert_hole_2d_M4();
translate([-(motor_mount_sep/2), -motor_shaft_offCenter])
circle(d=motor_mount_d);
heatSetInsert_hole_2d_M4();
}
}
@@ -75,12 +77,12 @@ module winch_side_2d(){
[side_width, 0]
]);
}
translate([side_width/2, roller_above_base])
motor_mount_2d();
// translate([side_width/2, roller_above_base])
// motor_mount_2d();
translate([(side_width/2)-(side_mount_hole_sep/2), side_mount_hole_d/2 + side_mount_hole_above_base])
circle(d = side_mount_hole_d);
heatSetInsert_hole_2d_M3();
translate([(side_width/2)+(side_mount_hole_sep/2), side_mount_hole_d/2 + side_mount_hole_above_base])
circle(d = side_mount_hole_d);
heatSetInsert_hole_2d_M3();
}
}
@@ -96,6 +98,26 @@ module side_2d() {
}
}
module side_motor_2d() {
difference() {
side_2d();
translate([matt_thingness+side_width/2, base_hight+roller_above_base])
motor_mount_2d();
translate([matt_thingness+base_len/2+side_width/2, base_hight+roller_above_base])
motor_mount_2d();
}
}
module side_bearing_2d() {
difference() {
side_2d();
translate([matt_thingness+side_width/2, base_hight+roller_above_base])
circle(r = side_bearing_od);
translate([matt_thingness+base_len/2+side_width/2, base_hight+roller_above_base])
circle(r = side_bearing_od);
}
}
module mid_winch_2d() {
difference() {
union() {
@@ -191,21 +213,18 @@ module mid_3d() {
}
}
module side_3d() {
linear_extrude(matt_thingness)
side_2d();
}
module side_right() {
translate([0, -0.0001, -0.0001])
rotate([90, 0, 0])
side_3d();
linear_extrude(matt_thingness)
side_motor_2d();
}
module side_left() {
translate([0, base_width+matt_thingness+0.0001, -0.0001])
rotate([90, 0, 0])
side_3d();
linear_extrude(matt_thingness)
side_bearing_2d();
}
module roller_3d() {
@@ -243,8 +262,13 @@ module full() {
if (plot == "full")
full();
if (plot == "side")
side_3d();
if (plot == "sideL")
rotate([-90, 0, 0])
translate([0, -base_width-matt_thingness-0.0001, +0.0001])
side_left();
if (plot == "sideR")
rotate([-90, 0, 0])
side_right();
if (plot == "mid")
translate([0, 0, -base_hight])
mid_3d();