(A -> AB, B -> BA) -> in result you get AB BA
n=3: ABBABAAB (A->AB;B->BA;B->BA;A->AB) result: AB BA BA AB
n=4: ABBABAABBAABABBA (etc. etc.)
You can find some more details in 'The Algorithmic beauty of plants' - it is freely available as a PDF:
http://algorithmicbotany.org/papers/abop/abop.pdf
Best…
exact formula is inside /lib/skybright.cal if this can help you to find the name.
{ RCSid: $Id$ } { Sky brightness function for sunny and cloudy skies.
Additional arguments required for calculation of skybright:
A1 - 1 for CIE clear, 2 for CIE overcast, 3 for uniform, 4 for CIE intermediate A2 - zenith brightness A3 - ground plane brightness A4 - normalization factor based on sun direction A5,A6,A7 - sun direction }
cosgamma = Dx*A5 + Dy*A6 + Dz*A7;
gamma = Acos(cosgamma); { angle from sun to this point in sky }
zt = Acos(A7); { angle from zenith to sun }
eta = Acos(Dz); { angle from zenith to this point in sky }
wmean(a, x, b, y) : (a*x + b*y) / (a + b);
skybr = wmean((Dz+1.01)^10, select(A1, sunnysky, cloudysky, unifsky, intersky), (Dz+1.01)^-10, A3);
sunnysky = A2 * (.91 + 10*exp(-3*gamma) + .45*cosgamma*cosgamma) * if( Dz - .01, 1.0 - exp(-.32/Dz), 1.0) / A4;
cloudysky = A2 * (1 + 2*Dz)/3;
unifsky = A2;
intersky = A2 * ( (1.35*sin(5.631-3.59*eta)+3.12)*sin(4.396-2.6*zt) + 6.37 - eta ) / 2.326 * exp(gamma*-.563*((2.629-eta)*(1.562-zt)+.812)) / A4;
…
do it? can someone help me out?
here, i tried listing out all the divided points of the 3 curves to get a list of values to interpolate. but, if i try that, i am able to only list out the points of AB and CD. so, i used two lists to get divided points, first list of AB, CD and second of CD, EF. but, then, how do i join the list and interpolate the curves?…
create clusters and have as much computing power as you like. That way I've done some complex simulations with more than a hundred cores. There are some good explanations for creating clusters and running OF on the Amazon cloud in general on this site: https://cfd.direct/cloud/aws/
Cheers
Albert…
rface(test_brep, test_surface, 0.1, curves_list, points_list)
and I get back:
1. Error (BC30311): Value of type 'System.Collections.Generic.List(Of Rhino.Geometry.Curve)' cannot be converted to '1-dimensional array of Rhino.Geometry.Curve'. (line 97)
2. Error (BC30311): Value of type 'System.Collections.Generic.List(Of Rhino.Geometry.Point3d)' cannot be converted to '1-dimensional array of Rhino.Geometry.Point3d'. (line 97)
Could anyone tell me what I'm doing wrong?
Thanks!…