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 / 10464
10463  |  10465
Subject: 
Re: 48 directory and non filename only line 1 part file names
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 30 Jul 2006 03:19:42 GMT
Viewed: 
2663 times
  
In lugnet.cad.dev, Roland Melkert wrote:
Hello all,

Still working on the LDraw loader.

The 48 directory in ldraw\p, as far I understand it, is a 'alternative'
source for primitives, not?

Not exactly.  The files in the ldraw\p\48 directory are all based on a
48-faceted approximation of a circle.  The regular primitives in ldraw\p are all
based on 16-facets.

Just because a file is in one directory does not mean a corresponding version of
that file will exist in the other directory.

Jet I see some (unofficial) files using type 1 lines with the 48\
attached to the part name reference (eg 48\xxx.dat). Is including of
directories in type 1 line allowed or is this an exception? (could not
find this in the ldraw file spec page).

Yes, directory names are allowed.  In files in the parts library, the only
allowed directory names are 48\ and s\.

I was planning on adding an option ('Use 48 directory for primitives if
available'). So people can turn this on or off depending on rendering
speed needs. But with these 48\xxx.dat references in files you can't do
that. Unless I'll strip all 48\ references from the filenames.

You shouldn't need to do that, although it would turn all geometrics into
'hi-res' references.

Steve



Message has 2 Replies:
  Re: 48 directory and non filename only line 1 part file names
 
(...) <snip> As might be expected, Steve's replies were correct (as far as I know, anyway ;-). (...) While it's true that this isn't all that useful, it can still be done, even though some parts reference primitives from the 48\ directory directly. (...) (18 years ago, 30-Jul-06, to lugnet.cad.dev)
  Re: 48 directory and non filename only line 1 part file names
 
(...) <snip> (...) Is it correct to assume because of this, the 48 and s dirs must not be added to the part search directories list? Roland (18 years ago, 31-Jul-06, to lugnet.cad.dev)

Message is in Reply To:
  48 directory and non filename only line 1 part file names
 
Hello all, Still working on the LDraw loader. The 48 directory in ldraw\p, as far I understand it, is a 'alternative' source for primitives, not? Jet I see some (unofficial) files using type 1 lines with the 48\ attached to the part name reference (...) (18 years ago, 29-Jul-06, to lugnet.cad.dev)

6 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