mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-31 02:10:28 +02:00
move files
This commit is contained in:
22
examples/maze/twisted_maze.scad
Normal file
22
examples/maze/twisted_maze.scad
Normal file
@@ -0,0 +1,22 @@
|
||||
include <hull_polyline3d.scad>;
|
||||
include <rotate_p.scad>;
|
||||
include <square_maze.scad>;
|
||||
|
||||
rows = 16;
|
||||
columns = 8;
|
||||
block_width = 4;
|
||||
wall_thickness = 1;
|
||||
angle = 180;
|
||||
// $fn = 24;
|
||||
|
||||
blocks = go_maze(
|
||||
1, 1, // starting point
|
||||
starting_maze(rows, columns),
|
||||
rows, columns
|
||||
);
|
||||
|
||||
walls = maze_walls(blocks, rows, columns, block_width);
|
||||
|
||||
for(wall_pts = y_twist(walls, angle, rows, columns, block_width)) {
|
||||
hull_polyline3d(wall_pts, wall_thickness);
|
||||
}
|
Reference in New Issue
Block a user