1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 02:10:28 +02:00

refactor: use new maze functions/modules

This commit is contained in:
Justin Lin
2022-03-27 12:24:34 +08:00
parent 15478290e1
commit 9f3ecd0b3c
19 changed files with 93 additions and 117 deletions

View File

@@ -1,8 +1,8 @@
use <archimedean_spiral.scad>;
use <polyline_join.scad>;
use <maze/mz_square_cells.scad>;
use <maze/mz_square_walls.scad>;
use <maze/mz_square.scad>;
use <maze/mz_squarewalls.scad>;
rows = 8;
columns = 50;
@@ -23,9 +23,9 @@ module spiral_maze() {
pts2d = [for(pa = points_angles) pa[0]];
pts3d = [for(p = pts2d) [p[0], 0, p[1]]];
walls = mz_square_walls(
mz_square_cells(rows, columns),
rows, columns, cell_width
walls = mz_squarewalls(
mz_square(rows, columns),
cell_width
);
half_thickness = wall_thickness / 2;