Grasshopper

algorithmic modeling for Rhino

How to keep Curves drawn in Rhino editable once referenced in GH

Hi,

I have a simple curve drawn in Rhino that I want to use as the basic of my GH definition.

  • If I click F10 (_pointsOn) prior to referencing the curve it remains 100% editable in Rhino even once part of a GH definition. This is obviously the most flexible situation.

  • If I dont turn points on and just reference it straight in GH then the curve is effectively deleted in Rhino - a SelAll command gives "no curves added to selection"

This is fine, but there would be times I wouldn't want the show control points (if lots of curves/complex shapes etc) but still want them editable in Rhino

Am I missing something here, or is this just the way it works?

Thank you!

Views: 545

Replies to This Discussion

this does not sound like normal behavior. Referenced curves are not deleted in Rhino when referenced. Is there anything unusual about your definition? How are you referencing your curve - just right-clicking a parameter and choosing "set one" or "set multiple curves"?

Hi Andrew,

Thanks for your reply.

Interesting - I've just tried it with an very simple definition (curve - transform in X direction 10 units) and it keeps the curve in Rhino whether I have points on or not.

But my full definition only keeps the curve with points on.. strange.

If you have a moment take a look at these files. Thank you!

Attachments:

The error is in that custom component you have "Rhino Unroll PolySRF" It seems to hide rhino geometry when active. If you disable it and set a curve everything is fine. Then enable it and you will see all the rhino curves get hidden. When you enable it you will see that it is actually selecting all geometry in rhino and hiding. Look at rhinos command line after enable. I dunno what the purpose of that is maybe there is a reason for it but that is what is happening. See screenshot. 

Michael, thank you!

You're totally right, I can see the command in the script behind that module, yes it hides Rhino geometry!

Thank you so much for taking the time to look through my definition and find this!

I'm making woven paper vases - in the middle of folding up a decanter right now, so Ill be sure to post an image when we're done!

Thanks again for your time and help!

Michael

Sure, Just a heads up. Seems that component also changes the gh canvas (it made mine dark grey with no grid lines) and I had to go into the XML to change it back. 

For future, wombat has a tool for changing the GH canvas display with a handy "reset to defaults" option :)

I may just learn scripting (python?) so I can understand that component - in the kind of things I want to make it's an incredibly useful action to be able to do.

Thanks again for your help!

Nice!

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