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 / 10225
10224  |  10226
Subject: 
Re: txt2dat - Create LDraw files from text
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 29 Apr 2005 02:18:57 GMT
Viewed: 
4869 times
  
In lugnet.cad.dev, Don Heyse wrote:
In lugnet.cad.dev, Ross Crawford wrote:
Hi all,

I've just uploaded the first beta version of txt2dat, a command-line
program to create LDraw files from text. It has been developed using
cygwin and mingw on Windows XP, and has not been fully tested in any
other environments.

You can download it
<http://www.br-eng.info/about/lego/LDraw/txt2dat/index.htm here>.
If you wanna give it a go, and let me know if you can get it to work,
please feel free.

Wow, that's cool!  LDRAW stuff sent to stdout.  I finally get to
try ldglite with a pipe from a real program, and it all seems to
work.

  txt2dat -s hello -c 4 -p 72 c:\windows\fonts\ariel.ttf | ldglite -i1
-MFhello.png --

Thanks.  That was fun,

Nuthin like a good ol' command line utility ;) though I wouldn't be adverse to
someone creating a nice graphical interface - working out which font file to use
is a bit of a pain sometimes...

ROSCO



Message has 2 Replies:
  Re: txt2dat - Create LDraw files from text
 
(...) Yeah, I was gonna suggest you convert the "font" from the ldraw lettered tiles into a cheesy builtin internal font, which would be used by default. Then add a -f before the font if you can find a better one somewhere. That way you could make (...) (19 years ago, 29-Apr-05, to lugnet.cad.dev)
  Re: txt2dat - Create LDraw files from text
 
(...) Quick hack: (URL) (Exe + Delphi 5 source, 270 kB) (...) I googled for it (going from font name to font file) and could only find the advice to enumerate all font files and read the info in them. Sounds like loads of work :-( I did it the other (...) (19 years ago, 30-Apr-05, to lugnet.cad.dev)

Message is in Reply To:
  Re: txt2dat - Create LDraw files from text
 
(...) Wow, that's cool! LDRAW stuff sent to stdout. I finally get to try ldglite with a pipe from a real program, and it all seems to work. txt2dat -s hello -c 4 -p 72 c:\windows\fonts\ariel.ttf | ldglite -i1 -MFhello.png -- Thanks. That was fun, (...) (19 years ago, 18-Apr-05, to lugnet.cad.dev)

29 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