OpenNest Solver with Hops

Hi @Petras_Vestartas

I´m trying to run OpenNest with hops but I´m running into some issues:

I thought the opennest solver is static akin to the K2 Zombie solver, so it should work. Any idea why it doesn´t?

Cheers, -David

Total guess here since I do not have access to the OpenNest GHA source.

RhinoDoc.ActiveDoc is typically null when running in rhino.compute. This is usually where I’ve seen plug-ins fail as they are attempting to do something like get the tolerance off of the active doc. Grasshopper has some helper functions for this to return a consistent tolerance when no active doc exists.

1 Like

You can try to run opennest using from .dll. i think there is a sample on github.

1 Like

Could you please elaborate on this? I’m not sure how to run from .dll and could not find a sample on github!

thanks you!