Here i have a bunch of generated lines intersecting with a few Breps:
They intersect at these particular points:
I am trying to extract only a few of those points. More specifically, i am only interested in the points with the largest z coordinates for each ray:
For this i will need to put the points in a list and somehow manipulate the list to only give me those specific points back. I hope this isnt too confusing. Any help would be appreciated!
Using the Param viewer i obtain these values. I need to find a way of singling out the values that i want.
trim tree one level, deconstruct the points and use sort list to filter, reverse the list and use list item will get you first (highest item), roughly speaking due to no file.
Asking questions and getting answers is what this forum is all about. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions, but don’t think of them as rules and especially don’t think of them as guarantees.
1. Choose a descriptive title for your post
Don’t title your question Help! or I have a problem or Deadline tonight!, but actually describe the problem you are having.
2. Be s…
3. Attach minimal versions of all the relevant files
If you have a
gh file you have a question about, attach it to the post. Do not expect that people will recreate a file based on a screen-shot because that’s a lot of pointless work. It’s also a good idea to remove everything non-essential from a
gh file. You can use the
Internalise Data menu option to cut everything to the left of a parameter:
I will try and do what you have said. Here is a simplified version of the file.
Intersecting_srf_points.gh (14.9 KB)
The file was a must, you also needed to “flip matrix” (Path Mapper)
Re_Intersecting_srf_points.gh (14.8 KB)
Thank you! This is exactly what I needed. A following question. Is there a way to make it so the only point you obtain is the highest point within each line? (Highlighted in red)
The previous version works perfectly for the highest point for each row, which is exactly what i asked for. I just want to see if this would work too?
hmm not quite following. The Line branch is the B in the second portion of the path mapper, remove the C perhaps?
Thats exactly it, thank you!