mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-30 18:00:01 +02:00
refactor: use new maze functions/modules
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
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>;
|
||||
use <ptf/ptf_ring.scad>;
|
||||
|
||||
rows = 48;
|
||||
@@ -14,12 +14,8 @@ leng = rows * cell_width;
|
||||
radius = 0.5 * leng / PI;
|
||||
a_step = 360 / leng;
|
||||
|
||||
cells = mz_square_cells(
|
||||
rows, columns,
|
||||
y_wrapping = true
|
||||
);
|
||||
|
||||
walls = mz_square_walls(cells, rows, columns, cell_width, bottom_border = false);
|
||||
cells = mz_square(rows, columns, y_wrapping = true);
|
||||
walls = mz_squarewalls(cells, cell_width, bottom_border = false);
|
||||
|
||||
size = [columns * cell_width, rows * cell_width];
|
||||
for(wall_pts = walls) {
|
||||
|
Reference in New Issue
Block a user