Divide w/ Length and MarkEnds=Yes Fail

This was previously reported by @menno in 2015 (before he was a McNeel employee?) and classified as “Cosmetics” in the YT item.
This is not cosmetic as the results are not as expected.

Current example:
Divide with Length option and MarkEnds=Yes Length use 2
Several curve ends are not marked.
CrvDivideEndsNotMarked.3dm (2.2 MB)
Version 8 SR28 (8.28.26013.10001, 2026-01-13)

Command: Divide
Select curves to divide
Select curves to divide. Press Enter when done
Number of segments <7> ( Length EqualChordLength Split=No MarkEnds=Yes GroupOutput=No ): Length
Curve lengths are 18.2629 to 109.406. Enter length of segments, select curve to flip direction <0.010> ( Split=No MarkEnds=Yes GroupOutput=No ): 2

This was previously reported by @menno in 2015, and classified as “Cosmetics” in the YT item.
This is not cosmetic as the results are not as expected.

Hi David -
… and apparently filed by me before I started working for McNeel…

I’ve changed that to “Bug” now.

The type classification of this issue isn’t the problem, though.
It seems like Mikko doesn’t agree with the proposed solution, so either a different solution is proposed or Mikko is somehow convinced.
-wim

The end marking behavior should be the same whether division is by equal number, length or chord length.
MarkEnds=No should result in neither end is marked.
MarkEnds=Yes should result in both ends being marked.