Grasshopper

algorithmic modeling for Rhino

Comparing certain Points (coordinates) in different data trees.

 Hi everybody !  I have two data trees of points with different data path structures.  I want to compare every  point from the first list with certain sets of points of the second list, but I don't get the required items compared.   I am attaching here an image to clarify my problem. 

Views: 1308

Attachments:

Replies to This Discussion

Moved from FAQ into Discussion.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

I uploaded the  image above today (upload didn't work yesterday) to try to attract your attention again.  I just don't get yet a way of comparing

{0;0}   only with           {0;0}  {0;1}  {0;2}

{0;1}   only with           {1;0}  {1;1}  {1;2}

Explanation to contents using first point (left):

{0;0} contains a point,               {0;0} has 4 Points, {0;1} has 4 Points, {0;2} has 4 Points

the Mid-point of a line)                 The 4 points in a sub-set are the Mid-points of the edges of a

                                                  4-edged surface

The aim is to determine if a 4-edged surface has the line in question as an edge (left side, line represented through its mid-point )

  

Hi there,

you can input the points directly into your "Similar" component. If you can simplify the numbers to compare to (Input B) it will work.

Hope it works...

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