mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 06:13:10 +02:00
format
This commit is contained in:
@@ -26,11 +26,8 @@ module ring_extrude(shape_pts, radius, angle = 360, twist = 0, scale = 1.0, tria
|
|||||||
|
|
||||||
leng = radius * cos(a_step / 2);
|
leng = radius * cos(a_step / 2);
|
||||||
|
|
||||||
begin_r =
|
begin_r = leng / cos((m - 0.5) * a_step - angles[0]);
|
||||||
leng / cos((m - 0.5) * a_step - angles[0]);
|
end_r = leng / cos((n + 0.5) * a_step - angles[1]);
|
||||||
|
|
||||||
end_r =
|
|
||||||
leng / cos((n + 0.5) * a_step - angles[1]);
|
|
||||||
|
|
||||||
angs = concat(
|
angs = concat(
|
||||||
[[90, 0, angles[0]]],
|
[[90, 0, angles[0]]],
|
||||||
|
Reference in New Issue
Block a user