Fixed spiral trianglular voids for 50ft spiral

This commit is contained in:
mmcwilliams 2020-05-29 09:04:49 -04:00
parent c9d2b830e0
commit b8a8ec67e1
2 changed files with 19 additions and 7 deletions

View File

@ -3,7 +3,6 @@
include <../libraries/gnal_v3.scad>; include <../libraries/gnal_v3.scad>;
SPOKE_COUNT = 24; SPOKE_COUNT = 24;
PART="";
module gnal_50ft_spiral (spiral_count = 40, od = 215.75) { module gnal_50ft_spiral (spiral_count = 40, od = 215.75) {
outer_d = 215; outer_d = 215;
@ -70,7 +69,7 @@ module gnal_50ft_spiral (spiral_count = 40, od = 215.75) {
} }
for (i = [0 : SPOKE_COUNT * 2]) { for (i = [0 : SPOKE_COUNT * 2]) {
rotate([0, 0, (i + 0.5) * (360 / (SPOKE_COUNT * 2)) ]) { rotate([0, 0, (i + 0.5) * (360 / (SPOKE_COUNT * 2)) ]) {
translate([(outer_d / 2) - (spoke_2_len / 2) + 1 , 0, -3.6]) triangle_void_2(); translate([(outer_d / 2) - (spoke_2_len / 2) + 1 , 0, -3.6]) triangle_void_2(i);
} }
} }
} }
@ -157,9 +156,11 @@ module gnal_50ft_top () {
module film_guide (rotations = 40, id = 45.55, spacing = 2.075) { module film_guide (rotations = 40, id = 45.55, spacing = 2.075) {
$fn = 200; $fn = 200;
//spiral(rotations, id, spacing, $fn); spiral(rotations, id, spacing, $fn);
} }
PART="spiral";
if (PART == "spiral") { if (PART == "spiral") {
gnal_50ft_spiral(); gnal_50ft_spiral();
} else if (PART == "top") { } else if (PART == "top") {

View File

@ -361,11 +361,12 @@ module gnal_spacer_16 () {
**/ **/
module triangle_void () { module triangle_void () {
length = (81 / 2) - 9; length = (81 / 2) - 9 + 10;
width = 12; width = 12;
height = 4.5 + 2.7; height = 4.5 + 2.7;
ANGLE_A = 34.8; ANGLE_A = 34.8;
ANGLE_B = 180 / SPOKE_COUNT; ANGLE_B = 180 / SPOKE_COUNT;
ANGLE_C = 20;
difference () { difference () {
translate([-1, 0, 0]) cube([length, width, height], center = true); translate([-1, 0, 0]) cube([length, width, height], center = true);
translate([0, 10.3, 0]) rotate([0, 0, ANGLE_B]) cube([length * 2, width, height + 1], center = true); translate([0, 10.3, 0]) rotate([0, 0, ANGLE_B]) cube([length * 2, width, height + 1], center = true);
@ -373,23 +374,33 @@ module triangle_void () {
translate([0, 10.3, -.7]) rotate([ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true); translate([0, 10.3, -.7]) rotate([ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true);
translate([0, -10.3, -.7]) rotate([-ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true); translate([0, -10.3, -.7]) rotate([-ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true);
translate([(length / 2) + 2, 0, 0]) rotate([0, 0, ANGLE_C]) cube([10, width * 2, height + 1], center = true);
} }
} }
module triangle_void_2 () { module triangle_void_2 (i) {
length = 43 - 8; length = 43 - 8 + 10;
width = 12; width = 12;
height = 4.5 + 2.7; height = 4.5 + 2.7;
ANGLE_A = 34.8; ANGLE_A = 34.8;
ANGLE_B = 90 / SPOKE_COUNT; ANGLE_B = 90 / SPOKE_COUNT;
ANGLE_C = 20;
angle_w = 10.2; angle_w = 10.2;
difference () { difference () {
translate([-1, 0, 0]) cube([length, width, height], center = true); translate([-3, 0, 0]) cube([length, width, height], center = true);
translate([0, angle_w, 0]) rotate([0, 0, ANGLE_B]) cube([length *2, width, height * 10], center = true); translate([0, angle_w, 0]) rotate([0, 0, ANGLE_B]) cube([length *2, width, height * 10], center = true);
translate([0, -angle_w, 0]) rotate([0, 0, -ANGLE_B]) cube([length *2, width, height * 10], center = true); translate([0, -angle_w, 0]) rotate([0, 0, -ANGLE_B]) cube([length *2, width, height * 10], center = true);
translate([0, angle_w, -.7]) rotate([ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true); translate([0, angle_w, -.7]) rotate([ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true);
translate([0, -angle_w, -.7]) rotate([-ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true); translate([0, -angle_w, -.7]) rotate([-ANGLE_A, 0, 0]) cube([length *2, width, height * 10], center = true);
if (i % 2 == 0) {
translate([-(length / 2) - 5, 0, 0]) rotate([0, 0, ANGLE_C]) cube([10, width * 2, height + 1], center = true);
} else {
translate([-(length / 2) - 7, 0, 0]) rotate([0, 0, ANGLE_C]) cube([10, width * 2, height + 1], center = true);
}
} }
} }