From 5f816e4d5bd0cc7c5a14730373df65909af9caf1 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 4 Sep 2019 08:29:38 +0800 Subject: [PATCH] rename --- examples/cylinder_maze.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cylinder_maze.scad b/examples/cylinder_maze.scad index d5d5cfcf..a7e654b2 100644 --- a/examples/cylinder_maze.scad +++ b/examples/cylinder_maze.scad @@ -12,7 +12,7 @@ wall_top_scale = 0.25; fn = 24; -module draw_ramp_maze(rows, columns, blocks, block_width, wall_thickness, wall_height, wall_top_scale) { +module build_ramp_maze(rows, columns, blocks, block_width, wall_thickness, wall_height, wall_top_scale) { module ramp_line(point1, point2, width = 1, height = 1, top_scale = 0.25) { angle = 90 - atan((point2[1] - point1[1]) / (point2[0] - point1[0])); @@ -77,7 +77,7 @@ module maze_cylinder() { leng_circumference = block_width * maze_columns + wall_thickness; bend(size = [leng_circumference, block_width * maze_rows + wall_thickness, wall_height], angle = 360 + 360 * wall_thickness / leng_circumference, frags = fn) - translate([0, wall_thickness / 2, 0]) draw_ramp_maze( + translate([0, wall_thickness / 2, 0]) build_ramp_maze( maze_rows, maze_columns, maze_blocks,