Preparing a MPD for Official Model Repository compliance: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
(Created page with "Preparing a model to follow the [http://www.ldraw.org/article/593.html Official Model Repository specifications] can be a daunting task, as there are many little details to ta...")
 
Line 11: Line 11:


== 2 - Preparing your [http://wiki.ldraw.org/index.php?title=Multi-Part_Document MPD] model ==
== 2 - Preparing your [http://wiki.ldraw.org/index.php?title=Multi-Part_Document MPD] model ==
This tutorial uses a model of the UCS Millennium Falcon by Roland D. available [http://forums.ldraw.org/read.php?17,17909,17909#msg-17909 '''here'''], both in its initial version not OMR compliant, and in its processed, OMR conform version.


[list=1]
# Name your mpd file as "xxxxx - name of set.mpd", here "10179 - Ultimate Collector's Millennium Falcon.mpd"
[*] First step is to properly setup LDraw folders of MPDCenter (options->options).
# Start MPDCenter, open your mpd file. MPDCenter trundles a bit - your file is NOT OMR conform!
[list]
# In the tree window (left pane), select main model of your file (here main.ldr) then Edit -> Header dialog  
[*] If your LDraw folder is a clean one, without any unofficial part, set the path to pure official folder on it as well as your LDraw base folder. Set the unofficial parts folder to the folder that contains your unofficial parts (doh')
# In the dialog that omens, set author name, theme, etc... and most importantly the license as redistribuable (a not-redistribuable file can't be OMR compliant), click "Apply".
[*] If you mix your unofficial parts with official ones, download an up-to-date [url=http://www.ldraw.org/parts/latest-parts.html]complete.zip[/url] and unzip it in a folder then set the path to pure official folder on it. Set your LDraw base folder and unofficial parts folder to your regular LDraw folder.
# Answer "yes" to apply the header data to all file in mpd, and yes again to allow MPDCenter to rename files in MPD to be OMR conform.
[/list]
# MPDCenter does its thing, then (because this file contains specialized parts file - the bended 47996 that has no redistribuable license) complains that the mpd is still not OMR conform...
[*] Name your mpd file as "xxxxx - name of set.mpd", here "10179 - Ultimate Collector's Millennium Falcon.mpd"
# To solve this issue, click on each specific part file in tree window, then right click on it, and set license entry to redistribuable. Note that this step is not needed for models that don't contain specialized parts (or if the parts already carry a redistribuable license)
[*] Start MPDCenter, open your mpd file. MPDCenter trundles a bit - your file is NOT OMR conform ;)
# Check again for OMR conformity (Information->LDraw OMR check). This time, we get references to ~Moved to parts that should be updated (in MPDCenter options it is possible to make this update automatic on file load)
[*] In the tree window, select main model of your file (here main.ldr) then Edit -> Header dialog
# To do this: Edit -> Update '~Moved to' refecences
[*] Here, set author name, theme, etc... and most importantly the license as redistribuable (a not-redistribuable file can't be OMR compliant), click "Apply".
# We are almost done... the last step is to include all unofficial parts to the MPD so that it remains consistent even if unofficial parts are renamed, moved or rotated. This is actually the '''<u>most important step</u>''' of all... To do this: Import -> Import unofficial files.
[*] Answer "yes" to apply the header data to all file in mpd, and yes again to allow MPDCenter to rename files in MPD to be OMR conform.
# Save the MPD file.
[*] MPDCenter does its thing, then (because this file contains specialized parts file - the bended 47996 that has no redistribuable license) complains that the mpd is still not OMR conform...
[*] To solve this issue, click on each specific part file in tree window, then right click on it, and set license entry to redistribuable.
[*] Check again for OMR conformity (Information->LDraw OMR check). This time, we get references to ~Moved to parts that should be updated (in the options it is possible to make this update automatic on file load)
[*] To do this: Edit -> Update '~Moved to' refecences
[*] We are almost done... the last step is to include all unofficial parts to the mpd so that it remains consistent even if unofficial parts are renamed, moved or rotated. This is actually the [b][u]most important step[/u][/b] of all... To do this: Import -> Import unofficial files.
[*] Save mpd. Phew :p
[/list]
Attached the processed file..

Revision as of 14:04, 17 November 2015

Preparing a model to follow the Official Model Repository specifications can be a daunting task, as there are many little details to take care of. Fortunately, MPDCenter tool comes to the rescue!


1 - Setting up MPDCenter to find your LDraw folders.

These settings are located in menu options -> options

- If f your LDraw folder is a clean one, without any unofficial part, set the path to pure official folder on it as well as your LDraw base folder. Set the unofficial parts folder to the folder that contains your unofficial parts (doh')

- If you mix your unofficial parts with official ones, download an up-to-date complete.zip and unzip it in a folder then set the path to pure official folder on it. Set your LDraw base folder and unofficial parts folder to your regular LDraw folder.


2 - Preparing your MPD model

This tutorial uses a model of the UCS Millennium Falcon by Roland D. available here, both in its initial version not OMR compliant, and in its processed, OMR conform version.

  1. Name your mpd file as "xxxxx - name of set.mpd", here "10179 - Ultimate Collector's Millennium Falcon.mpd"
  2. Start MPDCenter, open your mpd file. MPDCenter trundles a bit - your file is NOT OMR conform!
  3. In the tree window (left pane), select main model of your file (here main.ldr) then Edit -> Header dialog
  4. In the dialog that omens, set author name, theme, etc... and most importantly the license as redistribuable (a not-redistribuable file can't be OMR compliant), click "Apply".
  5. Answer "yes" to apply the header data to all file in mpd, and yes again to allow MPDCenter to rename files in MPD to be OMR conform.
  6. MPDCenter does its thing, then (because this file contains specialized parts file - the bended 47996 that has no redistribuable license) complains that the mpd is still not OMR conform...
  7. To solve this issue, click on each specific part file in tree window, then right click on it, and set license entry to redistribuable. Note that this step is not needed for models that don't contain specialized parts (or if the parts already carry a redistribuable license)
  8. Check again for OMR conformity (Information->LDraw OMR check). This time, we get references to ~Moved to parts that should be updated (in MPDCenter options it is possible to make this update automatic on file load)
  9. To do this: Edit -> Update '~Moved to' refecences
  10. We are almost done... the last step is to include all unofficial parts to the MPD so that it remains consistent even if unofficial parts are renamed, moved or rotated. This is actually the most important step of all... To do this: Import -> Import unofficial files.
  11. Save the MPD file.