Chris Dee Wrote:I am confused as to why you need to cater for all that non-standard syntax.
The above is what I use in LDCad, but it's based on the parser of LD4DStudio, which I wrote at the dawn of the century. Back then I wasn't knee deep in the standards so I pretty much added support for all I could find.
And now it's in there I don't see the need to remove it, maybe the LDraw library don't need big chunks of it anymore, but some weird ancient old custom part someone is using might.
This is all for reading though, when writing a file the strict current standard is used.
edit: I just noticed one or two part keywords I don't scan for, thanks for pointing that out will add them