1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00

fixed orientation problem

This commit is contained in:
Justin Lin 2017-05-16 20:10:08 +08:00
parent ae6aea5a30
commit 984ffaa49d

View File

@ -20,10 +20,12 @@ module archimedean_spiral_extrude(shape_pts, arm_distance, init_angle, point_dis
rt_dir = rt_dir
);
clk_a = rt_dir == "CT_CLK" ? 0 : 180;
points = [for(pa = points_angles) pa[0]];
angles = [
for(pa = points_angles)
[90, 0, pa[1]]
[90, 0, pa[1] + clk_a]
];
polysections(