Grasshopper

algorithmic modeling for Rhino

This is a bit basic but can anyone direct me to a source for understanding functions like Curve, point, etc, that have an input and output, but, in some of the codes I have seen, there is no visible wire giving the function input (and the curve was not simply selected from Rhino)... how then does this curve function know the content of the curve in these codes

Views: 501

Replies to This Discussion

Many component inputs have default values such as point 0,0,0, the 'World XY' plane, the count in 'Divide' and 'Series' as well as the number of steps in 'Range' is 10.   Length and radius often default to one, grid dimensions and cell sizes have their own defaults.  All the defaults can be overridden, of course.

I think in this case the value was set though. How do I find the set value for a curve component with no input

POST CODE!  Really.  Which component?  Which input?

You know you can right click on inputs and use 'Set Data (Number, Point, Curve, Brep, etc.)', right?  That's how you see and change input values without wires.  Mouseover on component inputs also shows values in a "tooltip".  Yeah, this is very basic stuff.

Sorry- here is the code. I deleted the other parts to protect the confidentiality of the user who sent it to me. Basically, how do I backtrack to see where the data that generates the curve is coming from?

Attachments:

To do that you set data into the param either from rhino reference or gh created. Then you right click the component and select internalize. Then it will be there forever until you replace it with another data. 

how do I backtrack to see where the data that generates the curve is coming from?

You ask the person who sent you the file. 

Thank you! I understand how it works now. The internalize feature was what I was missing. Any suggestions for the best way to create these curves in grasshopper such that they can be dynamically manipulated while still staying centered and symmetric

What more do you expect to know from three curves?  They are planar, their end points touch, they might be sections of circles?

Thank you, that is a helpful visualization. I suppose I wanted to know the best way to go about re creating them such that they can be dynamically manipulated, (i.e. increase the length of each curve), while keeping them symmetric and centered.

I went back to play with this, because it produces some pretty cool shapes, only to discover that I didn't save a copy!  The one I uploaded was something I played with a few days ago.

So I re-created this morning's code from the image I posted above above.

Attachments:

this is cool, thank you!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service