Jump to content
Sign in to follow this  
OdForest

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

Recommended Posts

Posted (edited)

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

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×