add base
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -2,16 +2,20 @@
|
||||
|
||||
function plot() {
|
||||
main_not_side=$(test $1 == "main" && echo 1 || echo 0)
|
||||
openscad -o winchs_$1_$2.stl -D main_not_side=$main_not_side -D plot=\"$2\" winche.scad
|
||||
openscad -o winche_$1_$2.stl -D main_not_side=$main_not_side -D plot=\"$2\" winche.scad
|
||||
}
|
||||
|
||||
plot main full
|
||||
plot main side
|
||||
plot main sideL
|
||||
plot main sideR
|
||||
plot main mid
|
||||
plot main roller
|
||||
plot main base
|
||||
|
||||
plot side full
|
||||
plot side side
|
||||
plot side sideL
|
||||
plot side sideR
|
||||
plot side mid
|
||||
plot side roller
|
||||
plot side base
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
include <heat_set_inserts.scad>
|
||||
|
||||
main_not_side = 0; // 0,1
|
||||
plot = "full"; // [sideL|sideR|mid|roller|full]
|
||||
plot = "full"; // [sideL|sideR|mid|roller|base|full]
|
||||
|
||||
base_len = main_not_side ? 180 : 60;
|
||||
base_hight = 6;
|
||||
@@ -26,7 +26,7 @@ side_arch_r = 21;
|
||||
side_arch_center_h = roller_above_base - 10;
|
||||
side_mount_hole_sep = 35;
|
||||
side_mount_hole_above_base = 1;
|
||||
side_mount_hole_d = 4;
|
||||
side_mount_hole_d = 4.2;
|
||||
side_bearing_od = 10.1;
|
||||
|
||||
mid_arch_roler_cut_r = main_not_side ? 23 : 18;
|
||||
@@ -78,8 +78,6 @@ module winch_side_2d(){
|
||||
[side_width, 0]
|
||||
]);
|
||||
}
|
||||
// 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])
|
||||
heatSetInsert_hole_2d_M3();
|
||||
translate([(side_width/2)+(side_mount_hole_sep/2), side_mount_hole_d/2 + side_mount_hole_above_base])
|
||||
@@ -198,6 +196,8 @@ module mid_3d() {
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
// holes to mount sides
|
||||
translate([0, base_width*1.5, base_hight])
|
||||
rotate([90, 0, 0]) {
|
||||
translate([matt_thingness+(side_width/2)-(side_mount_hole_sep/2), side_mount_hole_d/2 + side_mount_hole_above_base])
|
||||
@@ -211,6 +211,19 @@ module mid_3d() {
|
||||
translate([matt_thingness+base_len/2+(side_width/2)+(side_mount_hole_sep/2), side_mount_hole_d/2 + side_mount_hole_above_base])
|
||||
cylinder(h = base_width*2, d = side_mount_hole_d+0.0001);
|
||||
}
|
||||
|
||||
// holes to mount to base
|
||||
translate([matt_thingness+side_width/2, base_width/2, 0]) {
|
||||
cylinder(h = 100, d = 4);
|
||||
translate([0, 0, base_hight + matt_thingness])
|
||||
cylinder(h = 100, d = 8);
|
||||
}
|
||||
if (main_not_side)
|
||||
translate([matt_thingness+side_width/2+base_len/2, base_width/2, 0]) {
|
||||
cylinder(h = 100, d = 4);
|
||||
translate([0, 0, base_hight + matt_thingness])
|
||||
cylinder(h = 100, d = 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,6 +274,20 @@ module roller_back() {
|
||||
roller_3d();
|
||||
}
|
||||
|
||||
module base() {
|
||||
difference() {
|
||||
translate(v = [.5, .5, 0])
|
||||
cube([base_len-1, base_width-1, base_hight]);
|
||||
translate([side_width/2, base_width/2, 0])
|
||||
scale([1, 1, 2])
|
||||
heatSetInsert_hole_M4x8_1();
|
||||
if (main_not_side)
|
||||
translate([side_width/2+base_len/2, base_width/2, 0])
|
||||
scale([1, 1, 2])
|
||||
heatSetInsert_hole_M4x8_1();
|
||||
}
|
||||
}
|
||||
|
||||
module full() {
|
||||
side_right();
|
||||
side_left();
|
||||
@@ -268,6 +295,8 @@ module full() {
|
||||
roller_front();
|
||||
if (main_not_side)
|
||||
roller_back();
|
||||
translate([matt_thingness, 0, 0])
|
||||
base();
|
||||
}
|
||||
|
||||
if (plot == "full")
|
||||
@@ -285,6 +314,8 @@ if (plot == "mid")
|
||||
if (plot == "roller")
|
||||
rotate([90, 0, 0])
|
||||
roller_3d();
|
||||
if (plot == "base")
|
||||
base();
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
4174
3d/winche/winche_main_base.stl
Normal file
4174
3d/winche/winche_main_base.stl
Normal file
File diff suppressed because it is too large
Load Diff
85654
3d/winche/winche_main_full.stl
Normal file
85654
3d/winche/winche_main_full.stl
Normal file
File diff suppressed because it is too large
Load Diff
22262
3d/winche/winche_main_mid.stl
Normal file
22262
3d/winche/winche_main_mid.stl
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
14534
3d/winche/winche_main_sideL.stl
Normal file
14534
3d/winche/winche_main_sideL.stl
Normal file
File diff suppressed because it is too large
Load Diff
22710
3d/winche/winche_main_sideR.stl
Normal file
22710
3d/winche/winche_main_sideR.stl
Normal file
File diff suppressed because it is too large
Load Diff
2130
3d/winche/winche_side_base.stl
Normal file
2130
3d/winche/winche_side_base.stl
Normal file
File diff suppressed because it is too large
Load Diff
43402
3d/winche/winche_side_full.stl
Normal file
43402
3d/winche/winche_side_full.stl
Normal file
File diff suppressed because it is too large
Load Diff
11342
3d/winche/winche_side_mid.stl
Normal file
11342
3d/winche/winche_side_mid.stl
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
7254
3d/winche/winche_side_sideL.stl
Normal file
7254
3d/winche/winche_side_sideL.stl
Normal file
File diff suppressed because it is too large
Load Diff
11678
3d/winche/winche_side_sideR.stl
Normal file
11678
3d/winche/winche_side_sideR.stl
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user