Grasshopper

algorithmic modeling for Rhino

Hi,

 

I have a definition to make a module and aggregate it through an armature.

the armature is constructed from two surfaces and I'm trying to assign a circle to each point with a radius based on its minimum distance with neighboring points, but I don't know how I can manage the list that each point is compared just to its neighbors... If anyone can help me I will appreciate it

 

Also I just through in an attracor point to give me the radiuses for now and when I project the circles to the surfaces and loft them the edge tubes make wired shape in a way that the curves are not in the same direction, does any one know how I can fix that?

 

thanks

Views: 534

Attachments:

Replies to This Discussion

When I open your definition there is an error on one of the surf params "Failed to Load" so I could really see what was required. But for starters I could point you down the road of Synchronous Sort and Sublists.

If you want to find the N closest points to a specific point then you can synchronously sort the List of Points based on distance and then provide the N closest points in a Sublist.

Not the 1 - 8 domain is to remove the same point (which is 0m away) as the one you are measuring from in this case.

thanks a lot it seems much smarter than my complex deffinition

But my question is whether there is a way that i can measure the distance of closest point for each item of the list to generate the incremental circles based on these distances 

thanks a lot

Attachments:
I mean is there any way to generate each relevant circle for each item of the list automatically, in a way the output would be a list of circles that are assigned the list of points...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service