Start v3. Render time breakthrough makes it the only viable design to iterate.
This commit is contained in:
parent
e3c7913be2
commit
5d17925f9e
|
@ -0,0 +1,4 @@
|
||||||
|
include <../libraries/gnal_v3.scad>;
|
||||||
|
|
||||||
|
$fn = 200;
|
||||||
|
spiral(60, 45.55, 2.075, $fn);
|
|
@ -0,0 +1,4 @@
|
||||||
|
include <../libraries/gnal_v3.scad>;
|
||||||
|
|
||||||
|
$fn = 200;
|
||||||
|
spiral(40, 45.55, 2.075, $fn);
|
|
@ -1,29 +1,4 @@
|
||||||
|
include <./path_extrude.scad>;
|
||||||
|
|
||||||
D=47; // start diameter
|
|
||||||
N=40; // number of spirals
|
|
||||||
FN=500;
|
|
||||||
$fn=FN;
|
|
||||||
|
|
||||||
include <../libraries/path_extrude.scad>;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bottom = -7.1;
|
|
||||||
w = 1.2;
|
|
||||||
top_w = .4;
|
|
||||||
top_offset = (w - top_w);
|
|
||||||
h = 2.2;
|
|
||||||
|
|
||||||
facetProfile = [
|
|
||||||
[w, -bottom],
|
|
||||||
[0, -bottom],
|
|
||||||
[0, 0],
|
|
||||||
[top_offset, -h],
|
|
||||||
[w, -h],
|
|
||||||
[w, 0]
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
function X (start_r, spacing, fn, r, i) = (start_r + (r * spacing) + (i * calcIncrement(spacing, fn))) * cos(i * calcAngle(fn));
|
function X (start_r, spacing, fn, r, i) = (start_r + (r * spacing) + (i * calcIncrement(spacing, fn))) * cos(i * calcAngle(fn));
|
||||||
function Y (start_r, spacing, fn, r, i) = (start_r + (r * spacing) + (i * calcIncrement(spacing, fn))) * sin(i * calcAngle(fn));
|
function Y (start_r, spacing, fn, r, i) = (start_r + (r * spacing) + (i * calcIncrement(spacing, fn))) * sin(i * calcAngle(fn));
|
||||||
|
@ -45,6 +20,21 @@ function calcIncrement(spacing, fn) = spacing / fn;
|
||||||
**/
|
**/
|
||||||
module spiral (rotations = 40, start_d = 48, spacing = 2.075, fn) {
|
module spiral (rotations = 40, start_d = 48, spacing = 2.075, fn) {
|
||||||
|
|
||||||
|
bottom = -7.1;
|
||||||
|
w = 1.2;
|
||||||
|
top_w = .4;
|
||||||
|
top_offset = (w - top_w);
|
||||||
|
h = 2.2;
|
||||||
|
|
||||||
|
facetProfile = [
|
||||||
|
[w, -bottom],
|
||||||
|
[0, -bottom],
|
||||||
|
[0, 0],
|
||||||
|
[top_offset, -h],
|
||||||
|
[w, -h],
|
||||||
|
[w, 0]
|
||||||
|
];
|
||||||
|
|
||||||
end_d = start_d + (spacing * 2 * rotations);
|
end_d = start_d + (spacing * 2 * rotations);
|
||||||
end_r = end_d / 2;
|
end_r = end_d / 2;
|
||||||
start_r = start_d / 2;
|
start_r = start_d / 2;
|
||||||
|
@ -61,6 +51,3 @@ module spiral (rotations = 40, start_d = 48, spacing = 2.075, fn) {
|
||||||
];
|
];
|
||||||
path_extrude(exShape=facetProfile, exPath=spiralPath);
|
path_extrude(exShape=facetProfile, exPath=spiralPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
spiral(N, D, 2.075, $fn);
|
|
Loading…
Reference in New Issue