In order to publish and load Speckle models in Grasshopper, you will need:
  • An authenticated Speckle account
  • A link to the specific Speckle model
Not sure what Speckle workspaces, projects, models, and versions are? Brush up on Speckle basics here.

Signing in to your Speckle account

All Speckle account management is handled by our DesktopServices.exe program, which is installed automatically with every connector. You only need to sign in to your account once, with any Speckle connector, to use it across all your applications.
If you uninstall and re-install DesktopServices, you will need to sign-in to your Speckle account again.
If you don’t already have an authenticated Speckle account on your computer, use the Sign-In node and follow the steps in your browser to add your Speckle account.
Inputs
  1. By default, this node will sign in to app.speckle.systems. Add a Server Url input only if you want to sign in to a custom server.
  2. Click the Sign In button to start the sign in process in your web browser. Follow the prompts in your web browser to complete sign in.
Outputs
  1. The Accounts output contains a list of all accounts you are signed into on your local computer.

Linking to a Speckle model

All Speckle model management, including creating or deleting workspaces, projects, and models, should be done in your web browser when using the Speckle Grasshopper connector.
Use the Speckle Model node to create a model resource for the specific Speckle model you want to publish to or load from in the web.
Option 1: Creating a link using the node buttons You can use the buttons on the Speckle Model node to explore and select your available Speckle models. The buttons correspond to your available Workspaces, Projects, Models, and Versions (in that order).
  1. By default, the first button will display your first available Workspace. To change your Workspace, left-click the first button and select the correct one.
  2. Left-click the second button to select your Speckle Project in the Workspace.
  3. Left-click the third button to select your Speckle Model in the Project.
  4. By default, the last button will display the latest version of your selected Model. There is no need to change this, unless you would like to load a specific earlier version of your Model.
You can always view your Speckle Model resource in your web browser by right-click > select View in Browser on the Speckle Model node.
Option 2: Creating a link using an input URL You can use the URL address of a Speckle Model, copied from a web browser, to automatically populate the Workspace, Project, Model, and Version of the Model Link node.
  1. Navigate to your Speckle Model in your web browser.
  2. Copy the URL of your model. The URL should have the following format: https://app.speckle.systems/projects/[project id]/models/[model id]
  3. Paste your URL to a Panel to your Grasshopper document and add it to the URL input of the Model Link node. You should now see all node buttons correctly set.
If you are getting errors retrieving your model, make sure you have the correct Speckle account selected in your Speckle Model node. To check or change your account, right-click > select Account on the node.

Loading Models

Use the Load node to load a Speckle Model into your Grasshopper document.
Inputs
  1. Add a Speckle Model input of the Speckle Model you want to load.
  2. Click the Load button to load your model.
Outputs
  1. The Collection output contains your loaded model.
Right-click the node for additional settings:
  • Set your node to load automatically whenever there is a new version of your Speckle model. Make sure your input Speckle Model node does not have a specific version set in order to activate this setting.
  • View your model online in your web browser

Publishing Models

Use the Publish node to publish your Grasshopper model to Speckle.
Inputs
  1. Add a Speckle Model input of the Speckle Model you want to publish a new version to.
  2. Add a Collection input containing the Collection of objects you want to publish.
  3. Add an optional Version Message input to describe the version of the model you are about to publish.
  4. Click the Publish button to publish your model.
Outputs
  1. The Speckle Model output contains the Model you just published.
Right-click the node for additional settings:
  • Set your node to publish automatically whenever there is a new solve of Collection you are publishing.
  • View your model online in your web browser.