mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-29 20:08:21 +01:00
calculate contour if contour==true
This commit is contained in:
parent
a1d17e5ec5
commit
8d978eb374
@ -35,12 +35,12 @@ module maze_masking(start, mask, block_width, wall_thickness, wall_height, base_
|
||||
mz_initialize(mask = mask)
|
||||
);
|
||||
|
||||
pts = vx_contour([
|
||||
pts = contour ? vx_contour([
|
||||
for(y = [0:rows - 1])
|
||||
for(x = [0:columns - 1])
|
||||
if(mask[y][x] == 1)
|
||||
[x, rows - y - 1]
|
||||
]);
|
||||
]) : [];
|
||||
|
||||
walls = mz_square_walls(blocks, rows, columns, block_width);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user