Grasshopper

algorithmic modeling for Rhino

Dear Scripters,

I'd like to ensure that the next release of Grasshopper will still be able to run old Script components. Since these components require the old Rhino SDK and Grasshopper is now build upon the new SDK there's quite a bit of juggling that needs to happen to get RMA.OpenNurbs data back into Grasshopper.

I'm looking for scripting components (both VB and C#) that do not require any odd references (arduino boards or Processing or whatever), which are reasonably short (so I actually stand a chance of debugging them) and which output complicated data (preferably lists or trees of geometry).

If you have any of those, I'd be much obliged if you could post them here or mail them to me personally ( david@mcneel.com ).

--
David Rutten
david@mcneel.com
Poprad, Slovakia

Views: 387

Replies to This Discussion

Hi David,
here are two definitions (simple exercises I wrote
to learn something about GH)
The script components are 'Seven Segments Display'
for the first and 'LeibnizCurve' for the second.
I hope they are short enough.
Sure they are not documented enough ... sorry.

Hope this helps you help us ... :)
Cheers
Emilio
Attachments:
Thanks Emilio!

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Love them both! They both worked fine in 0.7, but I found an unrelated problem that would have slipped past and probably would have caused a lot of suffering, so thank goodness you uploaded these.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Glad to be accidentally helpful. :)
Thanks for your feedback !
Cheers
Emilio
i just realized my rhinoContour GH script might be a good test

GH_Contour
Yes, it's an excellent test. You have the dubious honour of being the first person* to submit a script which no longer works in 0.7 :) I'll see about getting it fixed.

Thanks for posting.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

* out of about a dozen
now that .7 is out i see the issue. the contour function does not exist in rhinoCommon and there is a namespace conflict if i reference the old Rhino_DotNet.dll into the c# component. can you setup the c# component to reference Rhino_DotNet.dll with an alias so there is not a namespace conflict. could help keep backward compatibility until it all get worked out.

using RhinoOld= RMA.Rhino;
I suggest you keep using the Legacy C# component. We can add contouring next week.
Until RhinoCommon is more complete, I'll keep the Legacy components available on the toolbar.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Here's an origami folding script. It doesn't need any input from Rhino. It generates a hypar at the origin. For some reason it doesn't work right when the fold angle is zero, but that doesn't matter. This is where I needed the law of cosines tip a few weeks back.
-Chris
Attachments:
Well, it works in 0.7. Cool script :)

--
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service