mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-25 13:59:04 +02:00
refactor
This commit is contained in:
@@ -120,13 +120,8 @@ module along_with(points, angles, twist = 0, scale = 1.0, method = "AXIS_ANGLE")
|
|||||||
|
|
||||||
// >>> begin: modules and functions for "EULER-ANGLE"
|
// >>> begin: modules and functions for "EULER-ANGLE"
|
||||||
|
|
||||||
function _euler_angle_path_angles(pts, end_i, i = 0) =
|
function _euler_angle_path_angles(pts, end_i) =
|
||||||
i == end_i ?
|
[for(i = 0; i < end_i; i = i + 1) [__angy_angz(pts[i], pts[i + 1])]];
|
||||||
[] :
|
|
||||||
concat(
|
|
||||||
[__angy_angz(pts[i], pts[i + 1])],
|
|
||||||
_euler_angle_path_angles(pts, end_i, i + 1)
|
|
||||||
);
|
|
||||||
|
|
||||||
function euler_angle_path_angles(children) =
|
function euler_angle_path_angles(children) =
|
||||||
let(
|
let(
|
||||||
|
Reference in New Issue
Block a user