Jump to content

Neighbour count doesn't seem(?) to work?


Krion

Recommended Posts

Hi,

I want to procedurally select the two end points of my shape. I read I could achieve this by counting the neighbours and using a group expression. 

You would think every point on my shape would have 2 neighbours, instead of only the two end points, who would have 1 neighbour.

But I get very strange results. Lots have 0, a few have 3 and 2.. I don't understand it. Can someone please explain to me what is happening?  

neighbours doesnt work.hip

5ce119617a749_Screenshot2019-05-19at10_52_03.thumb.png.110f8a829c1f8c6e8c6603539a65f3e0.png

Thanks!

Edited by OdForest
Link to comment
Share on other sites

Allright thanks..

The example I had picked up here didn't have that. But it has 'input_index', instead of 'filename'?

https://www.sidefx.com/forum/topic/13933/?page=1#post-65825

 

What did it do now exactly without this OpInput1 connected? Where did these 0's, 2's and 3's come from?

Edited by OdForest
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...