Grasshopper

algorithmic modeling for Rhino

If I was going to build a full plug-in for Grasshopper, and say I needed to use a simple line component in it for example, would I have to build it from scratch?

Thanks,

Vern

Views: 355

Replies to This Discussion

Here you can download SDK help files. In the help file you can find section in which David described really well how to create simple components.

The essential answer to your question is yes - in order to reproduce the functionality of existing components, you need to recode them from scratch. Most basic functionality however (such as a line) exists in the RhinoCommon SDK (different from the Grasshopper SDK that Mateusz is pointing you to). http://4.rhino3d.com/5/rhinocommon/

In your example, the basic functionality of a line looks like this:

new Line(PointA, PointB);

or

new Line(x1,y1,z1,x2,y2,z2);

and there are other options as well that you can find in the RhinoCommon SDK. 

Ok, that's what I figured. Thanks for the input guys!

Vern

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service