Grasshopper

algorithmic modeling for Rhino

Dear All,
Is there anybody who could give me an example how to call a rhino command such as _ShortPath (Geodesic Line) and input the surface, point A and point B. I understand that this has to be done using a scripting box but I am not yet fit with that topic.
A definition with the script box as example would be really helpful for me.

Thanks

Views: 2440

Replies to This Discussion

Well, this is a trial. I took the script from an example given with RhinoScript 101. I try to adapt it for Grasshopper but now I am confuse.

Is anybody could debug that out?

Many Thanks
Attachments:
Hi Samu,

that script does not use the Rhino geodesic function. The next version of Grasshopper will have a geodesic component, do you need it now? or can it wait a week or two?

--
David Rutten
david@mcneel.com
Seattle, WA
David,
sweet from you to answer... Of course I can wait a week or 2!

Nevertheless, if there is any command existing in Rhino that I would like to call, how can I do that? This is something unclear for me using Grasshopper.

Cheers
Samu-el F
Hi David,

I just returned from eCAADe and had a brief chat with Giulio Piacentino (as well as Volker Müller from Bentley;-) about our upcoming studio in Stuttgart (http://icd.uni-stuttgart.de). We are currently looking for tools to simulate the geometric behaviour of wooden planks using geodesic curves. I would be very interested in the current grasshopper development.

Dipl.-Ing. Moritz Fleischmann, MArch. (AA)
PHD candidate at ICD, Uni Stuttgart, Prof. Achim Menges

There's nothing in Rhino that can compute that, but you can probably use Kangaroo to simulate it.

--

David Rutten

david@mcneel.com

Here's a Mesh geodesic with Kangaroo. Probably not the fastest way to do this, and accuracy depends on how finely you subdivide your polyline, but I do think it's kind of fun to see the length minimizing property of geodesics in such a direct way.

Also - if you wanted to input only a start point and direction, and trace from there instead of giving both start/end points, I imagine it would be a very simple thing to script.

Attachments:

Here's a scripting component that does something similar without the interactivity.

Updated the script, no visible changes, trying to force myself to use more proper coding conventions and stuff.

Attachments:

Daniel,

That is such a nice and simple definition. I've been thinking about this for awhile and reading papers on mesh geodesics and completely forgot about how Kangaroo could be used for this. Nice!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service