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 / 9827
9826  |  9828
Subject: 
Re: Blender LDraw support
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 14 Aug 2004 11:15:07 GMT
Viewed: 
1889 times
  
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.

I found this chunk:

libdirs=
'/home/yann/Blender/ldraw/ldraw/p','/home/yann/Blender/ldraw/ldraw/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?

If that doesn't help I'd really like if you could post the full output
from the script, as it's not necessarily easy to identify what parts of
the tracebacks are important.

Here's the full error message:

I get this when I load blender:
'import site' failed; use -v for traceback
sys_init:warning - no sitedirs added from site module.

This is the error message generated when I try to import a dat:
Failed to find 41748.dat
Traceback <most recent call last>:
  File "<string>", line 333, in loaddat
  File "<string>", line 295, in fromFile
  File "<string>", line 263, in loadline
  File "<string>", line 110, in getmdl
UnboundLocalError: local variable 'fil' referenced before assignment

-Stefan-



Message has 2 Replies:
  Re: Blender LDraw support
 
(...) 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)
  help with ldraw
 
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)

Message is in Reply To:
  Re: Blender LDraw support
 
(...) 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)

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