tevo-tarantula-updates/X Carriage/e3d v6.scad

156 lines
4.0 KiB
OpenSCAD
Raw Permalink Normal View History

2021-08-21 19:00:36 +00:00
include <../lib/common.scad>;
$fn = 100;
2021-08-23 13:17:52 +00:00
width = 35;
depth = 30;
2021-08-23 13:17:52 +00:00
e3d_width = 22;
part = "mount";
2021-08-21 19:51:02 +00:00
difference() {
2021-08-23 13:17:52 +00:00
distance = width / 2;
2021-08-21 19:51:02 +00:00
// part
if (part == "mount") {
translate([0, 0, 0])
2021-08-23 13:17:52 +00:00
cube([width, 15, 42.5]);
2021-08-21 19:51:02 +00:00
} else if (part == "cover") {
translate([0, 15, 0])
2021-08-23 13:17:52 +00:00
cube([width, 15, 42.5]);
2021-08-21 19:51:02 +00:00
2021-08-23 13:17:52 +00:00
// mount for part cooling fan shroud
translate([distance + 11, 27, - 6])
cube([6, 3, 6]);
translate([distance + 5 + 0.2146, 27, 0.895])
2021-08-21 19:51:02 +00:00
rotate([0, 50, 0])
cube([9, 3, 6]);
}
2021-08-21 11:52:35 +00:00
2021-08-21 19:51:02 +00:00
// space for fan mount
2021-08-23 13:17:52 +00:00
translate([width + 10, 0, 0])
2021-08-21 19:51:02 +00:00
rotate([0, - 90, 0])
fan_mount();
2021-08-21 19:51:02 +00:00
// space for extruder
2021-08-23 13:17:52 +00:00
translate([(width - e3d_width) / 2, 4, 0])
e3d_v6();
2021-08-21 19:51:02 +00:00
screw_mounts();
// hole for part cooling fan
2021-08-23 13:17:52 +00:00
translate([distance + 5, depth, 37])
2021-08-21 19:51:02 +00:00
rotate([90, 0, 0])
translate([1.5, 1.5, 0])
cylinder(d = 3, h = 5);
2021-08-23 13:17:52 +00:00
translate([distance + 12.5, depth, - 4.5])
2021-08-21 19:51:02 +00:00
rotate([90, 0, 0])
translate([1.5, 1.5, 0])
cylinder(d = 4, h = 5);
}
module e3d_v6() {
2021-08-23 13:17:52 +00:00
translate([11, 11, 0]) {
h0 = - 14;
rotate([0, 0, 180])
translate([- 8, - 3.5, h0])
cube([16, 20, 12]);
h1 = h0 + 12;
translate([0, 0, h1])
cylinder(d = 3, h = 2);
h2 = h1 + 2;
translate([0, 0, h2])
cylinder(d = 22, h = 26);
h3 = h2 + 26;
translate([0, 0, h3])
cylinder(d = 16, h = 7);
h4 = h3 + 7;
translate([0, 0, h4])
cylinder(d = 12, h = 6);
h5 = h4 + 6;
translate([0, 0, h5])
cylinder(d = 16, h = 3.5);
h6 = h5 + 3.5;
translate([0, 0, h6])
cylinder(d = 11.5, h = 6.5, $fn = 6);
}
}
module fan_mount() {
2021-08-23 13:17:52 +00:00
fan_size = 30;
fan_thickness = 10;
cube([fan_size, fan_size, fan_thickness]);
// screw holes
2021-08-23 13:17:52 +00:00
translate([1.5 + 1.5, 1.5 + 1.5, fan_thickness])
2021-08-22 17:58:06 +00:00
cylinder(d = 3, h = 10);
2021-08-23 13:17:52 +00:00
translate([fan_size - (1.5 + 1.5), 1.5 + 1.5, fan_thickness])
2021-08-22 17:58:06 +00:00
cylinder(d = 3, h = 10);
2021-08-23 13:17:52 +00:00
translate([1.5 + 1.5, fan_size - (1.5 + 1.5), fan_thickness])
2021-08-22 17:58:06 +00:00
cylinder(d = 3, h = 10);
2021-08-21 01:14:04 +00:00
// fan duct
translate([1, 1, 0])
2021-08-23 13:17:52 +00:00
translate([(fan_size / 2) - 1, (fan_size / 2) - 1, 0])
cylinder(d1 = fan_size - 2, d2 = 22, h = width / 2 + fan_thickness);
2021-08-21 12:13:26 +00:00
translate([1, 1, 0])
2021-08-23 13:17:52 +00:00
translate([(fan_size / 2) - 1, (fan_size / 2) - 1, width / 2 + fan_thickness])
cylinder(d = 22, h = width / 2 + 0.1);
2021-08-21 11:50:51 +00:00
}
module screw_mounts() {
2021-08-23 13:17:52 +00:00
screw_cover_mounts();
screw_x_carriage_mount();
}
module screw_cover_mounts() {
2021-08-23 13:24:31 +00:00
screw_distance = 27;
2021-08-23 13:17:52 +00:00
screw_size = 3;
2021-08-23 13:24:31 +00:00
length = 18;
2021-08-23 13:17:52 +00:00
2022-01-06 01:56:38 +00:00
distance_from_edge = (width - (screw_distance + screw_size)) / 2;
2021-08-23 13:17:52 +00:00
2021-08-21 11:52:35 +00:00
// cover mount
2021-08-23 13:17:52 +00:00
translate([distance_from_edge, 24, 29])
2021-08-21 11:52:35 +00:00
rotate([90, 0, 0]) {
2021-08-23 13:17:52 +00:00
translate([screw_size, screw_size, 0])
rotate([0, 0, 180])
2021-08-23 13:24:31 +00:00
screw_mount(length = length, nut_size = 6, screw_size = screw_size, nut = "square+");
2021-08-21 11:52:35 +00:00
translate([1.5, 1.5, - 20])
cylinder(d = 6, h = 20);
}
2021-08-21 11:50:51 +00:00
2021-08-23 13:17:52 +00:00
translate([width - distance_from_edge - screw_size, 24, 29])
2021-08-21 11:52:35 +00:00
rotate([90, 0, 0]) {
2021-08-23 13:24:31 +00:00
screw_mount(length = length, nut_size = 6, screw_size = screw_size, nut = "square+");
2021-08-21 11:52:35 +00:00
translate([1.5, 1.5, - 20])
cylinder(d = 6, h = 20);
}
2021-08-23 13:17:52 +00:00
}
module screw_x_carriage_mount() {
screw_distance = 23;
screw_size = 3;
2022-01-06 01:56:38 +00:00
distance_from_edge = (width - (screw_distance + screw_size)) / 2;
2021-08-21 11:50:51 +00:00
2021-08-21 11:52:35 +00:00
// X carriage mount
2021-08-23 13:17:52 +00:00
translate([distance_from_edge, 15, 35])
2021-08-21 11:50:51 +00:00
rotate([90, 0, 0])
screw_mount(length = 20, nut_size = 6, screw_size = 3, nut = "none");
2021-08-23 13:17:52 +00:00
translate([width - (distance_from_edge + screw_size), 15, 35])
2021-08-21 11:50:51 +00:00
rotate([90, 0, 0])
screw_mount(length = 20, nut_size = 6, screw_size = 3, nut = "none");
2021-08-23 13:17:52 +00:00
}