mponent or whatever) implements the IGH_InitCodeAware interface you will have to add a method called SetInitCode(string) which will be called after the constuctor and you'll get whatever came after the equals symbol. Thus, if the user double clicks and types 'YourComponent = 4, true, 99%' then the string passed to SetInitCode will be " 4, true, 99%". You'll be in charge of parsing and interpreting it.…
his could be made easily, if I sort the files in the folder using windwos! :D ... But If a slider could make the frames the other way around, that would be real nice :D ... Because I need them in both ways actually :D ...
you feel me?…
Hi
I'm trying to write a simple script to offset a curve muliptle times (using a 'for loop') but I don't know the vb dotNet syntax. I'm sure lines 84, 88 & 89 are wrong. Any ideas.
Thanks. P
Added by Paul Wintour at 8:25am on September 28, 2010
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;
…
inal surface, creating buckling.
http://www.grasshopper3d.com/forum/topics/differential-growth-in-curves?id=2985220%3ATopic%3A1313465&page=1#comments
I experimented with many different texture effects. In the end I decided i liked the idea of the outer surface being eroded smooth. With the articulate texture protected within folds.
Full GH (Kangaroo - Meshmachine - Weaverbird - Millipede)…
Added by Nick Tyrer at 5:25am on December 10, 2015