To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.trainsOpen lugnet.trains in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Trains / 636
635  |  637
Subject: 
Re: LDraw and the Track Designer (Was: Next show)
Newsgroups: 
lugnet.trains, lugnet.cad.dev
Date: 
Wed, 17 Feb 1999 13:44:20 GMT
Viewed: 
1242 times
  
On Tue, 16 Feb 1999 21:56:35 GMT, blisses@worldnet.att.net (Steve Bliss)
wrote:

On Tue, 16 Feb 1999 19:12:40 GMT, "Matthew Bates"
<train_depot@yahoo.com> wrote:

Steve Bliss writes:
A stand-alone utility could call LDraw (or LDLite) to produce the
images, but extract the (port) information directly from the .DAT file.

Calling into LDraw/LDLite is pretty easy -- both programs are
command-line driven.

I'm not too familiar with LDraw, can I call it with a design (.DAT file) and a
viewpoint and get back a bitmap somehow?

Yep.  Pass in a .DAT filename, and include the -MS parameter (for Mode
Save).  A bitmap will be created in the ldraw\bitmaps directory.  It
will have the same filename.

If there are step commands in the DAT file, several bitmaps will be
created, one for each step.  The bitmap files will be named using the
first six characters in the source file name, with a two-digit sequence
number appended.

Oops.  Forgot the bit about the viewpoint.  That can be passed to LDraw
as well.  It's the -a parameter.

Steve



Message is in Reply To:
  Re: LDraw and the Track Designer (Was: Next show)
 
(...) Yep. Pass in a .DAT filename, and include the -MS parameter (for Mode Save). A bitmap will be created in the ldraw\bitmaps directory. It will have the same filename. If there are step commands in the DAT file, several bitmaps will be created, (...) (25 years ago, 16-Feb-99, to lugnet.trains, lugnet.cad.dev)

17 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