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

c-style for loop

This commit is contained in:
Justin Lin
2019-06-14 08:31:04 +08:00
parent 6493eea0ac
commit beaebfcc37

View File

@@ -34,7 +34,7 @@ function shape_cyclicpolygon(sides, circle_r, corner_r) =
concat(
first_corner,
[
for(side = [1:sides - 1])
for(side = 1; side < sides; side = side + 1)
for(pt = first_corner)
let(
a = frag_a * side,