Grasshopper

algorithmic modeling for Rhino

Cull All Paths Numbers Above A Certain Path Number??

Hi Everyone 

 

Any thoughts on how to cull all paths numbers above a certain path number?? Note though the paths are in order they do Not go…

 

{0;0},{0;1}…,{1;0},{1;1},{1;1}…

 

But something like this… (Numbers would be changing)

{0;0},{0;5},{0;13},{0;?}…,{{1;0},{1;3},{1;4},{1;21}…

 

What I currently have are a list of branches much like the ones above and a number of branch item lengths from pre-merged branches. With these lengths I have tried both using this data with the original path numbers to compare branches and decomposing the list of paths I want to cull into numbers to check though as the screen capture shows neither work as required.

 

Any ideas greatly appreciated.

 

Thank

Matt

 

Views: 850

Attachments:

Replies to This Discussion

Hei Matt,

 

not sure if i got your question right, have a look and let me know.

Attachments:

Hi Tudor,

Sorry could not get back on the Web..

You where close...shame it would never work as it should have been a More Than Component  not an Equals Component..... Doh.

As soon as i realised this it was not to hard to write a working version then optimise it to the min number of components.

 

Any thoughts on counting numbers of 0,1.... etc in a Branch instead of current option using replace branch to merge the numbers then count  the item lenghts.

 

Thanks Again

Matt


Attachments:

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