1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 09:14:29 +02:00
This commit is contained in:
Justin Lin
2021-10-06 16:29:33 +08:00
parent dbdf8a757d
commit 95dc133d0d

View File

@@ -40,8 +40,10 @@ function mz_hex_walls(cells, rows, columns, cell_radius, left_border = true, bot
cell_p = _cell_position(cell_radius, x, 0),
walls1 = _bottom(cell_radius),
walls2 = [
for(pair = (x % 2 == 0 ? [_bottom_left(cell_radius), _bottom_right(cell_radius)] : []))
for(wall = pair)
for(
pair = (x % 2 == 0 ? [_bottom_left(cell_radius), _bottom_right(cell_radius)] : []),
wall = pair
)
wall
]
)
@@ -55,8 +57,7 @@ function mz_hex_walls(cells, rows, columns, cell_radius, left_border = true, bot
]
] : [],
bottom_border_walls = [
for(pair = bottom_pair_walls)
for(wall = pair)
for(pair = bottom_pair_walls, wall = pair)
wall
]
)