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 / 9741
9740  |  9742
Subject: 
Re: Blender LDraw support
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 15 Jul 2004 22:48:20 GMT
Viewed: 
2111 times
  
In lugnet.cad.dev, Yann Vernier wrote:
loading even the Masakari model in a tolerable amount of time. In the
process I noticed not all parts seem to have a type tag, so anything
called "Official LCad update" (like part 4275) is recognized as a part.
Perhaps the type should be triggered by its location instead. Part 3660
had no type line at all so was not detected. The library I'm using is from
the zipped LDraw+updates from ldraw.org.

Part detection is problematic due to changes over time in the library.  For
reference, LDView uses the following to identify parts:

File is in the Parts directory, and isn't a descendent of any other parts at the
time the file is loaded (sub part aren't really parts).

AND/OR

File has any of the following header comments:
0 unofficial [part | element]
0 un-official [part | element]
0 official [part | element]
0 official lcad [part | element]
0 ldraw_org [part | element]

Note that LDView only verifies that the first part of the comment is there, and
either part or element is there.  The part or element text could show up
anywhere in the comment, and any text could be in between.

--Travis



Message is in Reply To:
  Re: Blender LDraw support
 
(...) Well, I'm a bit further along now. No MPD support yet, but it'll be easy to add. It now supports hierarchical loading with piece recognition, loading even the Masakari model in a tolerable amount of time. In the process I noticed not all parts (...) (20 years ago, 15-Jul-04, to lugnet.cad.dev)

17 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