New Parts for LGEO Library


RE: New Parts for LGEO Library - parts naming inconsistencies
(2019-07-10, 22:12)Michael Horvath Wrote: I notice that some LDraw part names get padded with zeros when creating LGEO versions.

For instance, LDraw uses these names for some parts:

Code:
1.dat
10.dat
100.dat

Lutz then padded the names with zeros (as well as added a prefix and changed the extension) to get:

Code:
lg_0001.inc
lg_0010.inc
lg_0100.inc

But not everyone does this consistently. Owen did not pad any of his parts names with zeros. Some of Damien's parts names are padded, others are not padded. I think we should decide whether it is important to do this consistently, or possibly even whether we should do it at all. (The padding makes writing some scripts harder than simply reusing the original LDRaw file names. For instance, in MS Excel, adding and removing the zeros is difficult and messy.)

Opinions?

100% agree on removing the first "0", I could rework my parts and lgeo.xml in this way.
I've used the same "rule" as Lutz, have at least 4 characters, so every part bellow 999 begins with "0".
Reply
« Next Oldest | Next Newest »



Messages In This Thread
New Parts for LGEO Library - by Damien Roux - 2015-04-28, 0:14
Re: New Parts for LGEO Library - by Gerhard - 2015-05-27, 20:43
Re: New Parts for LGEO Library - by Gerhard - 2015-05-28, 16:04
Re: New Parts for LGEO Library - by Gerhard - 2015-05-29, 17:05
RE: New Parts for LGEO Library - parts naming inconsistencies - by Damien Roux - 2019-07-10, 23:53
RE: New Parts for LGEO Library - by Zoltan - 2020-04-25, 0:57
RE: New Parts for LGEO Library - by Zoltan - 2020-04-25, 23:21
RE: New Parts for LGEO Library - by Ber - 2020-10-21, 1:31
RE: New Parts for LGEO Library - by Tomasz - 2022-01-02, 21:37

Forum Jump:


Users browsing this thread: 10 Guest(s)