Your answer does not explain why the following works. (3 consecutive segments instead of 2)
li
0,0
100,0
@0,50
@-50,0
c
So, If with 3 consecutive line segments CAN close the line, I believe the correct number of needed segments are 2.
Polyline has nothing to do with what I say. I need consecutive line segments, not a polyline.
I do not want to make a triangle with polyline. I give an example.
Please read carefully:
IF you create 2 consecutive segments with LI, you can CLOSE the 2 segments with one more. But LibreCAD disagree. Because LibraCAD counts 3 segments to allow this. It must count 2 segments.