1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-29 17:30:11 +02:00

support 3d point

This commit is contained in:
Justin Lin
2020-02-19 17:33:54 +08:00
parent 94d2585d41
commit 4c3c027995

View File

@@ -14,7 +14,7 @@ function tf_torus(size, point, radius, angle = [360, 360], twist = 0) =
x = point[0],
y = point[1],
R = radius[0],
r = radius[1],
r = radius[1] + (is_undef(point[2]) ? 0 : point[2]),
A = angle[0],
a = angle[1],
ya_step = a / xlen,