mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-30 09:49:59 +02:00
rename block to cell
This commit is contained in:
@@ -2,18 +2,18 @@ use <stereographic_extrude.scad>;
|
||||
use <square_maze.scad>;
|
||||
|
||||
maze_rows = 10;
|
||||
block_width = 40;
|
||||
cell_width = 40;
|
||||
wall_thickness = 20;
|
||||
fn = 24;
|
||||
shadow = "YES"; // [YES, NO]
|
||||
wall_height = 2;
|
||||
|
||||
module stereographic_projection_maze2(maze_rows, block_width, wall_thickness, fn, wall_height, shadow) {
|
||||
length = block_width * maze_rows + wall_thickness;
|
||||
module stereographic_projection_maze2(maze_rows, cell_width, wall_thickness, fn, wall_height, shadow) {
|
||||
length = cell_width * maze_rows + wall_thickness;
|
||||
|
||||
module maze() {
|
||||
translate([-block_width * maze_rows / 2, -block_width * maze_rows / 2, 0])
|
||||
square_maze(maze_rows, block_width, wall_thickness);
|
||||
translate([-cell_width * maze_rows / 2, -cell_width * maze_rows / 2, 0])
|
||||
square_maze(maze_rows, cell_width, wall_thickness);
|
||||
}
|
||||
|
||||
stereographic_extrude(shadow_side_leng = length, $fn = fn)
|
||||
@@ -26,4 +26,4 @@ module stereographic_projection_maze2(maze_rows, block_width, wall_thickness, fn
|
||||
}
|
||||
}
|
||||
|
||||
stereographic_projection_maze2(maze_rows, block_width, wall_thickness, fn, wall_height, shadow);
|
||||
stereographic_projection_maze2(maze_rows, cell_width, wall_thickness, fn, wall_height, shadow);
|
Reference in New Issue
Block a user