Dendro for mac beta

good news for all the mac users who constantly email me. someone was kind enough on github to solve for the mac build of dendro. seeing as i don’t have a mac system to test on i was hoping someone here could help me get this over the finish line.

i recently merged the mac version into the github and was hoping someone could build it and test it out on their mac and try it in rhino for mac. once everything seems to work, it would be great to get the gha and dll so i can put it on food4rhino.

also, i am going to start working on adding some features to dendro again. if anyone has feedback or any wishlist items, then feel free to reach out. top of my list is looking at adding in opengl rendering instead of remeshing within each component. i had looked into a couple of years ago but never added it. in theory, it should help with performance significantly.

11 Likes

Very cool development, thank you @ryein

Cheers

DK

2 Likes

A gha and dll file would be very helpful. How do you add the GitHub files to Grasshopper?

Brilliant!

As far as I understand, you need to reassemble the DendroAPI. on macOS, the final file is not .dll a .dylib I’d like to help. i have a macbook on arm, but i don’t understand C++ at all, In theory, I can provide access to my mac. :sunglasses:

Also, I think you need to rename the
[DllImport (“DendroAPI.dll”, CallingConvention = CallingConvention.Cdecl)]
static private extern IntPtr DendroCreate ();
in
[DllImport (“DendroAPI”, CallingConvention = CallingConvention.Cdecl)]
static private extern IntPtr DendroCreate ();

This is great, thanks. I’ve been wishing I could fully use Dendro on my Mac for years!

@ryein or anyone - is there a good step-by-step installation process I can follow to try this out?

Hello! Please make a video tutorial! I have no clue how to script… please! help me… someone…

Hi @ryein,

Dendro is a game changer. Absolute game changer. I may get my hands on mac soon and have some really complex and heavy dendro models to test. So I’m up for helping with this!

Also, features that would be cool: Is there any speed benefit in being able to perform additions and subtractions simultaneously?

@ryein I have a M1 Mac running Sonoma and I’d like to help to do some testing. I can’t seem to compile with dotnet build DendroGH.Mac.csproj
I get the following error:

error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see Troubleshooting NuGet Package Restore in Visual Studio | Microsoft Learn. The missing file is …\packages\RhinoCommon.7.0.20314.3001\build\RhinoCommon.targets.

Let me know if i can do something to make this work.

3 Likes

Currently testing the Mac version of Dendro, and so far it’s looking really good!! Is there anything holding it back from going live?

1 Like

Hey ive been trying to install dendro for Version 8 (8.15.25019.13002, 2025-01-19) and have been failing so far does anyone have a good tutorial?

1 Like

I tried to install it on my mac but had no success. Does anybody know how to do it ?

Would you be able to please describe in more detail how you installed dendro to your mac ?

Same issue for me

I have the compiled files here: Sign in to your account

Copy them to your components folder.
Now we had an issue when I shared these files with someone else that the grasshopper component for some reason wouldn’t load the .dylib file.
Try it, see what happens. I’m curious what needs to be done for the distribution to just work flawlessly, because Dendro on Mac WORKS PERFECTLY. So now it’s just a distribution question which I know nothing about.

I unfortunately can’t provide support on getting it to work.

2 Likes

Thank you for providing that. I put all the files in my component folder and then got this message when reopening grasshopper. Do you have any idea how to fix that or is there something I’m missing with the installation ?

Its only build for Rhino 8. That’s why you get that message. Looks like you’re in 7?

Ohh yes. I was going to update anyways in the next couple weeks or so. Seems like the right time to do it now then. I will keep you updated if it works with Rhino 8 on my Mac. Thank you!

Hey thanks! The install seems to be working. It shows up in my grasshopper tabs. Nice work!

Could you perhaps detail how you compiled the files step by step? Might be useful for people who stumble on this thread later because the files won’t be available forever. Cheers

1 Like