Subject:
|
Re: General question on ldr and mpd files ...
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 11 Mar 2002 23:52:18 GMT
|
Viewed:
|
467 times
|
| |
| |
Steve Bliss wrote...
> I'd hope any program would use the filename supplied. So if you had an mpd
> like this ...
>
> ======================================================================
> 0 FILE a.ldr
> 0 Main File
> 0 Name: a.ldr
>
> 1 1 0 0 0 1 0 0 0 1 0 0 0 1 b.ldr
> 1 1 0 0 0 1 0 0 0 1 0 0 0 1 c.dat
> 1 1 0 0 0 1 0 0 0 1 0 0 0 1 d
>
> 0 FILE b.ldr
> 0 B subfile
> 1 16 0 0 0 1 0 0 0 1 0 0 0 1 stud.dat
>
> 0 FILE c.dat
> 0 C subfile
> 1 16 0 24 0 6 0 0 0 -20 0 0 0 6 box5.dat
>
> 0 FILE d.ldr
> 4 16 10 24 10 6 24 6 -6 24 6 -10 24 10
> 4 16 -10 24 10 -6 24 6 -6 24 -6 -10 24 -10
> 4 16 -10 24 -10 -6 24 -6 6 24 -6 10 24 -10
> 4 16 10 24 -10 6 24 -6 6 24 6 10 24 10
> 1 16 0 24 0 10 0 0 0 -24 0 0 0 10 box5.dat
> ======================================================================
>
> ... everything should render without error (and you'd get a 3005 brick).
>
> The 'c.dat' line would render correctly because the entire filename &
> extension was supplied. If the '.dat' wasn't supplied, the renderer would
> go looking for 'c.ldr' instead, and probably fail (the renderer could also
> look for 'c.dat', just to be nice).
MLCad, LDView, L3P/L3Lab fail to read you MPD: "d not found".
I don't think any program applies the search for d, d.dat, d.mpd, d.ldr
within the MPD, only in the file system...
/Lars
PS to Todd Lehman: if you click on the [DAT] in http://news.lugnet.com/cad/?n=7483
you only get the "valid" lines from Steve's MPD ???
> 1 1 0 0 0 1 0 0 0 1 0 0 0 1 b.ldr
> 1 1 0 0 0 1 0 0 0 1 0 0 0 1 d
seem to be invalid and do not appear in the downloaded file!
Guess it's time to update your Perl script...
|
|
Message has 1 Reply: | | Re: General question on ldr and mpd files ...
|
| (...) Interesting. I guess that's a valid way to process MPDs, I was expecting/hoping programs were a bit more flexible. With the current situation, you can take a group of functioning LDR files, convert them to MPD (using an MPD tool), and the MPD (...) (23 years ago, 12-Mar-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: General question on ldr and mpd files ... [DAT]
|
| (...) I'd hope any program would use the filename supplied. So if you had an mpd like this ... ===...=== 0 FILE a.ldr 0 Main File 0 Name: a.ldr 1 1 0 0 0 1 0 0 0 1 0 0 0 1 b.ldr 1 1 0 0 0 1 0 0 0 1 0 0 0 1 c.dat 1 1 0 0 0 1 0 0 0 1 0 0 0 1 d 0 FILE (...) (23 years ago, 8-Mar-02, to lugnet.cad)
|
6 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
|
|
|
|