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 / 16628
16627  |  16629
Subject: 
Re: Assembled parts, ~ and categories
Newsgroups: 
lugnet.cad
Date: 
Wed, 18 Nov 2009 14:16:51 GMT
Viewed: 
10619 times
  
In lugnet.cad, Michael Heidemann wrote:
In lugnet.cad, Philippe Hurbain wrote:
It is common practice to prefix parts that compose assembled parts with a ~.
This prevent using them needlessly (they are not listed with regular parts),
encouraging the use of assembled shortcuts.

But this practice is not ratified by any official LDraw document. As a LDraw
Standards Committee member, I'd like to precise this usage. This is a request
for comments...


There is one document that introduced this.
http://www.ldraw.org/library/tracker/ref/filetypesfaq/

I found we have different problems to solve:
1) Usage of the tilde '~' for files in the \s folder.
2) Usage of the tilde '~' for files in the \parts folder
3) Is the tilde '~' part of the description or only a flag.

I think as follow:
1) As nearly all files in the \s folder do have a leading '~' we should force
that for files in the s\ folder.

2a) I don't feel that we should make things that complicated.
If we have a shortcut for the complete part (as we have today). It is no problem
to figure out which parts to bring into a new file to get what we want.
The other way would blow up the library.
Just if you are working with MLCad it is not a problem to generate what you
need.

2b) To work with LSynth is really make sense to have the ends visible to find
that. Although also here a global shortcut will have all the user needs. And
again it is easy to identify what you need with MLCad.
But we should be consistent in using or not using the '~' for such parts.

3) As the '~' is used as a flag we should also handle it as that, so if there is
a partfile in the \parts folder that carry the '~' in front of the
partdescription the partdescription is assumed to be without the '~' and so the
first word has to be in the category list or a category has to be mentioned (See
requirement: http://www.ldraw.org/Article398.html).
This has also to be decided for the "_" flag for colored parts!

cu
mikeheide

Hi,
I read the above article and is OK, but many parts do not follow these
requirements:
for example part 71427C01.DAT distributed as official is named as assembly but
contains the whole part definition inside with no references to any subparts but
parts\P parts.

In my personal opinion, from a programmer point of view, it could be a good
practice to correctly code as assembly at least those parts that allow
reciprocal movement in between them.
For example a switch has a lever that moves while the base is static; a motor
has an axle that rotate while the rest of the model is static.

Other assembly should be multicolored parts (with the exclusion of patterned
parts), since sometime these color can change.

One more question: what does the suffixes "Dxx" and "Txx" stand for?

regards...

Sergio



Message has 2 Replies:
  Re: Assembled parts, ~ and categories
 
(...) The part you mentioned is certified a long time ago and rules changes over the time. So you will find surely old part in the library that are not according our current rules. Also the ...Cxx only advices that the real part is assembled by some (...) (15 years ago, 18-Nov-09, to lugnet.cad)
  Re: Assembled parts, ~ and categories
 
(...) Please understand that the LDraw Parts Library is over 12 years old and standards evolve over time. Things that were done in 1999, when 71427c01.dat was created, wouldn't necessarily be done the same way now. *dNN.dat files are parts with (...) (15 years ago, 18-Nov-09, to lugnet.cad)

Message is in Reply To:
  Re: Assembled parts, ~ and categories
 
(...) There is one document that introduced this. (URL) found we have different problems to solve: 1) Usage of the tilde '~' for files in the \s folder. 2) Usage of the tilde '~' for files in the \parts folder 3) Is the tilde '~' part of the (...) (15 years ago, 3-Jun-09, to lugnet.cad)

15 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