1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-30 18:00:01 +02:00

rename block to cell

This commit is contained in:
Justin Lin
2020-12-20 10:49:16 +08:00
parent afaf67c739
commit f594215469
29 changed files with 245 additions and 247 deletions

View File

@@ -1,5 +1,5 @@
use <polyline2d.scad>;
use <maze/mz_square_blocks.scad>;
use <maze/mz_square_cells.scad>;
use <maze/mz_hex_walls.scad>;
columns = 10;
@@ -30,11 +30,9 @@ module pyramid_hex_maze(columns, cell_radius, wall_thickness) {
pyramid_height = square_w / sqrt(2);
blocks = mz_square_blocks(
rows, columns
);
cells = mz_square_cells(rows, columns);
walls = mz_hex_walls(blocks, rows, columns, cell_radius, wall_thickness);
walls = mz_hex_walls(cells, rows, columns, cell_radius, wall_thickness);
intersection() {
linear_extrude(pyramid_height)