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 / 5334
5333  |  5335
Subject: 
More tips for L3P (was: Re: LDraw.exe)
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 29 Sep 2000 22:31:27 GMT
Viewed: 
830 times
  
In lugnet.cad.dev, Ryan J. Farrington writes:
All right! I figured out how to use LDraw! As I was working on how to get
L3P working as per Manfred Moolhuysen's instructions (Re: I can't run
L3P), I realized that both L3P and LDraw are DOS programs.  So I followed
his directions for L3P and thought that with those settings, LDraw
commands would also work. Sure enough, they did. (Thanks, Manfred!)

I still have some trouble with L3P not finding my model files, but that
probably has to do with the paths. I'll have to work on it.

Try this: assume you have L3P.exe in the C:\Pov directory, the Ldraw programs
in the C:\Ldraw directory, and the shortcut for L3P I've described previously.
With Notepad you make a new file with the following content:

@ECHO OFF
SET LDRAWDIR=C:\LDRAW
C:\POV\L3P.EXE %1 %2 %3 %4 %5 | more

Save it as L3P.bat in the C:\Ldraw directory (and yes, this was good old DOS
batch-file programming)

Now change the properties of the shortcut, so that C:\Ldraw is the working
directory. Now, when you've open a DOS-window through the shortcut, and you
type L3P <something>, this will run L3P.bat instead of L3P.exe and this
ensures that some usefull settings will be done, before the batch file calls
the real L3P program.

The SET LDRAWDIR line shows L3P where it can find the Ldraw tree it has to
search through, in case you provide a model filename whithout a path if front
of it.
The %1 to %5 signs allow you to enter command line parameters when you run the
L3P.bat file, such as options, modelname and povpath. They ensure that these
parameters are being handed over to the L3P.exe program.
The | more bit breaks up the screen output into readable pages when the number
of lines eventualy happens to exceed the Screen Buffer Size Heigth.

Greetings, M. Moolhuysen.



Message is in Reply To:
  Re: LDraw.exe
 
All right! I figured out how to use LDraw! As I was working on how to get L3P working as per Manfred Moolhuysen's instructions (Re: I can't run L3P), I realized that both L3P and LDraw are DOS programs. So I followed his directions for L3P and (...) (24 years ago, 29-Sep-00, to lugnet.cad.dev)

2 Messages 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