mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-29 20:08:21 +01:00
fixed orientation problem
This commit is contained in:
parent
ae6aea5a30
commit
984ffaa49d
@ -20,10 +20,12 @@ module archimedean_spiral_extrude(shape_pts, arm_distance, init_angle, point_dis
|
|||||||
rt_dir = rt_dir
|
rt_dir = rt_dir
|
||||||
);
|
);
|
||||||
|
|
||||||
|
clk_a = rt_dir == "CT_CLK" ? 0 : 180;
|
||||||
|
|
||||||
points = [for(pa = points_angles) pa[0]];
|
points = [for(pa = points_angles) pa[0]];
|
||||||
angles = [
|
angles = [
|
||||||
for(pa = points_angles)
|
for(pa = points_angles)
|
||||||
[90, 0, pa[1]]
|
[90, 0, pa[1] + clk_a]
|
||||||
];
|
];
|
||||||
|
|
||||||
polysections(
|
polysections(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user