Notifications
Clear all

[Closed] Spline and Helix

Hi

Is there any way to change a spline in to a Helix or if i know the curvelength of a spline is there any mathematical way to find an equal length in a helix form

for example a line with curveLength of 200 is aproximately equal to a helix
with radius1:10 radius2:20 Height:0 Turns:2.1

Thanks in advance

2 Replies

Well, the helix has 4 Variables that effectifely change the length of it.
That would be the 2 radii, the height and the turn count.

If you want to create a Helix with a specific length you’re gonna have to set a few of those (3 I think) before, so that you can solve towards the right values.

Searching for “Conical Helix Length” on Google gave me some results on how to mathematically calculate the length of a helix.
http://mathworld.wolfram.com/ConicalSpiral.html
http://trecs.se/conicalHelix.php
https://www.encyclopediaofmath.org/index.php/Helical_line

Now if you use one of those formulas and say you have radius 1 and 2 as well as height given (set by yourself), then you could calculate the needed turn count to get to your desired length. Using those values you then create a helix and it should have you desired length.

Thats’s just how i would do it, there are people way more capable in scripting than me

Thanks Lukas

I saw one of them before but i couldn’t adopt that formula to maxscript.

Actually the helix i’m looking for has no height (Height= 0) and the first radius is half or 1/3 of the second radius and the turns.

I would be greateful if you help me a little more.