1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 16:54:23 +02:00
This commit is contained in:
Justin Lin
2020-12-23 08:00:34 +08:00
parent db2ea48f2d
commit 2e08d89d9b

View File

@@ -1,3 +1,4 @@
use <../util/dedup.scad>;
use <_impl/_mz_square_walls_impl.scad>;
function mz_square_walls(cells, rows, columns, cell_width, left_border = true, bottom_border = true) =
@@ -8,7 +9,7 @@ function mz_square_walls(cells, rows, columns, cell_width, left_border = true, b
concat(
[
for(cell = cells)
let(pts = _square_walls(cell, cell_width))
let(pts = dedup(_square_walls(cell, cell_width)))
if(pts != []) pts
]
, left_walls, buttom_walls