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 / 9735
    Blender LDraw support —Yann Vernier
   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)
   
        Re: Blender LDraw support —James Reynolds
     (...) I'm not a Blender user. Yet. I would like MPD support if/when I start using Blender and your script. (20 years ago, 12-Jul-04, to lugnet.cad.dev)
    
         Re: Blender LDraw support —Yann Vernier
     (...) 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)
    
         Re: Blender LDraw support —Travis Cobbs
     (...) 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 (...) (20 years ago, 15-Jul-04, to lugnet.cad.dev)
   
        Re: Blender LDraw support —Stefan Garcia
     Hopefully you're still out there... This is really great that you've written this! Makes things alot easier for us who aren't that good with modeling tools. However, I'm having some problems, hopefully you can help me out? I try to import ldrs and (...) (20 years ago, 12-Aug-04, to lugnet.cad.dev)
    
         Re: Blender LDraw support —Yann Vernier
     (...) In the current form the path to LDraw primitives and parts (ldraw/p and ldraw/parts) are hardcoded into the script. You'll need to change those before it will load anything referring to the part library correctly. If that doesn't help I'd (...) (20 years ago, 13-Aug-04, to lugnet.cad.dev)
    
         Re: Blender LDraw support —Stefan Garcia
     (...) I found this chunk: libdirs= '/home/yann/Blender/...aw/parts'] def getmdl(path, name): Is this what I have to change? If so, do I just copy the paths the way they are in Explorer? (...) Here's the full error message: I get this when I load (...) (20 years ago, 14-Aug-04, to lugnet.cad.dev)
    
         Re: Blender LDraw support —Yann Vernier
      (...) Yes, that is the place. Explorer is probably showing backslashes (\) rather than slashes; you'll have to change those to either \\ or /. A future version of this script will probably try to locate your LDraw directory. So you could change the (...) (20 years ago, 16-Aug-04, to lugnet.cad.dev)
     
          Re: Blender LDraw support —Stefan Garcia
      Well, I fixed that, and it seems to be trying to load the model (I get a busy icon and such), but now it's hanging on another section. I now get this: Traceback <most recent call last>: File "<string>", line 340, in loaddat File "<string>", line (...) (20 years ago, 16-Aug-04, to lugnet.cad.dev)
     
          Re: Blender LDraw support —Yann Vernier
      (...) Neither am I. However, line 318 isn't in childreBobj in the most recent public version of the script. Since that's the only one that works in Blender 2.34 (and it probably has trouble with some types of files anyway, such as if they contain (...) (20 years ago, 17-Aug-04, to lugnet.cad.dev)
     
          Re: Blender LDraw support —Stefan Garcia
      "Ooh, new script." *download* "Hm, fix path, load...will it work?" *jaw drops* DUDE, YOU ARE THE COOLEST PERSON EVER!!! THIS ROCKS!!! *head explodes from all the possibilities* "ewww..." -Stefan- (20 years ago, 17-Aug-04, to lugnet.cad.dev)
    
         help with ldraw —Vineet Honkan
     Hey y'all- I was just working on my LDraw when I experienced a problem. On the four small dimension windows, the up-down, left-right scrolls have vanished. Is there a way I can retrieve them? (I don't know what I did). (20 years ago, 8-Oct-04, to lugnet.cad.dev)
    
         RE: help with ldraw —William Howard
     right click in each window and select "show scroll bar" from the menu -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of vineethonkan Sent: 08 October 2004 16:12 To: lugnet.cad.dev@lugnet.com (...) (20 years ago, 8-Oct-04, to lugnet.cad.dev)
   
        Re: Blender LDraw support —Yann Vernier
     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 (...) (20 years ago, 17-Aug-04, to lugnet.cad.dev)
    
         Re: Blender LDraw support —Brian P. Gefrich
     (...) 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)
   
        Re: Blender LDraw support —Yann Vernier
     A little bit of extra work, and I'm ready (sort of) to present the first export capable edition. It outputs DAT or MPD files of the current scene, including STEP support. Script pack (since the script now is split in multiple files): (URL) of output (...) (20 years ago, 28-Aug-04, to lugnet.cad.dev)
   
        Re: Blender LDraw support —Yann Vernier
   I added a feature to automatically generate contour lines for exported objects, and reexported my 6575 model. I'm not sure it's quite the way it should be yet. Also set up a wiki page where I'd appreciate suggestions and questions. The wiki will be (...) (20 years ago, 2-Sep-04, to lugnet.cad.dev)
 

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