A MPD file is a collection of LDraw files in a practical text format. The MPD builder creates a MPD file from a main model file and all the subfiles the model file refers to (unless they are in a different catalog from the one the program is executed in). The MPD splitter takes an existing MPD file and extracts the LDraw files it contains.
Command line arguments:
-model something.ldr
Specifies that "something.ldr" is the main model for the created MPD file. The program will scan the current directory for files referenced by the main model, and include them in the MPD file.
-path Directory1 Directory2 ...
In addition to the current directory, build_mpd_file will also scan the directories listed here for sub-models to include in the MPD file.
-collect
Even though the sub-models may be found in other directories than the current one, they will all appear in the same directory, when the MPD file is split.
-collect Directory
Even though the sub-models may be found in other directories than the current one, they will all appear in the listed directory, when the MPD file is split.
-overwrite
Do not check if there already is a ".mpd" file corresponding to the main model ".ldr" file. The default behaviour is not to overwrite existing files. This flag changes that.
Comments