1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-25 13:59:04 +02:00
This commit is contained in:
Justin Lin
2019-06-15 11:04:16 +08:00
parent 06831ffe15
commit 8bc6a0b4c9

View File

@@ -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(