1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +02:00

update doc

This commit is contained in:
Justin Lin
2022-03-08 09:33:35 +08:00
parent adf3ea365f
commit ff89443ff2

View File

@@ -52,16 +52,16 @@ An `init_angle` less than 180 degrees is not recommended because the function us
t = "3.141592653589793238462643383279502884197169399375105820974944592307816406286";
points = archimedean_spiral(
points_angles = archimedean_spiral(
arm_distance = 15,
init_angle = 450,
point_distance = 12,
num_of_points = len(t)
);
for(i = [0: len(points) - 1]) {
translate(points[i].x)
rotate(points[i].y + 90)
for(i = [0: len(points_angles) - 1]) {
translate(points_angles[i][0])
rotate(points_angles[i][1] + 90)
text(t[i], valign = "center", halign = "center");
}