Wow ! I will never be without a spiral ! A lot of things in nature are based on various types of spiral so these could be a very good basis for natural objects :D.
Only error I got was with the Cornu Spiral:
read blend: /media/anubis/DJ_Barney_Docs/Forge/ShipYards/Operations/BREAKTHROUGH TECHNOLOGIES/spiral2574_1.blend
begin Cornu Spiral
Traceback (most recent call last):
File "/media/anubis/DJ_Barney_Docs/Forge/ShipYards/Operations/BREAKTHROUGH TECHNOLOGIES/spiral2574_1.blend/spire2574.py", line 2139, in execute
TypeError: 'float' object cannot be interpreted as an integer
I’ve been working on creating this kind of curve …
I notice you have included a lot of maths links, so, along with all the examples I have to hand, time for me to get down to studying (puts student cap on).
EDIT: Here we are … I can see from the description for the Fibonacci Spiral on this page that the last image above is describing what is shown in the image above “powers of PHI” …
These are the Fibonacci numbers, which you can find by the recursive formula a(n)=a(n-1)+a(n-2) with [a(1)=1, a(2)=1, n>2].
So I need to put in this mathematical description of that on the Z axis in your script as I think that is only coded in X and Y dimensions, at least with what I could see on my screen.
1- t’s possible the Cornu is not working yet but i’ll review it later on
got to admit this one is the most difficult of all !
2- Your Golden spiral with Z value
well i already have a fibonaci function check it out
just look at the the archemedes spiral it has a Z value which you could use
but instead of having a Z value / turn it could change for something else
like delta Z following the Fibonaci serie
that should be easy to do
the only problem i 'm not cetain is how do you get the side walls on it for the tower as a spiral 3D
let me know if you find how to do that i can include it in a function !
3- i’m looking for an helix along a path in 3D
if you see anything let me know!
Yes that helps. Great to know I’m on the right path. BTW I included the tower to show the basic principal of the curve. I don’t want to model the tower itself, but it could make an interesting project for someone.
EDIT: I just spoke to Dan Winter who uses this spiral in his physics (for example he produces a water imploder device that uses it). He confirmed to me that it is in fact , not the Fibonacci Spiral, but the Golden Spiral that I need to be looking at (Golden Spiral 2 in your script)). The Z axis can apparently be calculated with x2[squared]+y = radius, then radius * golden mean = the Z value.
I got a Z dimension for your Golden Spiral 2. But I am having trouble getting the Z dimension “stretched” enough to match the golden mean proportions on the X and Y axis. I assume the value ANGTR is important so that the Z plot matches the turns of the X/Y spiral (removing it or putting it in wrong leads to plots that go all over the place). I got closest with ANGTRhtphi. Attached are a couple of my results.
I think I’m very close but I have some bad maths teaching in the way from my past. My maths teacher used to shout at us and I have fears instilled in me from having to wrote learn those awful times tables.BTW I’m not trying to ask for sympathy, this is just a sad fact of very bad maths teaching. It’s probably a miracle I can even look at these equations and understand some of it.
well the angtr= ang value in radians is just the radians value of the angle
cause the loop works with angle in degrees
and the X Y values with cos and sin needs the radians values!
so don’t worry about it
PHI value is from one of the site which described the Golden spiral using phi
so i did not really invented anything for this one just applied the equations from the site!
i could change it and works only with radians but i prefer to see angle in degrees its’ easier to visualize it !
Z vs turn
one turn is 2 PI radians =360 Deg and it simply means that for one full 360 degrees turn it will be raised by a certain amount per/turn
and this delta z value can be defined as anything you want
you could make = to phi / turn if that what’s you want !
what kind of name can you put on this new one
is it sort of a golden spiral with Z being golden too?
as soon as i get the new name i’ll upload a new version in first post!
Caduceus is one of the things this spiral actually maps out for use in energy medicine. Dan Winter (and Implosion Group) the fellow who is my mentor, sells a water Imploder that improves crop growth by putting the water through a vortex based on the spiral physics of this Caduceus Spiral.
If it was my code I would keep the references (and there are many, and that’s good) separate in a readme.txt in the folder. This way you aren’t making the .py unnecessarily long. There will come a time for refactoring i’m sure. Might i suggest looking at how ideasman breaks up his MathViz code into seperate .py . If you take a step back some of these functions can be grouped by the type of arithmetic involved.