Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Active-polling macro substitution program
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 27 Mar 2000 00:33:59 GMT
|
Viewed:
|
1851 times
|
| |
| |
I prefer to edit my mpd files by hand, and use l3lab in polling mode to view
the changes (am I a masochist, or what?), but it's a pain having to flick back
and forth between the parts catalog especially for the common pieces (bricks,
plates, etc)
So I wrote a program that monitors a file for changes (say, bob.txt), applies a
given list of macros (in lego.def, for instance) to that file and writes the
result out to another file (like bob.mpd)... it can turn lines like
1 0 0 0 0 #IMAT #2x12plate
1 0 -8 0 0 #Y90MAT #2x12plate
into
1 0 0 0 0 0 0 -1 0 1 0 1 0 0 2445.dat
1 0 -8 0 0 0 0 -1 0 1 0 1 0 0 2445.dat
Which is pretty convinient, really.
Source-code, docs and Win32 executable are at
http://homepages.ihug.co.nz/~cat/scanner.zip
--
Caton Little
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|