SELECTION first and last point?

Hey ho,

I try to select/ not select the first AND last point of a line.
I managed to select first and last independently from each other, but when I want both…
nothing seems to work.

can someone explain to me, where my misconception is?

What kind of line? A mesh line or a curve line?

For a mesh line check the number of connected vertices. If it’s greater than 1, then it’s not an endpoint. Mesh lines don’t have a defined start or end, since the vertices don’t have to be in order.

For a curve, there’s a the endpoint selection node, it can select points from the start or end. The selection can be inverted with a Boolean Math node.

It wasn’t about finding an Endpoint.

I am already able to find Start and End points but not to combine this.

I assumed that min max would help, but i doesn’t
I also combines greater than and less than in the second step, to no effect.

Can’t say I understand the logic of your selection :person_shrugging: …but nevertheless, the simple way to combine Selection (which is just 0 and 1 values) is to use Boolean Math with “OR” operation.

image

1 Like

Thank you, that did the job!

I rewired the entire thing based on your hint and now everything works perfect.

I now can select the

  • first
  • last
  • first and last
  • not first
  • not last
  • not first and last

of a meshline …