mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
fix a_step
This commit is contained in:
@@ -267,7 +267,7 @@ function y_twist(walls, angle, rows, columns, block_width) =
|
|||||||
for(wall_pts = walls)
|
for(wall_pts = walls)
|
||||||
[for(pt = wall_pts) [pt[0], pt[1], 0] + [-x_offset, 0, 0]]
|
[for(pt = wall_pts) [pt[0], pt[1], 0] + [-x_offset, 0, 0]]
|
||||||
],
|
],
|
||||||
a_step = angle / rows
|
a_step = angle / (rows * block_width)
|
||||||
)
|
)
|
||||||
[
|
[
|
||||||
for(wall_pts = x_centered)
|
for(wall_pts = x_centered)
|
||||||
|
Reference in New Issue
Block a user