"Thank's, it was because i'd the 0.8 version. I'm now up to date.
To complete this answer (thank's @taz (monster of tasmania ?) here is a screen capture :
You can use concatenate or String Join components."
"CastFrom is probably a wee bit slower than the functions available in the Grasshopper.Kernel.GH_Convert class. How many cylinders are you creating in 2 seconds? If the code you pasted above is all there's to it, I imagine it's thousands…"
Thanks for the reply. I have timed the code execution and it appears that it takes about 2 secs for the rhinocommon geometry creation loop and another 2 secs for the DA.SetDataList etc to execute.
All GH geometry is essentially…"
"Casting is about as fast as I can make it. If you want to shave a few nanoseconds off the type-guid jump table, then you can create a list of GH_Surface or GH_Brep instead. Have you profiled your code to see how long it takes to run in comparison to…"
Hi David,Can you share your thoughts on the casting of Rhino Geometry to Grasshopper geometry in a custom VB.net component? I seem to running into some overhead in my custom component where I create some geometry using the RhinoCommon library and eventually output these geometry to Grasshopper lists.For example,for xp in Plane_List'creating new geometry and storing it in a list ready to be outputoutput_List.Add(New Cylinder(New Circle(xp, 32), 100).ToNurbsSurface)next x'this cast from rhino…See More
I'm not a naval architect but just happen to sail small dinghies and thus the cover image. Sometimes, scripts and GH workflows mimic being on the edge of disaster similar to sailing a small boat in strong wind and big…"
This group is intended as a collective of gh users who have a marine background.Despite the name you do not have to be a Naval Architect to join. Whether you are a budding Optimist Sailor or Admiral of the Fleet please feel free to share and discuss any topics relevant to Grasshopper and the Maritime Industry.Also acceptable "Off Topics" of conversation include "How will l'Hydroptere fair on her Transpacific Record attempt?" Or "Should Juan K have been appointed the VOR one design, or is he to…See More
These are standard point and string inputs. However, sometimes these inputs are outputs from other custom components.
F5 sometimes works to fix this. However, for a component with a few inputs (say 3), F5 would enable some of the inputs…"
"Ok, so these are standard String or Point parameters?
There was a bug with post-process effects on output parameters a while ago. It would not recompute by itself, but this was always fixed by pressing F5 a single time. But that bug should…"
Ok. Now this gets interesting. "is only posted when the VolatileData of the parameter is empty and the parameter is not optional." The volatile data coming being fed into the component is usually text or sometimes points. I…"
"Well even if you could 'reset' your inputs (which is possible), I think it makes more sense to try and figure out why it is happening. If this is the manifestation of a bug in Grasshopper core I need to fix it there.
Thanks for the reply.
The components which have this issue are GHA custom components.
The parameters which "fail to collect the data" have been lists and trees.
Is there a function to "reset" or re-initialize…"
I'm not sure exactly what's going on here. Are you running VB/C# script component, or a GHA component?
What sort of parameters are failing to collect data?
Whatever the problem is, I sincerely doubt it could possibly be…"