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 / 10450
10449  |  10451
Subject: 
Re: MPD file loading search order
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 26 Jul 2006 14:06:50 GMT
Viewed: 
2472 times
  
rmelkert wrote:

every part in the mpd should see any of the other parts.
May be Ldraw.org should post a set of 'testcase' files to be used as a
reference for programmers. For each file there should be a description
of the expected results in loading.

It seems to me that an MPD is functionally equal to a disk folder which has
been added to the (beginning of the) search path for parts. No more, no
less. If a part is found in the search path it is used, if it is not found
it is ignored (with an optional error message).

The interesting part is when you build up a scene, adding one MPD at a time,
manually - should MPD2 be allowed to use parts from MPD1? Caching would
allow this, 'locality' would deny it. MPD1 can definitely not reference
anything inside MPD2, as not even the user has decided to load that one yet.

--
Anders Isaksson, Sweden
BlockCAD:  http://web.telia.com/~u16122508/proglego.htm
Gallery:   http://web.telia.com/~u16122508/gallery/index.htm



Message has 1 Reply:
  Re: MPD file loading search order
 
(...) This is actually very logical. And it fits in the description from the 2000 post pointed to by Lars. So all objects in the mpd are available for recursive children of the main part, being the first place to search. (...) I don't think stuff in (...) (18 years ago, 26-Jul-06, to lugnet.cad.dev)

Message is in Reply To:
  Re: MPD file loading search order
 
(...) Sorry, you're right every part in the mpd should see any of the other parts. May be Ldraw.org should post a set of 'testcase' files to be used as a reference for programmers. For each file there should be a description of the expected results (...) (18 years ago, 25-Jul-06, to lugnet.cad.dev)

29 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