Grasshopper

algorithmic modeling for Rhino

I am trying to find how many curves are repeated one over the other in the rhino file I'm attaching. I need to dispatch the ones where 1, 2, 3 or 4 lines share the same route and then position a circle that grows from the midpoints of these lines with a radius related to the number of repetitions of the corresponding line.

This could also be done by finding the midpoints of the series of lines and then counting how many points are sharing coordinates, but I'm not being able to solve any of these options. Any idea?

Views: 645

Attachments:

Replies to This Discussion

Hmm ... wait a minute: just had a closer look on your (hand?) made demo:

You actually need to "engulf" all circles originated from the  same parent/child node lines in one bbox? And if so why this demo of yours is "inconsistent" with that rule?  Or maybe you want to include all circles IF every (node derived) lines have some value? (visualized by these circles) Or is it something else?

Anyway I've added a "per path" or "per node" sampling mode ... but I'm not sure if this is what you are after.

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