From 5b65cc16a713631489baccf243826141b96a26c8 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 26 Oct 2021 16:51:54 +0800 Subject: [PATCH] rename --- src/experimental/wireframe.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/experimental/wireframe.scad b/src/experimental/wireframe.scad index 20ced61b..3084496e 100644 --- a/src/experimental/wireframe.scad +++ b/src/experimental/wireframe.scad @@ -2,7 +2,7 @@ use ; use <__comm__/_vertex_normals.scad>; use ; -module wireframe(points, faces, deep, outer_thickness, inner_thickness = 0, normals = undef) { +module wireframe(points, faces, deep, outer_thickness, inner_thickness = 0, vertex_normals = undef) { function hollow_face(pts, inner_pts) = let( leng = len(pts), @@ -87,7 +87,7 @@ module wireframe(points, faces, deep, outer_thickness, inner_thickness = 0, norm leng_faces = len(faces); - vx_normals = is_undef(normals) ? _vertex_normals(points, faces) : normals; + vx_normals = is_undef(vertex_normals) ? _vertex_normals(points, faces) : vertex_normals; inner_pts = [ for(i = [0:len(vx_normals) - 1]) points[i] - vx_normals[i] * deep