Why you are looking for those line with "0 -" and "0 +".
I would say they are pure text lines with no value for visualising parts!
You should check for first character to be not "0" as indicator for header end.
But you also should care about the "0 BFC" line.
Do you also know that "0 BFC" should be treated the same as "0 BFC" ?
LDraw is very smooth for part authors with an editor but hard for coders that like to solve problems by apps
I would say they are pure text lines with no value for visualising parts!
You should check for first character to be not "0" as indicator for header end.
But you also should care about the "0 BFC" line.
Do you also know that "0 BFC" should be treated the same as "0 BFC" ?
LDraw is very smooth for part authors with an editor but hard for coders that like to solve problems by apps