mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 22:28:16 +01:00
fixed missing _frags problem
This commit is contained in:
parent
e5042a0993
commit
cfa582cba2
@ -17,7 +17,10 @@ function helix(radius, levels, level_dist,
|
||||
let(
|
||||
points = circle_path(radius),
|
||||
leng = len(points),
|
||||
offset_z = level_dist / _frags(radius),
|
||||
_frags = $fn > 0 ?
|
||||
($fn >= 3 ? $fn : 3) :
|
||||
max(min(360 / $fa, radius * 6.28318 / $fs), 5),
|
||||
offset_z = level_dist / _frags,
|
||||
v_dir = (vt_dir == "SPI_DOWN" ? -1 : 1),
|
||||
r_dir = (rt_dir == "CT_CLK" ? 1 : -1)
|
||||
) [
|
||||
|
Loading…
x
Reference in New Issue
Block a user