MPD

From LDraw.org Wiki
Revision as of 15:44, 15 June 2007 by Anoved (talk | contribs) (→‎In a text editor: Explained basic syntax of MPD files.)
Jump to navigation Jump to search

To create a Multi Part Dat file the following approaches may be useful.

In a text editor

Per the LDraw.org MPD Language Extension, the beginning of each submodel in an MPD file (including the main model) is indicated by a meta command like this:

0 FILE model.ldr

where "model.ldr" is the name of the submodel. Submodels may optionally be concluded with the following meta command:

0 NOFILE

The first model in an MPD file is considered the main model.

On Windows (95 or later)

First make sure you have MLCAD.

If you already have the files and just wish to combine them you can

  • Join them together in MLCAD

If you wish to create an MPD as you edit you should

  1. Open MLCAD
  2. Go to the Multipart menu and select New File
  3. Enter the name and details of the file
  4. Begin editing
  5. When you need a new submodel repeat steps 2-4
  6. When you wish to include a submodel in your current model go to the Document section in the Part selection list to select the model

On a Mac (OSX or later)