Grasshopper

algorithmic modeling for Rhino

i had to write this for a fabrication workshop i did and thought i would share it. it brings rhino contour command into GH.

you can find the definition on my site www.cerver.org in downloads.

enjoy
-Robert

Views: 6893

Replies to This Discussion

siiiik... thx for sharing

Hey Robert, 

 

I have blissfully used this tool for some time now, and after a recent grasshopper update, it no longer functions (nor does the kangaroo component).  The error message I receive in the Contour_V2 text panel is:

 

Error: Cannot implicitly convert type 'object[]' to 'RMA.OpenNURBS.IOnGeometry[]'. An explicit conversion exists (are you missing a cast?) (line 93)

 

Another fella has had similar issues with Kangaroo that I am having, and he posted his woes at:

https://groups.google.com/group/kangaroophysics/browse_thread/threa...

 

Maybe these problems are related... 

 

Many thanks...

 

Laurenz

 

 

 

 

In what way does the Kangaroo component not function for you ?

Do you have Kangaroo 0.044 and Grasshopper 0.8.0004 ?

My apologies Daniel, 

 

While trying to solve another definition (culling exterior points [2's] from a containment component) I stumbled upon a GHA library called Kangaroo that culls coincident points. The library must be referencing your Kangaroo plugin, which I thought was fully contained within the library that I downloaded. Wrong...

 

I recently submitted a request for Kangaroo, and I will post back here to confirm that everything is up and running well when I get it installed. 

 

Thanks for your prompt response...

 

Cheers

 

 

it time to upgrade it to rhinocommon. will try to do it today

So the script needs to be updated to Rhinocommon to function? Could you give me a brief description of that process (I am a very amateur, but patient coder) so that I can get that moving and post it back up to your repository?

 

Thanks Robert

it does not necessarily need to be in rhinocommon but since that is the new SDK updating the plugin for he old one does not make sense since grasshopper is now fully rhino common. 

 

basically the script needs to be re written from scratch because rhinocommon does not have a generic contour function like the old sdk. contour has been moved to the brep, mesh, and curve class. so the script would look a little different and you would need to have 3 separate  inputs for each type and then run the new contour functions. but if you can wait a few days i will get around to fixing it since i use it often as well. 

 

the only other option is to have the mcneel people wrap the contour function in the c++ sdk into rhinocommon. 

 

-Robert`

Great Robert, thanks.

I wonder why that function wasn't included in the c++ sdk... Its a very common tool. 

Here's the contour component in VB (GH 0.8.0007).

I only included the BRep method, it should be quick to add the other two.

But first let me know if it works for you.

Attachments:
Works great... Many thanks!

it works fine! i am not really good in vb... could you please add the other two functions...

thank you!

 


 

i tried to make a gh-curve-contour definition (you need the duppt-component of kangaroo 0.0.5). it works until the cuttingplane would cut though the curve more than twice.

maybe someone with vb knowledge can add the curve contour feature in santiagos great skript or maybe there will be a button for it in gh 8.0008 :D

 

all the best

 

boris

Attachments:

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