1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 13:01:37 +02:00
This commit is contained in:
Justin Lin
2022-05-12 16:37:02 +08:00
parent b2e9775e7f
commit b4c5c16451

View File

@@ -1,5 +1,7 @@
function __edge_r_begin(orig_r, a, a_step, m) =
(orig_r * cos(a_step / 2)) / cos((m - 0.5) * a_step - a);
let(half_a_step = a_step / 2)
orig_r * cos(half_a_step) / cos(m * a_step - half_a_step - a);
function __edge_r_end(orig_r, a, a_step, n) =
(orig_r * cos(a_step / 2)) / cos((n + 0.5) * a_step - a);
function __edge_r_end(orig_r, a, a_step, n) =
let(half_a_step = a_step / 2)
orig_r * cos(half_a_step) / cos(n * a_step + half_a_step - a);