Grasshopper

algorithmic modeling for Rhino

Component: GHPython

Level: Beginner

What is the best way to do this in Grasshopper/Python? 

For everyPoint_on_sampleCurve:

   do this...

   do that...

I'm looking for the correct syntax (constructors, methods,...) and I prefer to keep the Python for/in loop. But if that's not the case, I'd be happy to learn the correct way.

Thank you all

Views: 264

Replies to This Discussion

If your points do not interact with one another, you might just feed them into the GhPython component with 'Item Access' and write:

   do this...

   do that...

The iteration is taken care of in Grasshopper itself.

If you look for a tutorial, check the Python page.

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