Logspiral - Adding logarithmic spirals


I’ve uploaded my first simple (and finished) addon to create custom logarithmic spirals in Blender as mesh objects here:

It gives you control over all parameters which determine the shape and resolution of the spiral, as well as an additional (optional) exponential growth in the 3rd dimension:

For me this was a necessary addition to Blender while modelling ammonite shells, which follow a logarithmic curve. Maybe it is useful for someone here, too.



After install when i try make Logspiral from shift A menu i have this error:
Latest 2.92.3

Python: Traceback (most recent call last):
  File "C:\Users\radi0n\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\logspiral.py", line 138, in execute
    verts_loc, edges = add_logspiral(
  File "C:\Users\radi0n\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\logspiral.py", line 46, in add_logspiral
    x, y, z = get_logspiral_vertices(a, b, c, alpha0, nturns, ndivisions)
  File "C:\Users\radi0n\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\logspiral.py", line 37, in get_logspiral_vertices
    alpha = np.linspace(0., nturns * 2.*np.pi, num = nsteps) + alpha0/180.*np.pi
  File "<__array_function__ internals>", line 5, in linspace
  File "C:\Blender\Blender2.93\2.93\python\lib\site-packages\numpy\core\function_base.py", line 113, in linspace
    num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer

location: <unknown location>:-1

Thanks for the bug report, it should be fixed! Please re-install the add-on!


Thanks! Now its ok!