1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-30 09:49:59 +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

@@ -14,7 +14,7 @@ module voronoi_melon(eyelets, radius) {
color("DarkKhaki")
for(cell = cells) {
polyline_join(concat(cell, [cell[0]]))
polyline_join([each cell, cell[0]])
sphere(radius / 60, $fn = 4);
}