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 / 6427
  Re: Future extension of dat files?
 
(...) Michael - The new extension should be .ldr. I'd recommend saving files at .ldr as default, but leave the option to save as .dat. Also, when opening a file, look for both .dat and .ldr as a default. BTW (for everyone, since this is on a public (...) (23 years ago, 30-Sep-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) Thanks, that was it, what I wanted to know. For the next version I'm planning to register this extension instead of .dat. Although I'll still support dat MLCad will write .ldr by default - still allowing the user to specify something else. I (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) No problem. (...) Sounds good! Thanks, Michael. (...) Yeah, .dat from the get-go was too ambiguous, and there's been a need for LDraw files to have their own unique extension for quite some time. The other issue is what to do with parts - from (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) I know, I'm not Steve, but I think leaving library extensions as they are shouldn't be a problem since you do not regulary open library files, but models. As long as the editors and viewers accept both extensions it should be fine. Just we (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) Is there any MIME-head out there who knows if multiple file extensions can be directed at the same MIME-type? I'd like to keep both DAT and LDR registered/linked to application/x-ldraw on my system. Steve (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) Look here (Warning, MS changes this with every release so it may not work!) (URL) worked for me on 2000 (sorta borrowed from the ldglite readme) 1) Open an Explorer window (or any folder window). 2) Select the "View->Folder Options" menu (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) Heh, while searching for another tool I just discovered you can do this on the command line in 2000. Who would've guessed? Typing: ftype /? reveals the secret. To add .ldr on my system would require typing: assoc .ldr=ldlite.document The only (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(Sorry, I hit "Post" too quickly just now) I was playing around with Regedit. I found the .dat key (under HKEY_CLASSES_ROOT), and copied the settings from .dat to a new key, .ldr. I also changed the default file extension for application/x-ldraw to (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) Here's a potentially dumb question: will we be changing the file format at all during the switch from .dat to .ldr, or will it still be the same text-readable setup we all know and love? Dave! (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) I don't suppose you could humor me and type: assoc .ldr at a command prompt and tell me what you get. Since we seem to be standardizing on the .ldr extension and the application/x-ldraw, it might be nice to standardize the rest of the junk (...) (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
"Dave Schuler" <orrex@excite.com> wrote in message news:GKJKwG.Awv@lugnet.com... (...) at (...) No, the actual text based file format will remain the same. -Tim (23 years ago, 1-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) Yeah, like Tim said: the file format is staying the same. There are only two changes going on: 1. LDraw.org semi-officially endorses the .LDR extension as the standard for LDraw files. This stance doesn't have a *direct* effect on anything. 2. (...) (23 years ago, 2-Oct-01, to lugnet.cad.dev)
 
  Re: Future extension of dat files?
 
(...) I get this: C:\>assoc .ldr .ldr=l3.dat C:\>assoc .dat .dat=L3.dat But I was mucking with assoc yesterday, so don't assume this is the normal result of the registry mucking I did before then. (...) Probably LDraw.Document would be good, having (...) (23 years ago, 2-Oct-01, to lugnet.cad.dev)

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