Awesome
KangarooGHPython
Examples of how to implement Kangaroo2 in GHPython. Please note that these examples are a first attempt at using Kangaroo2 with GHPython. So use with caution and be aware that there may be better approaches. Feedback and suggestions are more than welcome. The implementation has the following dependencies which will need to be installed on your system:
ghpython.gha <br/> KangarooSolver.dll <br/>
Installing ghpython.gha and KangarooSolver.dll<br/>
- Move the files to the Grasshopper Libraries folder (%appdata%\Grasshopper\Libraries). <br/>
- Unblock them (right-click the file -> Properties -> Unblock -> Ok). <br/>
Add the Grasshopper Libraries folder path to the RhinoPython paths list<br/> In order to implement KangarooSolver.dll using GHPython you will need to add the Grasshopper Libraries folder path to the RhinoPython paths list:
- In Rhino type in the command "EditPythonScript".<br/>
- In this Python editor go "Tools -> Options -> Files".<br/>
- Here you will see an overview of the directories which are currently referenced.<br/>
- Add a reference to the Grasshopper Libraries folder (it may be hidden, of so unhide it).<br/>
- Restart Rhino.<br/>