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 / 633
632  |  634
Subject: 
Re: LDraw and the Track Designer (Was: Next show)
Newsgroups: 
lugnet.trains, lugnet.cad.dev
Date: 
Tue, 16 Feb 1999 21:56:35 GMT
Viewed: 
1286 times
  
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.

Steve



Message has 1 Reply:
  Re: LDraw and the Track Designer (Was: Next show)
 
(...) Oops. Forgot the bit about the viewpoint. That can be passed to LDraw as well. It's the -a parameter. Steve (25 years ago, 17-Feb-99, to lugnet.trains, lugnet.cad.dev)

Message is in Reply To:
  Re: LDraw and the Track Designer (Was: Next show)
 
(...) 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? Matt (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

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