| | Re: txt2dat - Create LDraw files from text
|
|
(...) Well, apart from the difficulty of converting a Windows face name to a filename as identified here, I always intended it to be relatively easy to port to other platforms. And the most non-platform specific way I could think to do that was to (...) (20 years ago, 4-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Or... HKEY_LOCAL_MACHINE\S...ft\Windows NT\CurrentVersion\Fonts This brought to my attention that not all the files listed are "single font" files (look for ttc files). Is there any reason that txt2dat can't handle font face names? (20 years ago, 3-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) ?? I have WinXP, SP2 and don't see this. But I have set Explorer to not hide anything and show all extensions. I haven't done anything special to the Fonts directory (as I remember), and it shows just like any other. (...) I have a nice little (...) (20 years ago, 3-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) No, I figured it out. XP seems to come with a special Hidden System desktop.ini file in the font directory with this in it. [.ShellClassInfo] UICLSID={BD84B380-8C...00948F534} It makes the standard Windows open file dialog behave in a way that (...) (20 years ago, 3-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) ?? I don't understand exactly what you're saying here. Are you trying to copy the full file path to the Clipboard? If so, don't try in the dialog, select a file instead and copy the full path from the input field 'Font file' on the main screen (...) (20 years ago, 3-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) I'm not sure if this is what you're talking about, but in both the (URL) GUItxt2d app> and (URL) my cheesy tcl app> I can't get the font file directly from the file open dialog in XP. Instead, when I double click on a font, I get a large (...) (20 years ago, 3-May-05, to lugnet.cad.dev, FTX)
|
|
| | Re: tris vs quads?
|
|
(...) It probably doesn't matter. Either way, the rendered image should look the same. Speedwise, most renderers won't care. In fact, I believe that some programs will split the quads back into triangles in order to render them. In terms of file (...) (20 years ago, 2-May-05, to lugnet.cad.dev)
|
|
| | tris vs quads?
|
|
I seem to recall this being discussed here before, but I can't find it. My question is, if I have a surface covered with a large number of triangles (eg output from txt2dat), is it better to leave it as triangles, or attempt to consolidate as many (...) (20 years ago, 2-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) I was trying to knock something up in VB, but came across the problem of getting the file from the font. I couldn't find anything suitable in the registry either. (20 years ago, 1-May-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Wow! Thanks Anders, I will add a link from my page next time I update it! (...) I see what you mean. I never realised it would be so hard to get that information, good ol' windoze. I think your way is the easiest workaround. (...) Works great (...) (20 years ago, 30-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 (...) (20 years ago, 30-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Actually, looking at the brick 1x1s with letters in LDraw, it should be possible to generate glyphs straight from the DAT files. Then it's just a matter of packaging them up nicely in a font file, saves having to convert it to a bitmap & back. (...) (20 years ago, 30-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) That's not too hard to find. (URL) like a wrapper for autotrace and some other stuff. (...) Yeah, you got me there. I think I've got a couple a numbers from the harry potter house sets, and that's about it. Yer more likely to get the whole (...) (20 years ago, 30-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) All we need to generate the cheesy LEGO font file is an output-truetype module for autotrace, and a ready supply of lettered tiles ;) ROSCO (20 years ago, 29-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Err... yeah, lsynth. That's why I couldn't find it. So now that I found it it looks a bit more than 10 lines. Oops. Anyhow, substitute txt2dat for lsynth, make a few little additions and ya get a cheesy GUI for txt2dat that sorta works. Enjoy, (...) (20 years ago, 29-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) <snip> (...) ahhh..... ummm.... LSynth? LPub has its own built in cheezy little GUI! (...) K (20 years ago, 29-Apr-05, to lugnet.cad.dev)
|
|
| | 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 (...) (20 years ago, 29-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) 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 (20 years ago, 29-Apr-05, to lugnet.cad.dev)
|
|
| | Re: txt2dat - Create LDraw files from text
|
|
(...) Version 0.1.4 now available at the same page. Changes in v0.1.4 are: Use LDraw inverse colour for lines. Fixed non-ansi definition of add_char() and add_string(). Implemented better algorithm for choosing the number of segments in splines. (...) (20 years ago, 29-Apr-05, to lugnet.cad.dev, FTX)
|
|
| | Re: Any examples?
|
|
(...) The base patternless version would be 65432 and the pattern would be 65423pXX where XX is a number-letter code for the pattern. Even if the part has never existed without a pattern, a non-patterned version is always created and given the base (...) (20 years ago, 28-Apr-05, to lugnet.cad.dev)
|