Grasshopper

algorithmic modeling for Rhino

Hi,

I'm having trouble retrieving a specific branch froma tree.

 

I have attached both rhino file and gha file.

 

Basically I'm trying to find the closest point (1-1000) to a set of points (10) by measuring the lines between the points.

 

I can build a galapagos solver but I was interested in just generating all the options and simply selecting the best.

 

Any help would be great..........

Views: 825

Attachments:

Replies to This Discussion

It actually does work what you did.. but instead of connecting to the output of the param viewer, connect to the output of the simplified tree.

Hi,

Yea I got this shortly after I posted the message however this is the wrong solution, I connected the simplified tree however its supposed to be looking for the point closest to all the circles, This however appears to be the point furthest.

 

for some reason the tree branch component is retrieving the 411th item, not the first item from the sorted list.

 

Any thoughts? 

You can use reverse list then.. so the last item will be the first item in the list.

try this, I have highlighted the changes

Attachments:

Sorry for the delayed response,

 

Works....... thanks again.

 

Rich

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service