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 / 2854
2853  |  2855
Subject: 
Re: DAT format question
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 20 Sep 1999 14:21:18 GMT
Viewed: 
375 times
  
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?


Bram is correct.. primatives are exactly what the name implies, general purpose
"basic" shapes (spheres, cylinders, studs, etc) that are used by many of the
LDraw elements in various ways, scaled to various dimensions...

sub-parts are usually part-specific, often used for repeating sections of a
particular part... sub-parts are typically so specific that they could not be
applied to another part, unless sections of it were identical to the element
for which the sub-part was originally created...

in terms of your program, you'll need to support the /p and /s directories...
and basically your engine should support infinite levels of sub-part within
sub-part within sub-part within etc... because i could create a part that
utilizes primatives in the /p directory.. and also utilizes sub-parts inside
the /s directory.. but then those sub-parts could also call other sub-parts
inside the /s directory, and so on and so on... the .DAT format is built around
the concept of nested structures, and there should be no limit on the
parent-child-child-child-etc relationships that can be created

J



Message is in Reply To:
  Re: DAT format question
 
(...) A primitive is in the p\ directory, a sub-part is in parts\s\ As far as I understand, a primitive is a general purpose shape, usually with dimensions around 1x1x1 LDU for easy scaling. Sub-parts are usually used by only one part, or for many (...) (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