Rhino Plugin, Mouse events in Grasshopper (WIP)

Thanks to @dale for his excellent examples which help me alot

Mouse event work fine in Grasshopper

2 Likes

I like it, it seems that it is going in the direction of catia’s synchronized interface and that is great, there rhino and grasshopper become a very efficient powerful and fast tool, since at times it is faster and using the rhino interface without grasshopper and other times grasshopper that would give versatility to do a more effective and efficient job. I applaud this initiative to synchronize since rhino and grasshopper are from the same owner, it should in my opinion have a bi dissect language synchronized in real time. keep going please

Watch the first item of the video.

1 Like

Thank you, yes you are right synchronization between Rhino and Grasshopper is possible and useful.
For example if we click on curve button we can automatically add curve component and the same for all other commands,
We can create designs in realtime like nurbs surfaces, i tried this for curves but i had some problems like lost of sorting of points after deleting or moving them and there is no event for control points.
I will try to try some ideas and maybe someday we will see official integration for something like that.

2 Likes

This works because CATIAs components are directly tied to their command. In Rhino & Grasshopper, this is not the case. Some components have different names and behave differently. And not even everything of Rhinocommon is equal, as if you run the equivalent Rhino command. Grasshopper often has its own implementations for certain pieces. The problem is much more complicated to reduce it down to event listing.

Bytheway, listing to mouse events is not a big achievement here at all. There are various ways of doing that, and it would be odd, if this is not supposed to work. It rather seems the OT still did not fully understand what events are, and why it’s so complicated if a 3rd party developer wants to extend Grasshopper in a way it was never designed for. Not saying it will be impossible, but you need to work around anything here, to compensate the missing access to lower functionality, because of the reason: What happens if there is no event there to be fired…