oh so like a floating dropdown menu. Yeah it might make sense. You give it a point where to appear in rhino space, and list of options that should appear upon click. The rest of the logic should be defined inside grasshopper. Interesting.
- Another idea is to add a toggle for the gumball and other components to enable interaction. Currently the user needs to select them in the grasshopper canvas. If I am using this as part of a UI for someone else, then I need to use Metahopper to select your gumball component to enable interaction.
- Maybe even expose some of those right click options as an input parameters as well. I don’t see a use for that now but it is aways helpful to have the options exposed parametrically.
- Finally I found a bug: I want the gumball to be “arrow only” or “free tanslate” and i set that using right click accordingly. When something downstream changes and the points reset, the gumball type selection also resets. So rotation, plane, and arrows are now visible again.
Here the gumball in action with a UI + the help of Metahopper and a python script to deselect the component once it’s done. I was using kangaroo for this previously but it has it’s own set of problems.
I would also like to vote for this. DKUI, HumanUI or similar driven scripts do not always have user access to the GH canvas. This plugin would be infinitely more valuable in these scripts if the controls were available as standard inputs.
Cheers
DK
This is awesome functionality, I have more than a few uses in my own workflow.
Cheers
DK
See the video below and my application.
1.Another feature idea is to limit gumball to a specific axis,
2.When Gumball is set to “Apply to all” one gumball should appear at the average point instead of multiple.
For comparison here is how it works with kangaroo. I can constrain to a direction. My biggest issue with kangaroo is it doesn’t automatically reset when upstream data changes.
Thank you for all the feedback. I think i will add controls as inputs in the next update, and fix the bug.
About the toggle to enable interaction - components other than gumball have “lock unselected” in the right click menu, which allows the component to be active all the time, not only when selected. What do you mean by "to enable interaction? set boolean to true for the gumball to appear in the viewport? and if false - it disappears?
I do not see the point in making apply to all gumball, because you can find average/use first item/specific point in grasshopper that will represent a list, and move it, and use transform output from gumball to translate. I feel like that would be adding something that you can set up easily in grasshopper.
About constraining gumball to specific axis - i am not sure its a task for gumball in that case - maybe its better to use point on curve component. That will allow to constrain translation along axis and limit to specific length.
- Toggle to enable interaction: Lock the preview using the right click is nice. Having controls via an input is even better, then you have the option to turn things on and off as needed.
- Yes, I agree. I didn’t think of that.
- Currently your line constraint appears to only allow one point along a curve. Also it outputs a parameter along a curve with a undefined starting point. If i want a set of specific starting points along a curve that would be more difficult.
- Yeah makes sense, i will think about it
Updated multiple components today. Added ZUI, so now you have inputs, You can try updated version. Unfortunately, it breaks files with older version of the plug in. Need testing