Grasshopper

algorithmic modeling for Rhino

Hi all,

I am new to grasshopper so I don't know if there is a plug-in which already does what I am trying to do:

I want to create points by iteration such that the n+1 point that I create needs to be at a certain length from nth point and at least at that length from all the points before(0 to n-1). I have only succeeded in making it at a certain length from the nth point.

What should I add to my program, can somebody help me? Thanks

Views: 297

Replies to This Discussion

The Point3dList class has a ClosestIndex method that will quickly let you test any new points you try to insert against all that have already been added. It's quite fast.

you mean the closest point component?

no...I mean in Python. You should use Rhinocommon. http://wiki.mcneel.com/developer/pythonandrhinocommon

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service