algorithmic modeling for Rhino
Hi (from France),
Clusters are a great functionnality (beta for the moment).
I know how to make a cluster, to export a cluster to a file (linked or not) and to add a cluster in components tabs but, i don't know how to use the exported *.ghcluster file in *.gh files or components tabs. So i don't understand this export functionnality.
A way to import it ?
Thank's
Yannick
ps : grasshopper 0.9.0014 for rhino 5 is out
ps 2 : rhino 5 tryout is out
Tags:
AGREED. I know how to distinctly:
1) Make a cluster.
2) Create a user object (i.e. create a component in User Tab)
3) Export to a *.ghcluster file.
But I don't understand what you do with a *.ghcluster file? Can you link to it from the tab bar? That would be ideal, so that every use of the cluster in every *.gh file would update with any changes to the *.ghcluster original. But is that even possible? Or does it just link to the *.gh file you got it from?
OK, i think I just figured it out after doing some tests between different open .gh files.
Like David says HERE and HERE, *.ghuser files work in the tabs. However, what I've proven to myself is that they don't update between .gh projects, so any changes to one instance don't effect the others.
Referenced *.ghcluster files, on the other hand, DO link between .gh projects!! YAY. Their downside is that, at least in my next-to-most-recent GH version (I'm waiting for my Rhino 5 to get here so I can update), you still can't put them into the Tab bar. So instead of easy access in the Tab bars, you just have to open whatever folder your *.ghcluster is in (in Windows) and drag it onto your project to use and link it!
Can you explain please How do you do the second? and why do you need it..?
I'm tring to use a cluster and export it to the tool bar as a new component.
This is the issue in my case:
I have a new cluster named: "CurveSimilarity"
I want to use this in the ghPython that way (or in any other way in ghPython)
import ghpythonlib.components as ghcomp
res = ghcomp.CurveSimilarity(crv1, crv2)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by