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 / 9835
9834  |  9836
Subject: 
Re: Blender LDraw support
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 17 Aug 2004 07:41:00 GMT
Viewed: 
1813 times
  
I've worked a bit more on my Blender LDraw import script.

Recent additions:
* Requires Blender 2.34 for some convenient functions.
* Creates materials for each LDraw colour used, but does not fill in
   colours.
* ldrawdir is now high in the script and in once place, to be easier
   to change. Should add code to locate it.
* Double vertex removal is now done at flattening stage; the script
   might consume notably more memory, but runs much faster.
* MPD files can be loaded directly.
* Curved faces are detected by their connection to 5 lines; AutoSmooth
   is turned on for them, but the threshold may need tuning that can't
   easily be done automatically.

Part detection is currently done by descriptions; any DAT referring
directly to primitives or subparts is considered a part. The specific file
loaded at first is never flattened.


Script location:
  http://donkey.dyndns.org/~yann/datimport.py
Blender:
  http://www.blender3d.org/



Message has 1 Reply:
  Re: Blender LDraw support
 
(...) Thanks alot for this work. It's very much the combination of tools that I am looking forward to working with. We mentioned LCad/Blender ties quite a bit at Brickfest this weekend. (...) (20 years ago, 17-Aug-04, to lugnet.cad.dev)

Message is in Reply To:
  Blender LDraw support
 
I hope this isn't off topic for this list. I've begun writing some scripts for Blender to import (and eventually export) LDraw DAT files. Cropped screenshot of result (pieces 105, 10 and 73057): (URL) location (currently 5KB): (2 URLs) features: (...) (20 years ago, 12-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

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