From f00402b0d1cd261bb76303c286694547a48b708b Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 21 Jun 2021 08:34:40 +0800 Subject: [PATCH] remove slicing param --- src/surface/sf_thicken.scad | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/surface/sf_thicken.scad b/src/surface/sf_thicken.scad index c5d5c450..7289a47d 100644 --- a/src/surface/sf_thicken.scad +++ b/src/surface/sf_thicken.scad @@ -1,7 +1,7 @@ use ; use ; -module sf_thicken(points, thickness, direction = undef, swap_surface = false, slicing = "SLASH") { +module sf_thicken(points, thickness, direction = undef, swap_surface = false) { function tri_normal(tri) = let(v = cross(tri[2] - tri[0], tri[1] - tri[0])) v / norm(v); @@ -37,7 +37,7 @@ module sf_thicken(points, thickness, direction = undef, swap_surface = false, sl half_thickness = thickness / 2; surface_top = points + half_thickness * vertex_normals; surface_bottom = points - half_thickness * vertex_normals; - sf_solidify(surface_top, surface_bottom, slicing); + sf_solidify(surface_top, surface_bottom); } else { dir_v = direction / norm(direction); @@ -49,10 +49,10 @@ module sf_thicken(points, thickness, direction = undef, swap_surface = false, sl ] ]; if(swap_surface) { - sf_solidify(surface_bottom, points, slicing); + sf_solidify(surface_bottom, points); } else { - sf_solidify(points, surface_bottom, slicing); + sf_solidify(points, surface_bottom); } } }