is is not a "linear" arrangement (List could be OK in such an occasion).
3. Use some attractors for the push/pull "gradual" effect. Check that the values are sampled in an apples-to-apples basis with regard the data structure from stage 2. If not > Armageddon + Chaos + Mama Mia.
4. Extrude the mapped rectangles from stage 2 according values from stage 3.
That said I have several "similar" examples ... but not using components. Do by accident speak C#?…
. This means that we know both point's Y values, and the relation of one X value to the other. What we are missing is where the apex point's X value is. If we add to both points a "fudge factor, Xo" allowing for the apex point's X value to be variable, we get 2 simultaneous eqns with 2 unknowns, Xo and A, which is the catenary function coefficient. [this is important so that we don't unintentionally preset the catenary coefficient]
so..
Y1 = A cosh ((X1-Xo)/A) - A
Y2 = A cosh ((X2-Xo)/A) - A
This is solvable, but because cosh (x) = (e^x + e^-x) / 2, we can't separate one of the unknown variables or use one of the other easy techniques. I used Matlab's fsolve function, but obviously while it is very doable to hitch up Matlab to Grasshopper, having this functionality in your script would be ideal.
These are just my meandering thoughts, I'm sure someone on the internet that is better at maths than me has an explicit solution worked out.
Here is what I wrote in Matlab:
iA=1;
iXo=1;
X1=4;
Y1=10;
X2=-3;
Y2=7;
F = @(V) [V(2)*cosh((X1-V(1))/V(2))-V(2)-Y1;V(2)*cosh((X2-V(1))/V(2))-V(2)-Y2];
InitialGuess = [iXo;iA];
Options = optimset('Display','iter');
XY = fsolve(F, InitialGuess, Options);
*Matlab code taken/edited from help file on solving nonlinear simultaneous eqns: http://www.mathworks.com/support/solutions/en/data/1-15NRJ/index.html…
ok, very similar to what i am looking for, but the thing is i have a list not just like (0,n), its like (0;0)...(0;3),(1;0)...(1;3), (2;0)...(2;3), etc
Hi Asaf, we are still working on all the definitions. We still have to make like 10 more... We will let you know ok
Are you a member of GJD3D.com ?
Thanks
Ok, sounds to me then like that PATH variable was not set correctly, and the reinstall fixed that. In theory, I don't think DS 3 vs 4 should make a difference.
Best,
Max