Hey Specklers
We haven’t used the grasshopper plugin for a while, as we’ve mostly been using speckle for data directly from Rhino, but some questions are coming up on the current version.
For clarity, we downloaded the latest version from https://app.speckle.systems/connectors this morning.
We tried to open the template file from speckle-docs-NEW/connectors/grasshopper/speckle-grasshopper-template.gh at 4218b64c213c056c1012297c7a92e6ab0d519cea · specklesystems/speckle-docs-NEW · GitHub and got a lot of errors around corrupt archives (Yes we checked unblocked)
Then we tried the files in \AppData\Roaming\Grasshopper\Libraries\Speckle Sample Files and got some similar issues…
So we ignored that and started exploring just in gh with the components.
Online image vs current version
From How to use Speckle for Grasshopper - Speckle Docs we see
But then
So perhaps the latest components don’t totally align with the current guidance?
Trying some other things
Okay so then we’ll follow the error advice and use some speckle geometry via data objectsinstead… so let’s try:
- We want to create a “profile” object to send to speckle that is two curves (each with a different colou and a plane.
- Initially we make “speckle geometry” objects. Works for curves. Not for the plane. Okay, so the plane should be a “property”.
- On properties - we tried plugging in other random things and the error “1. Parameter ‘Property 1’ contains invalid data type. Only strings, numbers, booleans, and other Speckle properties are supported.” - doesn’t actually say planes but seems they work anyway.
- When we try to send the curves “speckle geometry” objects it says they need to be wrapped as “speckle data objects” first. Okay we can do that.
- We land on the below which seemed sensible - wrap a list of geometries and a property into a data object and send it.
This worked okay but: - Curves have been renamed to the name of the data object.
- Each curve has had the property of the data object added to it.
So probably we’re doing things in a way that isn’t really the intended method.. but generally some help/advice would be appreciated on how to do what we were trying to do above.
Thank you as always,
James



