From c69fd8820b1f74aef050ae4175b41b004898b85d Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Fri, 25 Jun 2021 08:24:09 +0800 Subject: [PATCH] rename variable --- src/surface/sf_thicken.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/surface/sf_thicken.scad b/src/surface/sf_thicken.scad index a5507b46..86653e6f 100644 --- a/src/surface/sf_thicken.scad +++ b/src/surface/sf_thicken.scad @@ -38,7 +38,7 @@ module sf_thicken(points, thickness, direction = "BOTH") { if(is_list(direction)) { dir_v = direction / norm(direction); - surface_bottom = points + thickness * [ + surface_another = points + thickness * [ for(y = [0:len(points) - 1]) [ for(x = [0:len(points[0]) - 1]) @@ -51,10 +51,10 @@ module sf_thicken(points, thickness, direction = "BOTH") { nv = tri_normal([points[midy][midx], points[midy + 1][midx], points[midy][midx + 1]]); if(nv * dir_v > 0) { - sf_solidify(surface_bottom, points); + sf_solidify(surface_another, points); } else { - sf_solidify(points, surface_bottom); + sf_solidify(points, surface_another); } } else {