Rhino to Grasshopper: Mouse clicks, objects, views

Plugin and 4 userobjects components to receive:

    • All commands used in Rhino.
    • All objects added or removed.
    • Active view, cursor position and Mouse clicks.
    • Keyboard key pressed with its name (ALT, SHIFT, CTRL, TAB, SPACE, BACKSPACE, DELETE, ESC, ENTER).

With no need to use a timer.

I will share it after more tests.

5 Likes

New components:

  • Realtime mouse tracker and activeview.
  • Layers.

3 Likes

Interesting!

Test: Automatic Mesh outlines when the cursor moves

1 Like

Components added:

  • Blocks
  • Enable/Disable events

4 Likes

Please get link for download this plugin

@Rh-3d-p

I will share it soon, just need more tests

1 Like

Disable and Enable events will disable or enable sending data to all Grasshopper documents used the components, so we can create two Rhino buttons

image

The plugin uploaded to food4rhino, i will share the link when they validate it

2 Likes

Toggle button added, currently only one toggle works per document

2 Likes

Plugin available

2 Likes

Groups added

image

1 Like

Adding point to canva when a point added to Rhino viewport

Ungroup, Explode block, Object selection

Very nice and useful. Here’s a suggestion, inspired by your last post: add a functionality to automatically add selected objects to the canvas in the proper batteries, with an option for automatically group them by type.
cheers!

The original idea was to use a screenshot of a Grasshopper script and place points on every component in the image, then convert all points to components in the canvas.
Anyway i can’t spend time on it, I showed an example and the user can do more.

I think adding components from Rhino will be a new plugin.
The command accept the name of the component and the Guid,
but the problem that i can’t find the list of all components or their guids.
We can add this command GhComponent to any Rhino button and assign a name or a guid, which add the component immediately to the canvas.

The idea based on code of: @piac

And @Mahdiyar

New components added

2 Likes