1
$\begingroup$

A have a resampled curve with 3 points (ID 0, 1, 2). I would like to assign a custom named attribute only to the point with ID 2.

Specifically, I would like to add a Boolean with a True value for point 2, and a False value for points 0 & 1.

There does not appear to be a Selection input on the Store Named Attribute node to accomplish this:

enter image description here

As a result, my custom attribute ('Curve_tip') is applied to all 3 points in the Spline:

enter image description here

Does anyone know of a way to work-around this, or should I just wait for a future update including a Selection input for the Store Named Attribute node?

Thanks!

$\endgroup$
3
  • $\begingroup$ If you do it that way, it should work: i.stack.imgur.com/XpT9H.png If that doesn't fit, I would ask you to be more specific about what you want to do. $\endgroup$
    – quellenform
    Sep 14, 2022 at 15:40
  • $\begingroup$ I've been looking at this for over an hour and it never occurred to me to just connect the two Boolean sockets together! Pretty embarrassed. Many thanks for the quick response! $\endgroup$
    – SlickRed
    Sep 14, 2022 at 15:43
  • $\begingroup$ You are welcome! $\endgroup$
    – quellenform
    Sep 14, 2022 at 15:48

1 Answer 1

4
$\begingroup$

You can solve it like this:

enter image description here

But if you want to capture the first or last point of a curve, the simplest solution is the node Endpoint Selection:

enter image description here

This selects the first or last point, or both, depending on the selection.

Additionally you can use Boolean Math to invert or otherwise process this selection.

$\endgroup$
1
  • 1
    $\begingroup$ Many thanks quellenform! $\endgroup$
    – SlickRed
    Sep 14, 2022 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .