VEX Intersect: how to select primitives based on @N from other geo

   1258   2   1
User Avatar
Member
36 posts
Joined: March 2014
Offline
Hello,

I have two lines and I'm trying to use “intersect” in a wrangle node to select primitives on one curve based on the @N direction on the other. But I can't figure out how to do that. I have a hunch that getattrib or pointattribute might be the way to go but I don't know how to write it properly and couldn't find any examples.

Attachments:
Primitives_Intersect.hipnc (93.3 KB)
selectPrims.JPG (66.3 KB)

User Avatar
Member
2034 posts
Joined: Sept. 2015
Offline
Was this what you were hoping for?(added green nodes result)

Attachments:
Primitives_Intersect v0.hipnc (113.7 KB)

User Avatar
Member
36 posts
Joined: March 2014
Offline
Hey BabaJ!

Yes exactly like that, but when I try it for the scenario I actually want to use it for it doesn't work, then it selects the source points

(You possible have to plug in the OSM file into the first node.)

Attachments:
OSM_Berlin.hipnc (100.6 KB)
BerlinKollwitzKiez.osm (5.3 MB)

  • Quick Links