From 93c53d213d838aa9319cea53810fdfce26f0c981 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 3 Sep 2019 17:37:52 +0800 Subject: [PATCH] rename --- examples/pyramidal_maze.scad | 2 +- examples/square_maze.scad | 3 +-- examples/stereographic_square_maze.scad | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/pyramidal_maze.scad b/examples/pyramidal_maze.scad index 5f3e0c95..a849c263 100644 --- a/examples/pyramidal_maze.scad +++ b/examples/pyramidal_maze.scad @@ -47,7 +47,7 @@ module pyramidal_staircase_maze(maze_rows, block_width, stairs_width) { translate([-(maze_rows * block_width) / 2, -(maze_rows * block_width) / 2, 0]) difference() { - draw_maze( + build_square_maze( maze_rows, maze_rows, maze_blocks, diff --git a/examples/square_maze.scad b/examples/square_maze.scad index 65573f88..61fedf7c 100644 --- a/examples/square_maze.scad +++ b/examples/square_maze.scad @@ -197,8 +197,7 @@ function try_routes_from(x, y, dir, maze, rows, columns, x_circular, y_circular) // road closed so return maze directly : maze; - -module draw_maze(rows, columns, blocks, block_width, wall_thickness, x_circular = false, y_circular = false) { +module build_square_maze(rows, columns, blocks, block_width, wall_thickness, x_circular = false, y_circular = false) { module build_block(wall_type, block_width, wall_thickness) { if(wall_type == UPPER_WALL || wall_type == UPPER_RIGHT_WALL) { // draw a upper wall diff --git a/examples/stereographic_square_maze.scad b/examples/stereographic_square_maze.scad index 13786cf1..4834a04e 100644 --- a/examples/stereographic_square_maze.scad +++ b/examples/stereographic_square_maze.scad @@ -20,7 +20,7 @@ module stereographic_projection_maze2(maze_rows, block_width, wall_thickness, fn module maze() { translate([-block_width * maze_rows / 2, -block_width * maze_rows / 2, 0]) - draw_maze( + build_square_maze( maze_rows, maze_rows, maze_blocks,