1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-28 17:00:00 +02:00

use [each lt, v] to replace concat(lt, [v])

This commit is contained in:
Justin Lin
2022-02-28 11:22:58 +08:00
parent 9a143a9f72
commit e04381bdea
10 changed files with 36 additions and 40 deletions

View File

@@ -41,7 +41,7 @@ module hollow_out_torus_knot(shape, p, q, phi_step, thickness, line_style) {
[0, 90 - a[0], a[1]]
]
)
cross_sections(shape, path, concat([angles[0]], angles));
cross_sections(shape, path, [angles[0], each angles]);
pts = torus_knot(p, q, phi_step);
sects = sects_by_path(shape, pts);