Grasshopper

algorithmic modeling for Rhino

Just installed the ghpython component for grasshopper, and it took me quite a while to realize that the reason it wasn't working was because the default python component is loading with the inputs and outputs named incorrectly.

As you can see in the attached screenshot... the top component is unaltered from the way it loads - and the inputs are named "Variable x, Variable y", the outputs named "Result a".

In the bottom component I have renamed the variables to simply "x" and "a", and adjusted the sample code by adding to the z component of the circle so that they build in a different plane than the first function should (for clarity). 

Using the latest Rhino Beta, Grasshopper 0.8.066, and ghpython 0.4.6.

Anyone else having this issue? Very confusing for newbs like me, for sure.

Views: 448

Replies to This Discussion

Hi Nick,

thanks for posting here! I now see what might be happening.
You probably have the "Show Full Names" option turned on. This is not the default in Grasshopper.

I'll ask David what is the best way in the SDK to avoid to show the description like this in the next version. Thanks for bringing this up,

- Giulio
________________
giulio@mcneel.com

You're right! That was turned on. 

I'm not sure how it became turned on if it isn't by default - ghPython has been my first use of grasshopper on this machine.  Is there a hotkey for it?

Thanks for the help!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service