ill crash.
Example: offset surface, input "S" 100 surfaces grafted, "D" 2 values > total 200 surfaces as output
now in source link we replace the 2 values with 100 new values, and because we are changing the logic of the definition we would need to remove the graft in "S" to have just 100 surfaces as output, but it is too late! GH now is calculating 10000 new surfaces! (noob behavior, yes, but hey, it happens)
Solutions (maybe):
1- GH multiply only the trees lengths and/or complexity to find out how many outputs there will be. It will show up "We are going to calculate 10000 new surfaces, do you want to continue?" (if no, the component is disabled)
2- GH start doing some of the first solutions, check the time needed to do so, then calculate the approximative total time and pop up a "This component will require roughly x minutes to complete, do you want to continue?"
This should be done also with the whole definition: sometimes the output of a component (in danger if with new inputs) is linked to another dangerous component! (usually even to other more and more)
This lead in some cases, just by removing or adding a single graft/flatten somewhere, to completely crash GH, because millions of solutions should be calculated.
Calculate the total number of outputs should really faster than calculating the outputs themselves. A small IF to stop things where it's too much could come handy.
(tell me if I've explained myself bad :P )…
types. Equations currently working:
Constant f(x) = c
Linear f(x) = ax+b
Parabola f(x) = a(x-h)² + k
Polynomial f(x) = a + bx² + cx³ + ...
Hyperbola f(x) = (ax + b) + (d/(x - c))
Reciprocal f(x) = 1/((x - b)^p) + c
Logarithm f(x) = log[base](x-b) + c
Cosine f(x) = a*cos(f(x-b)) + c
Sinc f(x) = a(sin(f(x-b))/x) + c
Gaussian
Block Wave
Sawtooth Wave
TriangleWave
Perlin Noise up to 8 octaves
Interpolation of N points using various interpolation schemes: {Nearest neighbour, Linear, Cubic, Akima, Bulirsch-Stoer, Equidistant polynomial, Floater-Hormann, Neville polynomial}
Rhino Curve (not quite sure yet how to expose control-points on this one)
Grasshopper Expression
Bezier spans, i.e. N sequential points and tangents (still working on this one actually).
I could add more types such as tan, arctan, hyperbolic trig functions, square-roots, etc. etc. but I've got enough for testing purposes now.…
ition" without problem, and i conect any componen to evaluate's input.
Image 2- it seems to be alright but inmediately turns red; It does not matter if i use the expression editor or a "panel".
Image 3- I closed Rhinoceros, i did the same expression and i got the same result, bun then i changed to another more simple expression and it worked,
Image 4-I change to the expression desired and it work.
So my question is about if im making a mistake or theres a problem with my software...
Kind regards.…
ve segments as seen in figure 1.
But as soon as I create more than one set of curves, the loft goes awry. I was able to make simple version of what I’m trying to in rhino as seen in figure 2, however I’d like to be able to quickly make changes in the rotation angle in grasshopper.
So far, it seems to work when I isolate one set of points form the curve segments – top and bottom. However, when I try to loft the entire series of points. I end up with a continuous loft, from the first point to the last point, as seen in figure 3.
Any help would be greatly appreciated, thank you in advance.
- David …
r reference, I uploaded a testfile with labels A to F that shows this issues.
When selecting some objects and pressing the middle mouse button, a button for clustering appears. The inputs and outputs of clusters created with this immense useful function cannot be tagged.
1.
Set up a cluster like in A with inputs/outputs, tag the inputs/outputs with double click, cluster it, the inputs of the clusters B are correctly labeled.
double-click the cluster to edit it, double-click the input to edit the label, edit, save-and-close cluster - the new label doesn't appear at the input. Maybe I'm doing something wrong?
2.
select the objects to be clustered like in C, middle-mouse-button, cluster selection, the result can be seen in D. Again, double-click the cluster to edit it, edit the labels - nothing happens.
3.
This has to do with the visibility of clustered components. E shows two clusters that cannot be displayed, no matter if they are set to visible or not (it's the same component imported from my library, copied, disentangled and made inside visible one time). I believe I created it like method C.
I tried different cases (that's why there are so many differently visible variations in the file), but cannot reproduce this error.
best regards, Laurenz…
s to load from file (from 0 to 1)
So this post is about masks.
Rhino Point Clouds can store information such as : location of a point, it's color and normal vector. It is common to store intensity values, but it is not supported in Rhino.
Mask characters :
x y z - location
u v w - normal
r g b - color
a - intensity
Let's say that your file is formatted such as :
10.000 ; 12.000 ; 20.053 ; 0.243
which means it stores location and intensity values.
A proper mask will inform Load Cloud component how to read those values
x;y;z;a
The first non-alphabetic character in the mask is automatically interpreted as the separator.
Same masks work with Save Cloud component. Note that it has D input which when set to True will make it surround all the values in double-quotes.
"10.000" ; "12.000" ; "20.053" ; "0.243"
Cloud Load doesn't care about those double-quotes, it just ignores them and proceeds to read the values without them.…
on't know if this is a bug in Rhino, RhinoCommon, Windows, MFC or .NET. What I do know is that that second event got absorbed by the slider, which in turn thought it had to start another solution. This second solution was running 'inside' the first solution and the two conflicted, resulting in a boat-load of identical error messages.
I fixed this issue (I think) by not responding to mouse-moves at all when a solution is currently running. I can find no more problems with the file you posted in this new setting, though there is quite a lot of flicker while dragging sliders.
You can reduce this by disabling the redraw while you're shuffling around breps:
doc.Views.RedrawEnabled = false;
Guid brepID = doc.Objects.AddBrep(b);
doc.Objects.UnselectAll();
Rhino.RhinoApp.RunScript(string.Format("-_SelID {0}", brepID), false);
Rhino.RhinoApp.RunScript(string.Format("-_Bend w{0} w{1} w{2} _Enter", coords(s1), coords(s2), coords(d)), false);
Rhino.DocObjects.ObjRef bakedObj = new Rhino.DocObjects.ObjRef(brepID);
A = bakedObj.Brep();
doc.Objects.Delete(brepID, true);
doc.Views.RedrawEnabled = true;
The fix with the recursive mouse-events will be available come the next release. In the meantime, you can try refreshing your solution by pressing F5, so you won't have to mock about with re-connecting wires.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 12:37pm on January 16, 2011
h scary.
Screenshot please.
The advanced examples are made in such way to max out the performance of the system. Send me the screenshot of your console, it might be that Mandrill is dropping some MIDI values write cycles, because Grasshopper is still computing the geometry.
2. Every time I run the PoC.exe it sees an existing file which it thinks shouldn't be there...
Think you'd best say in the documentation to leave PoC open... may not be obvious.
You're right this might be misleading. Mandrill is "compiled" using PyInstaller and it leaves this strange message. For now just ignore, for stable releases I will look into real python compilers.
Plugin version: 0.9.0071 Archive file written with newer version: 0.9.0075 Grasshopper files are not necessarily forwards compatible and this file might not deserialize correctly Object list read
It just means that your Grasshopper version is older than the one I used for producing Mandrill. Update to at least version 0.9.0075 ant this will not show up any more. I think that this error doesn't cause any problems as long as you don't experience some components to crash (red colored)
It's great you like the volume control thingy, it's always a good option to check if the MIDI controller setup works fine. I am waiting to see what you will do with Mandrill :D…
to panelize & planerize in Grasshopper using the Kangaroo plug-in.
I’d like the “funnels” to taper upwards from a small base circle to a larger square. The problem is very similar to the one tackled in another post:http://www.grasshopper3d.com/forum/topics/how-to-get-continuous-panels
So far I have simply attempted to apply the tutorial at the address below to my surface…which resulted in a wild simulation where no equilibrium was reached. I’ve played around with tolerances but to no avail.
Going forward I have some very broad questions:
1. Quite simply; how would you experienced types recommend I model the initial funnel? (Revolution surface? Mesh? Successive lofts?…)
2. Would you recommend paneling with a particular shape? Maybe it is my choice of working with only hexagons that is geometrically instable?
3. Would you apply a different technique than that used in the tutorial below, or simply change some elements? I’ve heard that the Weaverbird plug-in can be useful for use with Kangaroo for this sort of problem?
Tutorial followed: “How to create planar Honeycomb Shells using Kangaroo´s Planarization Forces” by ThinkParametric https://www.youtube.com/watch?v=MsbyfC2usUk
Thanks in advance for any feedback!…