MPD: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
'''Multi Part Dats''', '''MPD:s''' for short, are an official extension of the LDraw specification. They are, in a nutshell, multiple LDraw files within one file.
==Creating MPD:s==
To create a Multi Part Dat file the following approaches may be useful.
To create a Multi Part Dat file the following approaches may be useful.


==Manually==
===Manually===


Per the [http://www.ldraw.org/Article47.html 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:
As per the [http://www.ldraw.org/Article47.html 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
  0 FILE model.ldr
Line 13: Line 17:
The first model in an MPD file is considered the main model.
The first model in an MPD file is considered the main model.


==MLCad==
===MLCad===
MLCad can be downloaded from [http://www.lm-software.com/mlcad/ lm-software.com].
MLCad can be downloaded from [http://www.lm-software.com/mlcad/ lm-software.com].


Line 26: Line 30:
#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.


==[[Bricksmith]]==
===[[Bricksmith]]===


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.
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.

Revision as of 04:09, 15 March 2010

Multi Part Dats, MPD:s for short, are an official extension of the LDraw specification. They are, in a nutshell, multiple LDraw files within one file.

Creating MPD:s

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

Manually

As 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.

MLCad

MLCad can be downloaded from lm-software.com.

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 may

  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.

Bricksmith

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.