Subject:
|
Re: LPub 4 Status
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 27 Mar 2008 14:35:11 GMT
|
Viewed:
|
11727 times
|
| |
| |
In lugnet.cad.dev, Allen Smith wrote:
|
In lugnet.cad.dev, Kevin L. Clague wrote:
|
In PLIs, LPub displays the parts color name (from LDConfig), the part
number (yes, even on the Mac version Allan!), and the part title. Currently
I get these titles from PARTS.LST, but that is not sufficient, and it is a
short sighted implementation.
|
Is PARTS.LST the file that gets generated by some DOS utility in the original
LDraw distribution? You cant rely on that being present. Not being able to
rely on a DOS utility, Bricksmith reads the part library and generates its
own XML parts list; I assume other programs do something similar.
|
snip
LPub does not need a total list of parts, so it doesnt have to scan all the
paths. It does need the titles of parts that are used however. Since parts.lst
is a precomupted list of some of them, LPub reads it and puts the contents in an
associative array.
If we need the title for a part not in the array, we check the list of paths
(which now includes Unofficial/Parts, et. al.). If found, the part file is
opened, then title extracted and thrown in the associative array.
So, Willy, LPub supports the unofficial parts path stuff, including Helpers, and
Custom Parts. Do we want to add Development/Parts Development/P?
Development/P48?
So, this leads to a few more questions......
Allen,
You know those obtuse MLCad metas we talked about, like rotation step, buffer
exchange, GHOST? Sounds because LPub supports these, you might want to add them
to BrickSmith.
Don,
Did you get a chance to add the unofficial path support to LDGLite?
Kevin
|
|
Message has 2 Replies: | | Re: LPub 4 Status
|
| (...) I believe a MAC version mklist utility used to generate the PARTS.LST file comes bundled with the OS-X version of ldglite. Source code is available, so anyone can build it on whatever platform they like. There may be better ways to build the (...) (17 years ago, 27-Mar-08, to lugnet.cad.dev, FTX)
| | | Re: LPub 4 Status
|
| (...) Perfect - many thx! Don't think there is any need for "development" but "<LDRAWDIR>LSynth" wouldn't hurt. You could then store all constraints and synthesis parts in that folder without the need to mix them with the official parts or rebuild (...) (17 years ago, 27-Mar-08, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: LPub 4 Status
|
| (...) Is PARTS.LST the file that gets generated by some DOS utility in the original LDraw distribution? You can't rely on that being present. Not being able to rely on a DOS utility, Bricksmith reads the part library and generates its own XML parts (...) (17 years ago, 24-Mar-08, to lugnet.cad.dev, FTX)
|
81 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|