mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-27 00:17:27 +02:00
calculate contour if contour==true
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user