MPD: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
(→‎On Mac OS X: Summarized MPD building with Bricksmith.)
No edit summary
Line 1: Line 1:
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.


==In a text editor==
==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:
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:
Line 13: Line 13:
The first model in an MPD file is considered the main model.
The first model in an MPD file is considered the main model.


==On Windows (95 or later)==
==MLCad==
First make sure you have [http://www.lm-software.com/mlcad/ MLCAD].
MLCad can be downloaded from [http://www.lm-software.com/mlcad/ lm-software.com].


If you already have the files and just wish to combine them you can
If you already have the files and just wish to combine them you can join them together in MLCAD
* Join them together in MLCAD


If you wish to create an MPD as you edit you should
If you wish to create an MPD as you edit you may
# Open MLCAD
#Open MLCad.
# Go to the Multipart menu and select New File
#Go to the ''Multipart'' menu and select ''New File''.
# Enter the name and details of the file
#Enter the name and details of the file.
# Begin editing
#Begin editing.
# When you need a new submodel repeat steps 2-4
#When you need a new submodel repeat steps 2-4.
# 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 Mac OS X==
==[[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.


[[category:tutorials]]
[[Category:Tutorials]]
[[category:Mac]]
[[Category:Mac]]
[[category:Windows]]
[[Category:Windows]]

Revision as of 04:06, 15 March 2010

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

Manually

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.