To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 17151
17150  |  17152
Subject: 
Re: Straightening Up the MPD Format
Newsgroups: 
lugnet.cad
Date: 
Fri, 2 Apr 2010 13:55:01 GMT
Viewed: 
23723 times
  
In lugnet.cad, Michael Heidemann wrote:
In lugnet.cad, Philippe Hurbain wrote:
What if we make a recommendation that new software with MPD support
optionally includes parent object's file name in its MPD-internal name?
And if the software has an unpack function, user may choose to keep that
safer name or to restore its original name. Of course the program should
not freak out when confronted to an MPD file made by older software.

I am not sure this is really necessary. The two "door.ldr" model must
reside in different folders, so if you encode relative path in file name
it should work (not tested with current tools though...)

I have been faced with this problem some time ago at my application
MPDCenter.  I had nearly the same idea but I decided to use "&&" to
combine the files that should be in the same file because I do not
expect any filename to contain "&&".

Example:
Model1.ldr
File1.ldr
File2.ldr

Model2.ldr
File1.ldr
File2.ldr

Will be combined into
Model3.ldr
Model1.ldr&&File1.ldr
Model1.ldr&&File2.ldr
Model2.ldr&&File1.ldr
Model2.ldr&&File2.ldr

With this approach you can split the files if needed without problem.

You might want to consider offering Philo's subdirectory approach as
an alternative to name mangling.

Model1.ldr
Model1\File1.ldr
Model1\File2.ldr

Model2.ldr
Model2\File1.ldr
Model2\File2.ldr

Will be combined into
Model3.ldr
Model1\File1.ldr
Model1\File2.ldr
Model2\File1.ldr
Model2\File2.ldr

This also works, both inside an mpd and in the filesystem.

Have fun,

Don



Message has 1 Reply:
  Re: Straightening Up the MPD Format
 
(...) Subfoldering is not always a realistic option. Imagine you have 30 minifigs you wish to individually animate. They all have mfLeftArm.ldr and mfRightArm.ldr as submodels to mfTorso.ldr, and hands on each arm, and maybe tools in their hands. If (...) (15 years ago, 2-Apr-10, to lugnet.cad)

Message is in Reply To:
  Re: Straightening Up the MPD Format
 
(...) I have been faced with this problem some time ago at my application MPDCenter. I had nearly the same idea but I decided to use "&&" to combine the files that should be in the same file because I do not expect any filename to contain "&&". (...) (15 years ago, 2-Apr-10, to lugnet.cad)

19 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