From 76c703dfc20b36b6c651e49cc1c7e06c504dd7e8 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 2 Sep 2019 08:43:10 +0800 Subject: [PATCH] rename --- examples/pyramidal_maze.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pyramidal_maze.scad b/examples/pyramidal_maze.scad index 65441d1f..5f3e0c95 100644 --- a/examples/pyramidal_maze.scad +++ b/examples/pyramidal_maze.scad @@ -8,7 +8,7 @@ stairs_width = 5; module pyramid_with_stairs(base_width, stairs_width, rows) { height = base_width * sqrt(2) / 2; - module floor(i) { + module layer(i) { base_w = base_width - (base_width / rows) * (i - 1) + stairs_width; floor_h = height / rows * 2; @@ -26,7 +26,7 @@ module pyramid_with_stairs(base_width, stairs_width, rows) { } for(i = [1:2:rows - 1]) { - floor(i); + layer(i); } }