2020-05-28 16:16:45 +00:00
|
|
|
//V3
|
|
|
|
|
2020-05-27 19:10:13 +00:00
|
|
|
include <../libraries/gnal_v3.scad>;
|
|
|
|
|
2020-05-28 16:16:45 +00:00
|
|
|
SPOKE_COUNT = 24;
|
|
|
|
|
2020-08-16 15:35:18 +00:00
|
|
|
module gnal_50ft_spiral (spiral_count = 40, od = 215.75, quarter = false) {
|
2020-05-28 16:16:45 +00:00
|
|
|
outer_d = 215;
|
|
|
|
outer_d_inside = 209;
|
|
|
|
outer_h = 7.5;
|
|
|
|
|
|
|
|
spoke_len = 81;
|
|
|
|
spoke_w = 3;
|
|
|
|
spoke_h = 4.2 + 3;
|
|
|
|
|
|
|
|
spoke_2_len = 43;
|
|
|
|
|
|
|
|
translate([0, 0, -3.6]) difference () {
|
|
|
|
cylinder(r = outer_d / 2, h = spoke_h, center = true, $fn = 500);
|
|
|
|
cylinder(r = outer_d_inside / 2, h = outer_h + 1, center = true, $fn = 500);
|
|
|
|
}
|
|
|
|
|
|
|
|
difference () {
|
|
|
|
gnal_spiral_core();
|
|
|
|
//rounded spoke voids
|
|
|
|
for (i = [0 : SPOKE_COUNT]) {
|
|
|
|
rotate([0, 0, (i + 0.5) * (360 / SPOKE_COUNT)]) {
|
|
|
|
translate([0, 26.75, 0]) {
|
|
|
|
cylinder(r = 2, h = 20, center = true, $fn = 40);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//main spokes
|
|
|
|
for (i = [0 : SPOKE_COUNT]) {
|
|
|
|
rotate([0, 0, i * (360 / SPOKE_COUNT)]) {
|
|
|
|
translate([(spoke_len / 2) + (48 / 2), 0, -3.6]) {
|
2020-08-16 15:35:18 +00:00
|
|
|
if (quarter && i % 3 == 0 && i % 6 != 0) { //phew!
|
2020-07-09 13:10:15 +00:00
|
|
|
cube([spoke_len, spoke_w * 2, spoke_h], center = true);
|
|
|
|
} else {
|
|
|
|
cube([spoke_len, spoke_w, spoke_h], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//secondary spokes
|
2020-08-16 15:35:18 +00:00
|
|
|
for (i = [0 : SPOKE_COUNT]) {
|
2020-07-09 13:10:15 +00:00
|
|
|
rotate([0, 0, (i + 0.5) * (360 / SPOKE_COUNT)]) {
|
|
|
|
translate([(outer_d / 2) - (spoke_2_len / 2) - 2, 0, -3.6]) {
|
|
|
|
cube([spoke_2_len, spoke_w, spoke_h], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//spoke cross bars
|
2020-08-16 15:35:18 +00:00
|
|
|
for (i = [0 : SPOKE_COUNT]) {
|
2020-07-09 13:10:15 +00:00
|
|
|
rotate([0, 0, (i + 0.5) * (360 / SPOKE_COUNT)]) {
|
|
|
|
translate([63, 0, -3.6]) {
|
|
|
|
rotate([0, 0, 20]) {
|
|
|
|
cube([ spoke_w, 18, spoke_h], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-22 01:19:12 +00:00
|
|
|
translate([0, 0, -.1]) {
|
|
|
|
rotate([0, 0, -90]) {
|
2020-09-12 14:57:01 +00:00
|
|
|
film_guide(spiral_count);
|
2020-08-22 01:19:12 +00:00
|
|
|
}
|
|
|
|
}
|
2020-07-09 13:10:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module gnal_50ft_spiral_quarter (quarter = "a") {
|
2020-08-16 15:35:18 +00:00
|
|
|
LEN = 220;
|
2020-07-09 13:10:15 +00:00
|
|
|
module notch (NOTCH = 5) {
|
|
|
|
cube([NOTCH, NOTCH, 5], center = true);
|
|
|
|
translate([0, 0, (5 / 2) + (1 / 2)]) rotate([0, 0, 45]) cylinder(r1 = NOTCH / 1.4, r2 = 0.1, h = 1, center = true, $fn = 4);
|
|
|
|
}
|
|
|
|
|
|
|
|
module quarter () {
|
|
|
|
NOTCH = 3;
|
|
|
|
NOTCH_H = -5;
|
|
|
|
NOTCHES = 7;
|
|
|
|
OFFSET = 60;
|
|
|
|
difference () {
|
2020-08-16 15:35:18 +00:00
|
|
|
cube([LEN, LEN, LEN], center = true);
|
2020-07-09 13:10:15 +00:00
|
|
|
for (i = [0 : NOTCHES - 1]) {
|
2020-08-16 15:35:18 +00:00
|
|
|
translate([OFFSET - (i * (LEN / NOTCHES)), -(LEN / 2), NOTCH_H]) rotate([0, 0, 45]) notch(NOTCH);
|
2020-07-09 13:10:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
for (i = [0 : NOTCHES - 2]) {
|
2020-08-16 15:35:18 +00:00
|
|
|
translate([-(LEN / 2), OFFSET - (i * (LEN / NOTCHES)), NOTCH_H]) rotate([0, 0, 45]) notch(NOTCH);
|
2020-07-09 13:10:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
intersection () {
|
2020-08-16 15:35:18 +00:00
|
|
|
rotate([0, 0, 45]) gnal_50ft_spiral(quarter = true);
|
2020-07-09 13:10:15 +00:00
|
|
|
if (quarter == "a") {
|
2020-08-16 15:35:18 +00:00
|
|
|
rotate([0, 0, 0]) translate([LEN / 2, LEN / 2, 0]) quarter();
|
2020-07-09 13:10:15 +00:00
|
|
|
} else if (quarter == "b") {
|
2020-08-16 15:35:18 +00:00
|
|
|
rotate([0, 0, 90]) translate([LEN / 2, LEN / 2, 0]) quarter();
|
2020-07-09 13:10:15 +00:00
|
|
|
} else if (quarter == "c") {
|
2020-08-16 15:35:18 +00:00
|
|
|
rotate([0, 0, 180]) translate([LEN / 2, LEN / 2, 0]) quarter();
|
2020-07-09 13:10:15 +00:00
|
|
|
} else if (quarter == "d") {
|
2020-08-16 15:35:18 +00:00
|
|
|
rotate([0, 0, 270]) translate([LEN / 2, LEN / 2, 0]) quarter();
|
2020-07-09 13:10:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-28 16:16:45 +00:00
|
|
|
module gnal_50ft_top () {
|
|
|
|
H = 5;
|
|
|
|
center_d = 53;
|
|
|
|
spoke_w = 4.5;
|
|
|
|
spokes = 12;
|
|
|
|
outer_d = 215;
|
|
|
|
inner_d = 150;
|
|
|
|
void_d = 22.5;
|
|
|
|
hole_d = 3.5;
|
|
|
|
hole_spacing = 37;
|
|
|
|
core_d = 29.5;
|
|
|
|
core_bottom_d = 26.2;
|
|
|
|
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
cylinder(r = center_d / 2, h = H, center = true, $fn = 100);
|
2020-07-09 13:10:15 +00:00
|
|
|
for (i = [0 : spokes - 1]) {
|
2020-05-28 16:16:45 +00:00
|
|
|
rotate([0, 0, i * (360 / spokes)]) translate([0, outer_d / 4, 0]) cube([spoke_w, (outer_d / 2) - 1, H], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//void
|
|
|
|
cylinder(r = void_d / 2, h = H + 1, center = true, $fn = 100);
|
|
|
|
//speed holes
|
|
|
|
for (i = [0 : 3]) {
|
|
|
|
rotate([0, 0, (i * 90) + 45]) translate([0, hole_spacing / 2, 0]) cylinder(r = hole_d / 2, h = H + 1, center = true);
|
|
|
|
}
|
|
|
|
//rounding of center cylinder
|
2020-07-09 13:10:15 +00:00
|
|
|
for (i = [0 : spokes - 1]) {
|
2020-05-28 16:16:45 +00:00
|
|
|
rotate([0, 0, (i + 0.5) * (360 / spokes)]) translate([-2.75, 26.5, 0]) cylinder(r = 2, h = H+1, center = true, $fn = 40);
|
|
|
|
rotate([0, 0, (i + 0.5) * (360 / spokes)]) translate([2.75, 26.5, 0]) cylinder(r = 2, h = H+1, center = true, $fn = 40);
|
|
|
|
rotate([0, 0, (i + 0.5) * (360 / spokes)]) translate([0, 26.5, 0]) cube([5, 4, H + 1], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
difference () {
|
|
|
|
cylinder(r = (center_d / 2) - 1.8, h = H, center = true, $fn = 200);
|
|
|
|
cylinder(r = (hole_spacing / 2) + 2, h = H + 1, center = true, $fn = 200);
|
|
|
|
}
|
|
|
|
//outer ring
|
|
|
|
difference () {
|
|
|
|
cylinder(r = outer_d / 2, h = H, center = true, $fn = 200);
|
|
|
|
cylinder(r = (outer_d / 2) - 5, h = H + 1, center = true, $fn = 200);
|
|
|
|
}
|
|
|
|
//inner ring
|
|
|
|
difference () {
|
|
|
|
cylinder(r = inner_d / 2, h = H, center = true, $fn = 200);
|
|
|
|
cylinder(r = (inner_d / 2) - 5, h = H + 1, center = true, $fn = 200);
|
|
|
|
}
|
|
|
|
//rounded cross connectors
|
2020-07-09 13:10:15 +00:00
|
|
|
for (i = [0 : spokes - 1]) {
|
2020-05-28 16:16:45 +00:00
|
|
|
rotate([0, 0, i * (360 / spokes)]) translate([0, (inner_d / 2) - (spoke_w / 2), 0]) difference() {
|
|
|
|
cylinder(r = 6.5, h = H, center = true);
|
|
|
|
translate([6.25, 6, 0]) cylinder(r = 4, h = H + 1, center = true, $fn = 60);
|
|
|
|
translate([-6.25, 6, 0]) cylinder(r = 4, h = H + 1, center = true, $fn = 60);
|
|
|
|
translate([-6.1, -7, 0]) cylinder(r = 4, h = H + 1, center = true, $fn = 60);
|
|
|
|
translate([6.1, -7, 0]) cylinder(r = 4, h = H + 1, center = true, $fn = 60);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([0, 0, 3.75 + 1]) cylinder(r = core_d / 2, h = H, center = true, $fn = 60);
|
|
|
|
translate([0, 0, 3.75 + 1 + 3.2]) cylinder(r = core_bottom_d / 2, h = H, center = true, $fn = 60);
|
|
|
|
}
|
|
|
|
cylinder(r = void_d / 2, h = H * 5 , center = true, $fn = 100);
|
|
|
|
translate([0, 0, 4 + 1 + 2.25]) spacer_ridges();
|
|
|
|
}
|
|
|
|
//rounded outer ring connectors
|
2020-07-09 13:10:15 +00:00
|
|
|
for (i = [0 : spokes - 1]) {
|
2020-05-28 16:16:45 +00:00
|
|
|
rotate([0, 0, i * (360 / spokes)]) translate([0, 205 / 2, 0]) difference () {
|
|
|
|
cube([13, 9, H], center = true);
|
|
|
|
translate([6.2, -4.2, 0]) cylinder(r = 4, h = H + 1, center = true, $fn = 60);
|
|
|
|
translate([-6.2, -4.2, 0]) cylinder(r = 4, h = H + 1, center = true, $fn = 60);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-29 13:05:47 +00:00
|
|
|
FN = 200;
|
2020-05-29 19:19:26 +00:00
|
|
|
$fn = FN;
|
2020-08-22 01:19:12 +00:00
|
|
|
|
2020-09-12 14:57:01 +00:00
|
|
|
module film_guide (rotations = 40, id = 45.55 - .5, spacing = 2.075, bottom = -2) {
|
2020-08-22 01:19:12 +00:00
|
|
|
spiral(rotations, id, spacing, bottom, $fn);
|
2021-10-18 16:25:55 +00:00
|
|
|
//reinforce outer spiral
|
|
|
|
difference () {
|
|
|
|
spiral_reinforcement(208.9, spacing, -0.1, $fn);
|
|
|
|
translate([107.35, 6, 0]) cube([5, 15, 10], center = true);
|
|
|
|
}
|
|
|
|
|
2020-05-28 16:16:45 +00:00
|
|
|
}
|
|
|
|
|
2021-10-15 16:12:36 +00:00
|
|
|
module gnal_stacking_spindle () {
|
2021-10-18 16:25:55 +00:00
|
|
|
OD = 10.5 + .3;
|
2021-10-15 16:12:36 +00:00
|
|
|
IN_LEN = 21;
|
|
|
|
|
|
|
|
LEN = 17.1;
|
|
|
|
ALT_LEN = 27.1;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
gnal_spindle_base();
|
|
|
|
translate([0, 0, -23.75]) gnal_spacer_solid();
|
|
|
|
}
|
|
|
|
//inner screw negative
|
|
|
|
translate([0, 0, -30]) union() {
|
|
|
|
if (DEBUG) {
|
|
|
|
cylinder(r = OD / 2, h = IN_LEN);
|
|
|
|
} else {
|
|
|
|
metric_thread (diameter=OD, pitch=PITCH, thread_size = THREAD, length = IN_LEN);
|
|
|
|
}
|
|
|
|
translate([0, 0, 0.2]) {
|
|
|
|
if (DEBUG) {
|
|
|
|
cylinder(r = OD / 2, h = IN_LEN);
|
|
|
|
} else {
|
|
|
|
metric_thread (diameter=OD, pitch=PITCH, thread_size = THREAD, length = IN_LEN);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
difference () {
|
|
|
|
outer_screw(LEN - 2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-18 16:25:55 +00:00
|
|
|
PART="spiral";
|
2020-05-29 13:04:49 +00:00
|
|
|
|
2020-05-29 04:57:36 +00:00
|
|
|
if (PART == "spiral") {
|
2020-05-28 16:16:45 +00:00
|
|
|
gnal_50ft_spiral();
|
2020-07-09 13:10:15 +00:00
|
|
|
} else if (PART == "quarter_a") {
|
|
|
|
gnal_50ft_spiral_quarter("a");
|
|
|
|
} else if (PART == "quarter_b") {
|
|
|
|
gnal_50ft_spiral_quarter("b");
|
|
|
|
} else if (PART == "quarter_c") {
|
|
|
|
gnal_50ft_spiral_quarter("c");
|
|
|
|
} else if (PART == "quarter_d") {
|
|
|
|
gnal_50ft_spiral_quarter("d");
|
2020-05-28 16:16:45 +00:00
|
|
|
} else if (PART == "top") {
|
|
|
|
gnal_50ft_top();
|
2021-10-15 16:26:58 +00:00
|
|
|
} else if (PART == "spacer") {
|
|
|
|
gnal_spacer();
|
2020-05-28 16:16:45 +00:00
|
|
|
} else if (PART == "insert_s8") {
|
|
|
|
gnal_spiral_bottom_insert_s8();
|
|
|
|
} else if (PART == "insert_16") {
|
|
|
|
gnal_spiral_bottom_insert_16();
|
2021-02-18 02:57:55 +00:00
|
|
|
} else if (PART == "insert_single") {
|
|
|
|
gnal_spiral_bottom_insert_single();
|
2020-05-28 16:16:45 +00:00
|
|
|
} else if (PART == "spacer_16") {
|
|
|
|
gnal_spacer_16();
|
2020-08-19 05:35:44 +00:00
|
|
|
} else if (PART == "spindle_top") {
|
|
|
|
gnal_spindle_top();
|
|
|
|
} else if (PART == "spindle_bottom") {
|
|
|
|
gnal_spindle_bottom();
|
2021-02-18 02:57:55 +00:00
|
|
|
} else if (PART == "spindle_single") {
|
|
|
|
gnal_spindle_top();
|
2021-10-15 16:12:36 +00:00
|
|
|
} else if (PART == "stacking") {
|
|
|
|
//stacking();
|
|
|
|
rotate([0, 180, 0]) gnal_stacking_spindle();
|
2020-08-24 13:18:27 +00:00
|
|
|
} else if (PART == "spiral_test") {
|
|
|
|
difference () {
|
|
|
|
gnal_50ft_spiral();
|
|
|
|
translate([125, 0, 0]) cube([250, 250, 100], center = true);
|
|
|
|
rotate([0, 0, 30]) translate([-125, 0, 0]) cube([250, 250, 100], center = true);
|
|
|
|
}
|
2020-05-28 16:16:45 +00:00
|
|
|
}
|
2021-10-15 16:12:36 +00:00
|
|
|
|
|
|
|
if (DEBUG) {
|
|
|
|
echo("WARNING: DEBUG is enabled");
|
|
|
|
}
|
|
|
|
|
|
|
|
echo($vpt);
|
|
|
|
echo($vpr);
|
|
|
|
echo($vpd);
|