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 / 2855
2854  |  2856
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: DAT format question
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 20 Sep 1999 15:24:46 GMT
Viewed: 
345 times
  
"onyx" <onyx@flash.net> writes:
In lugnet.cad.dev, Bram Lambrecht writes:
"Gary Williams" <graywolf@pcpros.net> writes:
This raises the question: What's the difference between a primitive
and a sub-part, and should they be interpreted any differently?

in terms of your program, you'll need to support the /p and /s
directories...

I just remembered something else:
Since LDraw doesn't specifically support the /s directory, parts which
call subparts in the /s directory must include the directory information.
For example:

0 Space Wheel Medium
0 Name: 2593.dat
0 Author: Steve Bliss
0 Official LCad update 98-07

1 16 0 0 0 1 0 0 0 1 0 0 0 1 s/25931-12.DAT
                             ^^^^^^^^^^^^^^
Be sure that your program supports similar use of directories.  That way,
directories can be added even if they weren't planned on.  (For example,
the ldraw.org OMR will probably use such a system to organize model
numbers, models, and submodels.)
--Bram


Bram Lambrecht           / o   o \           BramL@juno.com
-------------------oooo-----(_)-----oooo-------------------
    WWW:   http://www.chuh.org/Students/Bram-Lambrecht/
-----------------------------------------------------------



Message is in Reply To:
  Re: DAT format question
 
Er, let me clarify that. Do any of the existing part files have references to external parts other than primitives? (25 years ago, 19-Sep-99, to lugnet.cad.dev)

27 Messages in This Thread:













Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR