This repository contains various projects for building Speckle Clients for Rhino and Grasshopper.
While SpeckleCore (the .net speckle sdk) is now coming with nuget, SpeckleView (the frontend ui) needs to be included as submodules.
Speckle v1 has reached EOL and is no longer mainatined. Check out our brand new 👉 Speckle v2! Read more about the announcemnt here and check out or new website.
The latest build is here. Be sure to check out the getting started guide to get up to speed with some basics.
Speckle for Rhino is developed with Visual Studio 2017.
In order to debug/build Speckle for Rhino:
-
Fork and/or clone this repository.
-
Navigate in the local folder and run
git submodule update --initto bring in the SpeckleView submodule -
Navigate to the SpeckleView directory and run
npm installfrom a console. This will install all dependencies for the SpeckleView project. -
Run
npm run buildin the SpeckleView folder to generate thedist.jsfile. -
Run
npm run devto build the UI and start a local server. Test it: in a browser, navigate tohttp://localhost:9090. You should see the SpeckleView UI. -
Open SpeckleRhino.sln from the repository root.
-
Build the solution, it will:
- get the right version of nuget references (RhinoCommon, SpeckleCore..)
- create a
~/SpekleRhino/Debugfolder containing the plugin to install
-
Start debugging either SpeckleRhino or SpeckleGrasshopper
Rhino Plugin
- Drag&Drop
~/SpekleRhino/Debug/SpeckleWinR6.rhpinto Rhino canvas. - Test the installation typing command
SpeklePanel>Show
Grasshopper plugin
- Open Grasshopper
- Drag&Drop
~/SpekleRhino/Debug/SpeckleGrasshopper.ghainto Grasshopper canvas.
- Drag&Drop
- If during the installation of the
rhpfile you get a "SpeckleKits" missing folder (see #119). Please manually create it in%localappdata%/SpeckleKits. - By default, Speckle does not come with an object model. To actually be able to convert to and from Rhino when building/debugging, please clone and build the SpeckleCoreGeometry repository and copy all
.dlls inside%localappdata%/SpeckleKits
MIT
