To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4188
4187  |  4189
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
More MPD
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 22 Mar 2000 01:56:55 GMT
Viewed: 
1200 times
  
1. Are the files in an MPD public or private?
Consider this example with three files:

town.dat
  1 16 -40 0 0  1 0 0  0 1 0  0 0 1 house1.mpd
  1 16  40 0 0  1 0 0  0 1 0  0 0 1 house2.mpd

house1.mpd
  0 FILE house1.dat
  1 4 0 0 0 1 0 0 0 1 0 0 0 1 3003.DAT
  1 4 0 -24 0 1 0 0 0 1 0 0 0 1 roof.dat
  0 FILE roof.dat
  1 16 0 0 0 1 0 0 0 1 0 0 0 1 3043.DAT

house2.mpd
  0 FILE house2.dat
  1 2 0 0 0 1 0 0 0 1 0 0 0 1 3003.DAT
  1 2 0 -8 0 1 0 0 0 1 0 0 0 1 roof.dat
  0 FILE roof.dat
  1 16 0 0 0 1 0 0 0 1 0 0 0 1 3068.DAT

For this to work as expected, "local files" in an MPD must be private,
and cannot be referenced by other "real files".

2. I suggest BuildMpd and M-Peedy should be able to handle MPD's too
as input files, and SplitMPD and M-Peedy should be able to split an MPD
correctly into the original files, both MPD and DAT.
You can use the town.dat above for test ;-)

3. Can I generally use the NOFILE meta command to skip the rest of the file,
i.e. also for ordinary DAT files?
Should it be renamed to EOF/ENDOFFILE?
/Lars



Message has 3 Replies:
  Re: More MPD
 
(...) This seems similar to the recursive MPD problem. At least with the lich.dat example the files weren't really recursive. It was just a matter of the ring2.dat file in the local MPD scope supplanting the ring2.dat from the global (...) (25 years ago, 22-Mar-00, to lugnet.cad.dev)
  Re: More MPD  [DAT]
 
Lars: (...) Public. - Mostly due to the need to be able to create a set of LDraw readable files. (...) Since the construction of the MPD files is based on a collection of DAT files, there can only be one "roof.dat" file, ... unless you keep the DAT (...) (25 years ago, 22-Mar-00, to lugnet.cad.dev)
  Re: More MPD
 
I think this goes back to the discussion (from last week, I think) about the MPD format, and if it does everything needed, and if there should be changes to it, or a new file format. To handle nested files, and sub-mpd files, I'd go for a new (...) (25 years ago, 22-Mar-00, to lugnet.cad.dev)

4 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR