1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 10:11:53 +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,6 +1,6 @@
use <polyline2d.scad>;
use <maze/mz_square_cells.scad>;
use <maze/mz_hex_walls.scad>;
use <maze/mz_square.scad>;
use <maze/mz_hexwalls.scad>;
columns = 10;
cell_radius = 2;
@@ -30,9 +30,8 @@ module pyramid_hex_maze(columns, cell_radius, wall_thickness) {
pyramid_height = square_w / sqrt(2);
cells = mz_square_cells(rows, columns);
walls = mz_hex_walls(cells, rows, columns, cell_radius, wall_thickness);
cells = mz_square(rows, columns);
walls = mz_hexwalls(cells, cell_radius, wall_thickness);
intersection() {
linear_extrude(pyramid_height)