mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 09:44:16 +02:00
refactor
This commit is contained in:
@@ -14,8 +14,7 @@ include <__comm__/__edge_r.scad>;
|
|||||||
|
|
||||||
function arc_path(radius, angle) =
|
function arc_path(radius, angle) =
|
||||||
let(
|
let(
|
||||||
frags = __frags(radius),
|
a_step = 360 / __frags(radius),
|
||||||
a_step = 360 / frags,
|
|
||||||
angles = is_num(angle) ? [0, angle] : angle,
|
angles = is_num(angle) ? [0, angle] : angle,
|
||||||
m = floor(angles[0] / a_step) + 1,
|
m = floor(angles[0] / a_step) + 1,
|
||||||
n = floor(angles[1] / a_step),
|
n = floor(angles[1] / a_step),
|
||||||
|
Reference in New Issue
Block a user