To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 6507
6506  |  6508
Subject: 
Re: Using MPD syntax in official part files
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Wed, 10 Feb 2010 23:04:28 GMT
Viewed: 
19316 times
  
First of all, let me say that while my previous post probably implied that I’m against allowing MPDs as parts, I am in fact still open to the possibility. I’m just not sure I’m completely convinced by the arguments given so far.

In lugnet.cad.dat.parts, Steve Bliss wrote:
   In lugnet.cad.dat.parts, Travis Cobbs wrote:
   One reason I think it is potentially bad to make subfiles private via MPD is that even if the subfile is only used for geometry specific to a single part, having it be private in an MPD makes it unusable for patterned versions of that part.

Using a subfile to empower patterned part files means the subfile is not specific to a single part. And why couldn’t subfiles be MPD? Maybe I’m not getting your point here.

The only place you’re allowed to access the contents of an MPD are inside the MPD itself. So, lets take the minifig head as an example. You wouldn’t be able to put its “everything but the face region” subpart into an MPD, because the only logical candidate for the MPD file is the top-level part. But if the sub-part is in the MPD, it’s only available to that single top-level part. Subfiles themselves could be MPD; you just can’t hide the subfiles used by patterned parts in an MPD. Am I making more sense now?

--Travis



Message has 2 Replies:
  Re: Using MPD syntax in official part files
 
(...) Absolutely. I wasn't advocating sticking 'public' subparts into the part's MPD. Just to be clear. Steve (15 years ago, 11-Feb-10, to lugnet.cad.dat.parts, FTX)
  Re: Using MPD syntax in official part files
 
(...) I think this is a good one: MPD parts would be a great way to store "default" textures for texture mapping (hex encode them). That would encapsulate the design with the part, overcoming one of the big "pain points" of adopting textures. (...) (15 years ago, 11-Feb-10, to lugnet.cad.dat.parts, FTX)

Message is in Reply To:
  Re: Using MPD syntax in official part files
 
(...) Sure, doing the right thing in terms of putting the code in the most advantageous location is always worth the effort. (...) Hey, it's all about namespace management, right? As a parts author, I avoid using subfiles unless there is a fairly (...) (15 years ago, 10-Feb-10, to lugnet.cad.dat.parts, FTX)

68 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