From 336648434cabb873ade5ea502d4426db7c897b17 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 3 Apr 2022 11:58:46 +0800 Subject: [PATCH] format --- examples/maze/cylinder_maze.scad | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/maze/cylinder_maze.scad b/examples/maze/cylinder_maze.scad index fc4598af..95b9d715 100644 --- a/examples/maze/cylinder_maze.scad +++ b/examples/maze/cylinder_maze.scad @@ -46,10 +46,8 @@ module cylinder_maze() { bend(size = [leng_circumference, cell_width * maze_rows + wall_thickness, wall_height], angle = 360 + 360 * wall_thickness / leng_circumference, frags = fn) translate([0, wall_thickness / 2]) - for(wall = walls) { - for(i = [0:len(wall) - 2]) { - ramp_line(wall[i], wall[i + 1], wall_thickness, wall_height, wall_top_scale); - } + for(wall = walls, i = [0:len(wall) - 2]) { + ramp_line(wall[i], wall[i + 1], wall_thickness, wall_height, wall_top_scale); } }