2
$\begingroup$

I can't figure out how to exclude this last point on the spline from the Selection of Instance on Points. I thought Factor was a value between 0 & 1, but it turns out it isn't when i read the documentation. I'm not quite sure i fully understood the documentation but it seems that Factor is the portion length in meters to control point so that would mean that Factor divided by total Length should result in a value within the range of 0 to 1, am i mistaken? So assuming it was 1 for whole length or even lesser like 0.8 i would expect that a comparison of less than these values would exclude the last point.

enter image description here

UPDATE:

It somehow works now if i use a hard-coded integer value of 3 but if i plug a value that also has a value of 3 inside, it destroys my plant output. I also tried float to integer converter and still doesn't work. Weird bug?

enter image description here

$\endgroup$

1 Answer 1

6
$\begingroup$

You can do it like this, using endpoint selection node:

enter image description here

$\endgroup$
9
  • $\begingroup$ oh cool can this also exclude the first point? i'll try this out now! $\endgroup$ Apr 5, 2022 at 9:44
  • 1
    $\begingroup$ Yep, of course. $\endgroup$
    – Crantisz
    Apr 5, 2022 at 9:55
  • 1
    $\begingroup$ @HarryMcKenzie To be precise, you can also decide to exclude more than one point at the end as well as the start. $\endgroup$ Apr 5, 2022 at 10:11
  • 1
    $\begingroup$ @HarryMcKenzie Okay, don't know what exactly happens there, I just saw in the screenshot that there goes a dotted line into the Subtract node, which means a field of values instead of a single value - maybe that's why it didn't work. Although I don't understand what makes it work with the Multiply then. But well, as long as it helped... $\endgroup$ Apr 5, 2022 at 13:45
  • 1
    $\begingroup$ @HarryMcKenzie First of all this just means that there could be a list of values plugged in. You can see it from the black dot in the diamond shaped input. This means, it can operate multiple input data. If the dot is missing, than the input only accepts single data like one value, one vector etc. This is when regarding the unconnected input. A little confusing is that a dotted input when connected can suddenly hide the dot, if the data chain from start to end only uses a single value. I've explained that in an answer with examples a while ago , but can't find it right now. $\endgroup$ Apr 5, 2022 at 15:05

You must log in to answer this question.

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