Alias parts PHP script


Re: Alias parts PHP script
#16
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 Smile
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Alias parts PHP script - by Orion Pobursky - 2012-06-27, 14:26
Re: Alias parts PHP script - by Allen Smith - 2012-06-27, 16:14
Re: Alias parts PHP script - by Chris Dee - 2012-06-28, 5:41
Re: Alias parts PHP script - by Allen Smith - 2012-06-28, 15:59
Re: Alias parts PHP script - by Steffen - 2012-06-30, 10:27
Re: Alias parts PHP script - by Chris Dee - 2012-06-30, 11:02
Re: Alias parts PHP script - by Allen Smith - 2012-07-02, 1:00
Re: Alias parts PHP script - by Allen Smith - 2012-07-06, 15:59
Re: Alias parts PHP script - by Allen Smith - 2012-07-06, 17:53
Re: Alias parts PHP script - by Chris Dee - 2012-07-08, 6:57
Re: Alias parts PHP script - by Roland Melkert - 2012-07-08, 16:21
Re: Alias parts PHP script - by Allen Smith - 2012-07-08, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)