generative modeling for Rhino
would it be possible to change the wire display option for the inputs of a panel i.e. use hidden display.
Also, could there be a "snip" action say where data is streamed form an output of a component or file, the user can snip the input (may be by right clicking and selectign from options) and allow the current data to be stored in the current panel is persistent data. This would be much more useful then streaming the data, selecting all data, copying data, and then creating a new panel component on the canvas and pasting the data to the panel. I guess its similar to the persistent data recorder component
Just to add, the snip action would be on the panel component.
I think you can use hidden display for the inputs of a text panel...
And is what you're suggesting different from "Internalize Data"? Are you asking for that ability to be added to the panel component?
Damn, you are right, you have to right click over the panel region, i was right clicking over the node. My Bad.
Yes i think internalize might be the same. How do I do that?
Basically I may want to temporarily stream from a text file but once I have fianlized on that stream input I want to disconnect that text fiel and instead keep that data in the text panel so that when I close the file and reopen it the data is still there and I dont need to look for the text fiel again to stream the data.
If you connect your file reader to a string parameter, and then hook that up to a panel, you should be able to right-click the parameter and choose "internalize data"; this will automatically disconnect the parameter from the file reader but will cause its data at that moment to persist.
Big Problem tho.
When you internalize it does not keep the tree structure.
I had strings arranged in a particualr data tree structure, after internalizing all data is automatically flattened and I lose the tree data structure which is no good.
Ahhh, good point. Copy-pasting into a panel won't preserve the structure either.
In my opinion the internalize feature should probably ALWAYS preserve tree structure; it is easy enough to flatten after the fact if that's the desired effect.
In order to work around this, I scripted a little "Snip" component, which will preserve the path data when you right click the input and choose "internalize." I am only just learning to script with data trees, so I expect there are much smarter/more robust ways of doing it, but it seems to work so far in my limited tests. Hope it is of some use to you!