mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 09:44:16 +02:00
c-style for loop
This commit is contained in:
@@ -3,7 +3,7 @@ function __trapezium(length, h, round_r) =
|
||||
r_half_trapezium = __half_trapezium(length / 2, h, round_r),
|
||||
to = len(r_half_trapezium) - 1,
|
||||
l_half_trapezium = [
|
||||
for(i = [0:to])
|
||||
for(i = 0; i <= to; i = i + 1)
|
||||
let(pt = r_half_trapezium[to - i])
|
||||
[-pt[0], pt[1]]
|
||||
]
|
||||
|
Reference in New Issue
Block a user