mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 09:19:59 +02:00
added triangles_tape
This commit is contained in:
11
src/__private__/__triangles_tape.scad
Normal file
11
src/__private__/__triangles_tape.scad
Normal file
@@ -0,0 +1,11 @@
|
||||
function __triangles_tape(leng_pts) =
|
||||
concat(
|
||||
[
|
||||
for(i = [0:leng_pts / 2 - 2])
|
||||
[i, leng_pts - i - 1, leng_pts - i - 2]
|
||||
],
|
||||
[
|
||||
for(i = [0:leng_pts / 2 - 2])
|
||||
[i, i + 1, leng_pts - i - 2]
|
||||
]
|
||||
);
|
Reference in New Issue
Block a user