To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16350
16349  |  16351
Subject: 
Blender LDraw Importer
Newsgroups: 
lugnet.cad
Date: 
Thu, 9 Jul 2009 22:56:15 GMT
Viewed: 
10285 times
  
I made a Python script for Blender that imports LDraw models. More info and download here.

Features
  • Utilizes Blender’s hierarchical object structure, for easy moving and management of parts
  • Uses mesh-linking, so that every duplicate part has the same mesh, but can have different colors and transformations
  • Imports colors from the LDraw header file as materials, complete with raytraced transparency for transparent colors, emissive materials for luminescent colors, and raytraced reflections for chrome, metal, and pearlescent colors
  • Supports parts with multiple colors (stickers)
  • Instead of using primitive substitution like L3P, it can automatically set all round primitives (cylinders, spheres, cones, and tori) to use smoothed normals
  • If smoothing is not enough for you, it can also force models to use hi-res primitives when available
  • Can replace light.dat references with lamps, complete with color from the model file
  • Can scale individual parts to create a seam between pieces
  • Saves preferences for future imports
  • Uses a simple GUI
Here’s a simple comparison of output from L3P and from my script. It contains the 64 official LDraw colors.

L3P
outputScript output



1 Message 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