Grasshopper

algorithmic modeling for Rhino

Hello everybody,

I figured I'd let you know about the latest developments regarding Grasshopper (and other .NET plugins) for Rhino Mac.

Last week some of us from McNeel spoke with Miguel de Icaza (head of development of the Mono project) about running plugins that use Windows.Forms on Mono-Mac. The news is basically not good. Though it isn't terribly bad either.

The WinForms part of Mono is build upon the old Mac Carbon scheme. Rhino for Mac is build upon the new Mac Cocoa scheme. These two don't play well together. This means we cannot run Grasshopper without modifications on the Mac.

Miguel advised us to write a wrapper dll for UI elements that is hooked up to WinForms on windows and Cocoa on Mac, and this will allow Plugin developers to write plugins with a GUI that will run on both Operating systems. Development of these libraries will take months even with an experienced developer. And then I need to rewrite all the UI in Grasshopper. As you can probably imagine, this is not exactly trivial.

--
David Rutten
david@mcneel.com
Seattle, WA


Views: 16228

Replies are closed for this discussion.

Replies to This Discussion

So does that mean no?

Curse David and his infernal riddles!

:)

Hi David,

Can you send to my e-mail Grasshopper OSX Beta release, 
a waiting to help the community to make a final version of this best plugin for parametric modeling.

Thank You!!

criativis@hotmail.com

criativis@criativis.com.br

Regards...

 

David,

Not to ask a difficult question but since 2010 has it become possible to compile grasshopper plugins via mono?

It might be possible if you can compile it against Windows.Froms and System.Drawing. I couldn't guess why you would want to do this though?

As far as I know this is the party line: http://www.grasshopper3d.com/forum/topics/grasshopper-for-apple-mac-os

David is writing Grasshopper 2.0 which as far as I know will be written with cross platform capability in mind. So much so that there might even be a Mac in the same room as his PC.

Grasshopper will load any proper .NET assembly, no matter what language or platform was used to compile it. A maximum of .NET 3.5 is allowed for Rhino5, and .NET 4.5 for Rhino6 I believe.

As for Mac development, McNeel is now working with Curtis Wensley, long time developer of the Eto UI platform. He's already been helping us out a lot over the past few months and starting December we can officially count him as one of our own. We've been (unsuccessfully) trying to fault Eto for a while now, so it's beginning to look like a seriously good basis for cross platform UI development. We're already putting cross platform UI in Rhino6 and Rhino5 for Mac and GH2 will in all likelihood be based on Eto instead of winforms, WPF, Cocoa, or indeed other cross platform solutions.

It is unlikely that GH1 will ever run on the Mac, what with it already being a winforms and System.Drawing assembly.

Some Eto details:

  • Eto is an open-source project and we're going to ship a slightly modified version of it with Rhino6 and Rhino for Mac. 
  • .NET plugins relying only on RhinoCommon, Eto and core framework assemblies should run on both Operating Systems. And I mean the same binaries, you don't even have to compile different versions.
  • Eto is a wrapper around native UI frameworks. UI will look native wherever it runs, although you do have to make sure to swap OK and CANCEL buttons and use platform specific wording like "Apply" vs. "OK".
  • Eto will provide access to 2D graphics engines (GDI+ and Direct2D on Windows, CoreGraphics on the Mac). It is at present not clear whether we'll also provide access to 3D graphics.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service