mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 06:08:31 +01:00
optimization
This commit is contained in:
parent
7d25a25a69
commit
df4b2c702d
@ -22,10 +22,7 @@ module sf_thickenT(points, thickness, triangles = undef, direction = "BOTH", con
|
||||
|
||||
leng_pts = len(points);
|
||||
range = [0:leng_pts - 1];
|
||||
conn_indices_tris = [
|
||||
for(tri = real_triangles, i = range)
|
||||
if(contains(tri, i)) [i, tri]
|
||||
];
|
||||
conn_indices_tris = [for(tri = real_triangles, i = tri) [i, tri]];
|
||||
|
||||
if(is_list(direction)) {
|
||||
dir_v = direction / norm(direction);
|
||||
|
Loading…
x
Reference in New Issue
Block a user