Begin grouping variables for refactor

This commit is contained in:
Matt McWilliams 2021-11-03 17:23:12 -04:00
parent 62b0cae3bd
commit 1af2b43d36
2 changed files with 4 additions and 6 deletions

View File

@ -3,6 +3,8 @@
include <../libraries/gnal_v3.scad>; include <../libraries/gnal_v3.scad>;
SPOKE_COUNT = 24; SPOKE_COUNT = 24;
FN = 200;
$fn = FN;
module gnal_100ft_spiral (spiral_count = 60, od = 298.75, quarter = false) { module gnal_100ft_spiral (spiral_count = 60, od = 298.75, quarter = false) {
outer_d = 299; outer_d = 299;
@ -250,9 +252,6 @@ module gnal_100ft_top () {
} }
} }
FN = 200;
$fn = FN;
module film_guide (rotations = 60, id = 45.55, spacing = 2.075, bottom = -2) { module film_guide (rotations = 60, id = 45.55, spacing = 2.075, bottom = -2) {
spiral(rotations, id, spacing, bottom, $fn); spiral(rotations, id, spacing, bottom, $fn);
//reinforce outer spiral //reinforce outer spiral

View File

@ -3,6 +3,8 @@
include <../libraries/gnal_v3.scad>; include <../libraries/gnal_v3.scad>;
SPOKE_COUNT = 24; SPOKE_COUNT = 24;
FN = 200;
$fn = FN;
module gnal_50ft_spiral (spiral_count = 40, od = 215.75, quarter = false) { module gnal_50ft_spiral (spiral_count = 40, od = 215.75, quarter = false) {
outer_d = 215; outer_d = 215;
@ -180,9 +182,6 @@ module gnal_50ft_top () {
} }
} }
FN = 200;
$fn = FN;
module film_guide (rotations = 40, id = 45.55 - .5, spacing = 2.075, bottom = -2) { module film_guide (rotations = 40, id = 45.55 - .5, spacing = 2.075, bottom = -2) {
spiral(rotations, id, spacing, bottom, $fn); spiral(rotations, id, spacing, bottom, $fn);
//reinforce outer spiral //reinforce outer spiral