1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +02:00

clean code

This commit is contained in:
Justin Lin
2022-05-14 17:47:48 +08:00
parent 56b0a371b3
commit e336cc14e4

View File

@@ -21,7 +21,6 @@ module sf_thickenT(points, thickness, triangles = undef, direction = "BOTH", con
real_triangles = is_undef(triangles) ? tri_delaunay([for(p = points) __to2d(p)]) : triangles; real_triangles = is_undef(triangles) ? tri_delaunay([for(p = points) __to2d(p)]) : triangles;
leng_pts = len(points); leng_pts = len(points);
range = [0:leng_pts - 1];
conn_indices_tris = [for(tri = real_triangles, i = tri) [i, tri]]; conn_indices_tris = [for(tri = real_triangles, i = tri) [i, tri]];
if(is_list(direction)) { if(is_list(direction)) {