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 / 10242 (-40)
  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 (...) (19 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? (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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. (19 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 (...) (19 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 (...) (19 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. (...) (19 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 (...) (19 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 (19 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, (...) (19 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 (19 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 (...) (19 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 (19 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. (...) (19 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 (...) (19 years ago, 28-Apr-05, to lugnet.cad.dev)
 
  Any examples?
 
Hi all: Suppose there were a part such as a 3x9 brick with "Dave is Supercool" printed on the side, and let's call it part 65432. If that part did not exist in non-printed form, how would this be entered into the LDraw inventory? That is, would the (...) (19 years ago, 28-Apr-05, to lugnet.cad.dev)
 
  Re: Minor enhancement to PT UI
 
(...) -Orion (19 years ago, 28-Apr-05, to lugnet.cad.dev)
 
  Minor enhancement to PT UI
 
I made a small change to the user interface for the Parts Tracker. Previously, the "Lookup" box (at the right end of the navbar) would only accept filenames for searching. If you didn't enter the name of a file currently in the unofficial library, (...) (19 years ago, 26-Apr-05, to lugnet.cad.dev)
 
  Re: Bricksaic and txt2dat?
 
(...) Looks like that might be the best way to go. I haven't looked at autotrace yet, how does it handle colour? Even if bricksaic converts it to the ldconfig colour pallette, I imagine the colours output by autotrace will still need to be converted (...) (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: Bricksaic and txt2dat?
 
(...) Yeah, it sounds quite similar. Rosco's tx2dat program also uses the Shewchuk triangle library. Do ya think maybe it's about time to finish "publishing" your ldeco utility? I did a quick search and apparently you first promised to make it (...) (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: Bricksaic and txt2dat?
 
(...) This sounds similar to a past effort of mine called ldeco meant to help create decorated elements. It triangularized contours with colored seed points - see (URL) for a brief description (the page is very incomplete, I never got any further (...) (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: Bricksaic and txt2dat?
 
(...) Yeah, I was actually thinking the best thing would be to paste your ldraw triangle generator code right into the output code of autotrace. (URL) About a year ago> I hacked a cheesy ldr output into autotrace, but it only does edge lines. I (...) (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: Bricksaic and txt2dat?
 
(...) OK so a quick search reveals that (URL) autotrace> exports (URL) several different file formats>, none of which I know very much about. Does anyone else have any info? Note: txt2dat relies on the vector data being a series of closed contours. (...) (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: Bricksaic and txt2dat?
 
(...) Happy to investigate autotrace input, if someone can point me to a spec, or even better some code to parse it ;) Some test data would be useful too... ROSCO (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)
 
  Bricksaic and txt2dat?
 
(...) Hey. You know the bricksaic interface is also a really nice fit for a program to reproduce patterned bricks in ldraw. I gave it a whirl posterizing the only pattern I had a scan of and it did a fairly nice job. (URL) You could use a few paint (...) (19 years ago, 22-Apr-05, to lugnet.build.mosaic, lugnet.cad.dev, FTX)
 
  Tablet usage
 
Hi all, I am (still) working on an animation tool (LD4Dmodeler 2, www.rolandmelkert.nl...4DModeler) Thinking about the large amount of controls (for controlling hinges, position and rotation etc), it might be interesting to support a tablet. The (...) (19 years ago, 21-Apr-05, to lugnet.animation, lugnet.cad.dev)
 
  Re: Latest BFC Spec?
 
In lugnet.cad.dev, Steve Bliss wrote: [snippity-do-dah] Sorry, I found an old post still waiting to be authorized. I hit "Post" instead of "Delete". Steve (19 years ago, 20-Apr-05, to lugnet.cad.dev)
 
  Re: Latest BFC Spec?
 
(...) I thought it was dead 2 (or 3?) years ago. ;) (...) That's a pretty big 'once' you've got there. One problem I've had, revisiting old part files and applying BFC -- once you look at a file, you're also tempted to fix any/all errors you find in (...) (19 years ago, 22-Mar-03, to lugnet.cad.dev)
 
  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)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Thanks Dave! Any feedback is much appreciated. I've just uploaded a new version, so you might wanna grab that. ROSCO (19 years ago, 17-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: txt2dat - Create LDraw files from text
 
(...) I've uploaded version 0.1.3, with a couple of bug fixes, and source code. Enjoy! ROSCO (19 years ago, 17-Apr-05, to lugnet.cad.dev, FTX)
 
  Re: txt2dat - Create LDraw files from text
 
(...) Okay, I admit it: at first I thought "text to LDraw? Big deal--I write all my LDraw partsfiles as text files." But then I clicked on the link and figured it out. Wow, this utility is a great idea! I just downloaded it and will give feedback as (...) (19 years ago, 17-Apr-05, to lugnet.cad.dev, FTX)
 
  txt2dat - Create LDraw files from text
 
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 (...) (19 years ago, 15-Apr-05, to lugnet.cad.dev, FTX)  
 
  Re: Type 5 lines, BFC relevance, and OpenGL
 
(...) I'm using a display list. The triangles are drawn inside the display list using "classic" OpenGL calls (glBegin(GL_TRIANGLE....glEnd()). The lines are being drawn inside the display list using vertex arrays. Using vertex arrays to draw the (...) (19 years ago, 4-Apr-05, to lugnet.cad.dev)
 
  Re: Type 5 lines, BFC relevance, and OpenGL
 
Slower, you say? Are you executing the functions in immediate mode? Or using a display list? Because if you're not using a display list, it's no suprise that it's slower. If you are using a display list, however, then I'm at a loss. I guess it may (...) (19 years ago, 4-Apr-05, to lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR