MPD: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
(→‎In a text editor: Explained basic syntax of MPD files.)
(→‎On Mac OS X: Summarized MPD building with Bricksmith.)
Line 27: Line 27:
# 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
# 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)==
==On Mac OS X==


Creating MPD files is a natural part of building with [[Bricksmith]]. Select "Add Model" from the Model menu to create a new submodel, or select an existing submodel from the "Insert Reference" submenu to insert an instance of that submodel in the current model. All submodels are listed in the Model menu as well as in the File Contents drawer, where you can examine their contents hierarchically or rearrange them via drag-and-drop.


[[category:tutorials]]
[[category:tutorials]]
[[category:Mac]]
[[category:Mac]]
[[category:Windows]]
[[category:Windows]]

Revision as of 16:00, 15 June 2007

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 Mac OS X

Creating MPD files is a natural part of building with Bricksmith. Select "Add Model" from the Model menu to create a new submodel, or select an existing submodel from the "Insert Reference" submenu to insert an instance of that submodel in the current model. All submodels are listed in the Model menu as well as in the File Contents drawer, where you can examine their contents hierarchically or rearrange them via drag-and-drop.