GH1 → GH2 interop available in latest alpha

We just pushed a new version of Grasshopper 2.0 which has the cross-version component feature.
Note that you need yesterday’s Rhino 8 Wip to use this.

What works:

  • Dragging components from the Grasshopper 1 tool panels onto the Grasshopper 2 canvas should instantiate those components.
  • Input and output parameters should have the correct type (i.e. integer, point, vector, curve, etc.) if that type is common to both GH1 and GH2.
  • Uncommon types should result in a Generic parameter.
  • Predefined input values should be available in Grasshopper 2.
  • Any normal component ought to work, whether it’s standard or whether it comes from a plug-in.

What doesn’t work:

  • Objects other than components. That is, free floating parameters, sliders, panels and the like.
  • Clusters and scripts. These will all revert to their default state, which is empty. So although you can instantiate them, they are entirely useless.
  • User-objects. These, too, revert to their default, pre-user-modified state.
  • Errors and warnings disappear, they are not transferred back to GH2.
  • Variable input and outputs. You cannot add or remove inputs or outputs in GH2, even if the GH1 component supports that.
  • Unknown data-types sort of work and sort of don’t. They will appear in GH2, and can be used to feed into other interop components, but GH2 will be at a loss about how to deal with them. It won’t be able to preview them, format them in tooltips, display them in panels, save them in files, store them in undo-records, etc.

Abnormal components will probably not work as expected. Also, any component which must run on the application UI-thread will almost certainly cause a crash.

18 Likes

Very cool, works great!

I tested with a self-made plugin, which uses data types outside of those of Grasshopper. Works just fine and I get the results I expect. Here’s a screenshot of the interoperability of GH1 and GH2:

Only the non-vector icon graphics reveal the GH1 components. This is beyond awesome!

However, I noticed that a lot of the 3rd party plugins didn’t work. For example these seem to work:

  • ARMy Ant
  • Megarachne
  • Cardinal LCA
  • Kangaroo 2

BUT none of these seem to work:

  • Weaverbird
  • Wombat
  • Lunchbox
  • Human
  • Heteroptera
  • the list goes on…

What could be the underlying reason? It appears that there is some defining factor in these that either allow them to work or not.

I also had one problem however with updating Rhino WIP. When I checked the update status of the version I installed last week, it showed that it is downloading the latest update and all good. But that didn’t mean that it actually was up-to-date. I had to manually download the latest version from Rhino website. Is this intended behaviour or should the WIP install the latest build automatically?

3 Likes

That’s beyond my pay grade I’m afraid. It should install the latest version in a sane world, but maybe it doesn’t do it as soon as possible to avoid a rush??

I’m not actually familiar with most of these, it’ll require some investigation. Somewhat surprised at weaverbird though, I thought it was a bunch of mesh tools.

Looks like a neat feature to ease the transition ! @DavidRutten, it doesn’t seem to work on macOS though, would you have any workaround ? I tried to copy/paste between GH1 and GH2, but it doesn’t work either…

1 Like

It’s probably related to this bug I previously reported:

Have you also noticed that? What OS and config are you on?

@DavidRutten Ja, mei, doesn’t work on macOS!

1 Like

Yup, same bug here, same behaviour depending which GH starts first ! I’m on 11.6.4, might be time to update to 12.XX someday…

I’m on 11.6.5 (Big Sur). I hope they don’t intend to make Rhino and Grasshopper Monterey exclusive. Seems a little bit early for that. :wink:

1 Like

Hi -
We’re aware of that loading issue on macOS. David is working on it.
-wim

I guess I’m missing something, I have this version installed:

And after drag and drop of Catenary I got this:
2022-04-07_13h56_34

Can someone help? :smiley:

1 Like

Hi Wojciech -

Which version of Rhino are you running?
-wim

1 Like

Yeah Wim, that was it :smiley: I thought I have up to date version as I checked “Check for updates” and there was green mark with “The Rhino is up to date”, but after I reinstalled it with version from 05.04 everything works. Thank you :slight_smile:

1 Like

:rofl: Great!

Don’t know how long McNeel would continue to support GH1 and the lifecycle of Rhino 7. Guess i don’t need to write a compatibility tool to convert from GH2 to GH1.

  1. Should there be a standlone dialog to check long license text?
  2. Is it recommended for plugin & components to share GUIDs between GH1 & GH2 version, say you would have a converter in the future?

Ok, inspired by @TuomasLehtonen I actually checked some components and it seems to work for Megarachne for me as well :smiley: it might be the fact that it doesn’t have any dependencies. Obviously I would be more sure if everything works fine if I could just drag and drop whole definition with tests, not a single component one by one, but I understand the reasons why it’s not there :slight_smile: anyway that looks promising!
2022-04-07_15h27_13

1 Like

I also have the same error.@w.radaczynski

Hi -

You need to update Rhino.
-wim

1 Like

No it’s not. That’s a different bug which has been fixed internally now. The fact that the dragging on Mac doesn’t work is something else.

No. You NEVER create the same Guid twice.

1 Like

Yes, manually I think. Which I find odd. Should it be like that? I suppose the internal update functionality should suffice.

i’m not able to do this either.
Just installed the last rhino 8 wip version available

It’s just drag and drop right?