mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 09:44:16 +02:00
deleted demo code
This commit is contained in:
@@ -52,16 +52,4 @@ function archimedean_spiral(arm_distance, init_angle, point_distance, num_of_poi
|
|||||||
for(theta = _find_radians(b, point_distance, [init_radian], num_of_points))
|
for(theta = _find_radians(b, point_distance, [init_radian], num_of_points))
|
||||||
let(r = b * theta, a = (rt_dir == "CT_CLK" ? 1 : -1) * theta * 57.2958)
|
let(r = b * theta, a = (rt_dir == "CT_CLK" ? 1 : -1) * theta * 57.2958)
|
||||||
[[r * cos(a), r * sin(a)], a]
|
[[r * cos(a), r * sin(a)], a]
|
||||||
];
|
];
|
||||||
|
|
||||||
points_angles = archimedean_spiral(
|
|
||||||
arm_distance = 10,
|
|
||||||
init_angle = 180,
|
|
||||||
point_distance = 5,
|
|
||||||
num_of_points = 100
|
|
||||||
);
|
|
||||||
|
|
||||||
for(pa = points_angles) {
|
|
||||||
translate(pa[0])
|
|
||||||
circle(2);
|
|
||||||
}
|
|
Reference in New Issue
Block a user