There are two (or three) requirements to run L3P:
set path = ($path /home/Lars/l3p)(path is set to the old path plus /home/Lars/l3p)
If you want to see where else the shell looks for programs, simply type [1]:
echo $pathThe "set path = ($path /home/Lars/l3p)" command can be put into your ~/.cshrc (or whatever login script you have).
If you don't want to mess with the path environment variable, then you can simply place l3p in e.g. /usr/local/bin or /usr/bin or any other directory that is already in your path, see [1].
If you have installed LDraw in /home/Lars/LDraw, then your computer has
these directories:
/home/Lars/LDraw/P
/home/Lars/LDraw/PARTS
/home/Lars/LDraw/MODELS
and this file (among others):
/home/Lars/LDraw/parts.lst
So your LDraw directory (LDRAWDIR) is /home/Lars/LDraw.
You must call the set command before any calls to L3P
% set LDRAWDIR = /home/Lars/LDraw % l3p car.dat % l3p car.dat newview -cg30,45 -b -fThis should result in two POV-files car.pov and newview.pov
If you have
POV-Ray
installed then launch it and open e.g. car.pov
Voila!
It is convenient to put "set LDRAWDIR = /home/Lars/LDraw" in your ~/.cshrc (or whatever login script you have), then you don't have to type the "set" command everytime you want to run l3p.
The environment variable LDRAWDIR was originally suggested by Tore Eriksson.
Included in the zip files is the documentation l3p.txt.
Note: Since the executable has been packed by zip
it has lost its executable attributes.
So, after unzip'ing remember to "chmod 777 l3p".
L3P (Linux i386) v1.3 20021201
l3plinux.zip (252 kB)
L3P (MacOSX ppc/i386) v1.3 20061021
l3pmacosx.zip (83 kB)
Requires Mac OS X v. 10.1
Please enjoy and let me know what you think.
Windows and
DOS users can go to this download page and download zipped versions for their platforms.
Mac and the Mac logo are trademarks of Apple Computer, Inc., registered in the U.S. and other countries.
Last updated October 24, 2006