To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10671
10670  |  10672
Subject: 
Re: Portable MPD Submodel Names
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 22 Aug 2007 20:35:50 GMT
Viewed: 
4473 times
  
I think the answer is very easy.

Linetype 1 is for referencing to an existing LDraw file, doesn't matter
which type (part, subpart, primitive etc.)

So it is not necessary to describe that in the MPD Language Extension.
The MPD Language Extension is only describing how to put different
Linetype 1 References into one single file (mpd-file).

I am sure somebody will have another opinion about that but for me that
is all clearly stated in the documents you mentioned.


mikeheide

Jim DeVona schrieb:
Bricksmith and LDView accept descriptive submodel names containing spaces,
punctuation, and no file extension. However, I have been given the impression
that MPD files containing submodel names like these can be problematic for MLCad
and other tools (including scripts I have written). Therefore, in recent models
I have avoided whitespace in, and appended ".ldr" to, the submodel titles in an
effort to ensure compatibility with other software. Can someone confirm whether
these concessions are necessary, at least from an MLCad user's perspective?

For comparison, here are two identical models. The first uses arbitrary submodel
names while the second adheres to the filename convention.

http://www.brickshelf.com/gallery/anoved/Examples/test-submodel-names.mpd
http://www.brickshelf.com/gallery/anoved/Examples/test-submodel-names-strict.mpd

Although it is very reasonable to assert that submodel names should be valid
filenames (http://ldraw.org/Article408.html#files), the MPD Language Extension
(http://ldraw.org/Article47.html) is silent on the matter of submodel name
composition. This leaves the interpretation of valid submodel names up to the
implementation. As I have suggested above, I suspect there are in fact
incompatible implementations among popular LDraw tools.

So, in the short term I just wish to ensure I've adopted a portable submodel
naming scheme. In the long term, I am curious if the MPD specification should be
revised to clarify whether the linetype 1 filename rules apply to MPD submodels.
The goal ultimately would be to ensure that users need not remember some naming
convention to create LDraw models that can be easily exchanged between
applications.

Thanks,
Jim



Message has 1 Reply:
  Re: Portable MPD Submodel Names
 
(...) Actually, I think you are correct. It makes sense from that perspective. The line type 1 naming rules apply to anything referenced by a type 1 line, including submodels. Thanks, Mike! Jim (17 years ago, 23-Aug-07, to lugnet.cad.dev)

Message is in Reply To:
  Portable MPD Submodel Names
 
Bricksmith and LDView accept descriptive submodel names containing spaces, punctuation, and no file extension. However, I have been given the impression that MPD files containing submodel names like these can be problematic for MLCad and other tools (...) (17 years ago, 22-Aug-07, to lugnet.cad.dev)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR