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 / 9562 (-40)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Seems to me programs need the ability to specify the LDRAWINI directory (and possibly LDRAWDIR) on the command line, for non-standard setups. Maybe the library needs an Ldraw-specific getopt[1] function as well. ROSCO [1] (URL) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I'm logged onto an NT domain right now at work and it's set to this: ALLUSERSPROFILE=C:\Documents and Settings\All Users That's on the local drive. But I suppose you're right, a competent administrator could set it up somewhere on the network. (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: lugnet.cad.dev (2004.03.03.1000) #9551 (1 article)
 
(...) Well, there is Mac OS 8-9 and Mac OS X. Mac OS 8-9: The search path for the ini/pref file is: /System Folder/Preferences There is no where else it should be saved. Andrew can tell you what the format is (I don't think it is xml/plist). Mac OS (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) You're welcome. I chose C rather than C++ because L3P is still also compiled with 1988 TurboC. L3Lab and LDrawSetup is C++, but can easily interface to a lib in C. You can write a wrapper class if you think it's necessary. (...) But of course (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Sure. (...) OK. (...) Fine. (...) I think so too. Users will also have the option to use the new app LDrawSetup, which can setup LDrawDir, SearchDirs, LgeoDirectory, MIME-types. /Lars (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) It's no problem handling the \ or /'s. We do that all the time already in our parts referencing e.g. S\3039S01.DAT, we do manage to find the subpart on unix too :-) My library reads env vars and ini files in any format and converts it to the (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) No, but leading blanks would be preserved as well... (...) Isn't that what %ALLUSERSPROFILE% is for? (...) LDRAWINI is just an opportunity for quickly temporarily using another specific ldraw.ini file. /Lars (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Lars C. Hassing" <sp.lars@am.hassings.dk> schrieb im Newsbeitrag news:Htz996.1H4@lugnet.com... (...) style of (...) it - (...) What I said ;-) <SNIP> (...) env (...) with (...) notified (...) all programs. (...) That sound interesting - any way I (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu0CMF.1Fyv@lugnet.com... (...) Ok, agreed too. So with have <HIDE> and optionally <SHOW> - right? (...) I would still like the quotation marks as an option - not a must. If a (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oh yeah. One other thing about an ldraw.ini located on a central server. I'd prefer to leave the client OS up to the user. This reinforces my case for the <LDRAWDIR>parts path format without the nasty OS specific slash character. Enjoy, Don (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I agree, and prefer <> around all tags. (...) Ah, but what about leading blanks. ;^) Nevermind, I don't think you can create an absolute path that starts with leading blanks. (...) But wait. The reason given for looking in LDRAWDIR is for a (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) The data contained in either environment variables or ini files should have exactly the same format. (...) Trailing blanks are preserved in both env var and ini files. So I still don't think quotation marks are necessary... (...) I didn't mean (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
Where to store the preferences? While I've been aware of this thread, I haven't actually been following it, so correct me if I've got the wrong end of the stick. (...) MacOS 9 and earlier is a single user environment and it was easy to place (and (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Sorry to immediately respond to my own respond to my own reply, but I forgot one minor detail. The corallary to this bit is that to be safe, Windows programs should treat both / and \ as path separators any time they parse paths, and work (...) (21 years ago, 2-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I believe that this isn't entirely true. We had a problem at work where a program didn't work right in Windows 9x (I think it was 98, but I'm not entirely sure), but worked fine in Windows NT and Windows 2000. After some careful debugging, I (...) (21 years ago, 2-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) That's not exactly true. I'm sure you can work out an arrangement with Lars. After all, L3P is not entirely open source, and the benefit of all the LDRAW tools using an identical parts search strategy is probably more useful than having you (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oh. I didn't know it was as easy as: ~/MacOSX/environment.plist I guess that is one route. In Cocoa, which is what Andrew and I are both developing in now, it is really easy to grab prefs that have a unique name for the application. It isn't (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:HtwMAE.3BM@lugnet.com... (...) Done, sorry about that - but it was a hard day at work :-( (...) As mentioned earlier in this thread ... we should go with: 1) Users Home (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
Ok I hop on again ... "Lars C. Hassing" <sp.lars@am.hassings.dk> schrieb im Newsbeitrag news:Htnz7B.G2z@lugnet.com... (...) located (...) directories, (...) (URL) However, I suggest section name [LDrawSearch] which is more in line with [LDraw]. I (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Actually Environment variables work pretty well on OS X because they've set up a standard place to put them, and it's one of those plist files. See here for details. (URL) would be nice though to have a standard fallback location for the (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
One other thing. Environment variables work too, but only serious Unixy Mac OS X people actually modify them--that is, some developers, but no one else. Normal users would even know what they are. Heck, even I don't modify mine. For my l3p and (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) /etc would work, except it would require admin permission to install, which is something the Mac OS X community doesn't like for an installer/app that isn't a system modifying type of installer/app. Saving stuff in /etc/ will also not survive (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oops, I forgot to add this. These sort of restrictions mean a user may be forced to put extra search directories in their home directory. Rather than recognize $HOME or %USERPROFILE% in an absolute path, it might be nice to add a <HOME> (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I'm only willing to abandon environment variables if you're willing to go the distance and really try to work out a standard that we all can use. I, like Lars, was quite disappointed when you got impatient and cut short the previous discussion (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
 
  Parts Tracker outages in preparation for release of 2004-01
 
Please expect some availability outages on the Parts Tracker today (and maybe for the next few days), as I work on the next parts update. If all goes well the 2004-01 update will be ready in the next few days. Chris Dee (LDraw Parts Admin) (21 years ago, 29-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I agree (although I did point something out in a response to Orion's response). Unix (and Unix-like) environments do often use the environment to control things, but they also use dot files. And while it wouldn't make sense to have an (...) (21 years ago, 28-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Well, the ldraw directory itself can be specified in ldraw.ini. And while I agree that filling up the Windows directory is generally a bad thing, you can't have the file be in the LDraw directory if it is the file that specifies where to find (...) (21 years ago, 28-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I agree. I like the ini file solution over the environmet varible (...) I agree that putting the ldraw.ini the LDRAW dir would make much more sense (why it wasn't in the first place is puzzling) but the problem is that the programs the use it (...) (21 years ago, 28-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
I just start a new sub-thread to discuss two very important points where I thought over two nights now: The location of the ini file and environment variables! I would not recommend to go with both solutions, because its source for possible errors (...) (21 years ago, 28-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I think you are being a bit unreasonable. The discussion is about a fundamental functionality of LDraw, which has impact on all programs. Agreement is important to ease the life of the end user: *one* place for setup. We try to accomodate (...) (21 years ago, 27-Feb-04, to lugnet.cad.dev)
 
  LDraw Design Pad (LDDP) 1.54 Released
 
LDDesignPad (LDDP) is a tool for editing and handling LDraw files in a very comfortable way. Download it here: (URL) are: -Fully customizable editor with syntax highlighting -Open multiple files at the same time -Unlimited Undo/Redo -Use/define (...) (21 years ago, 27-Feb-04, to lugnet.cad, lugnet.cad.dev, lugnet.announce)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
Sorry to be a bit harsh now but whats going on here now is exactly what I ment with overkill in discussions. We discuss about a quite simple small usefull feature - but we also discuss how we can make things complicated and beeing a long process (...) (21 years ago, 26-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Exactly, and you don't look for a part named "\3006.DAT" in the PARTS directory? When you combine the full path to the PARTS directory with the part filename you have to add the "\" yourself, right? So I know you can do it... (...) Ah, but (...) (21 years ago, 26-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) OK. (...) But you don't declare LDRAWDIR as C:\LDraw\, i.e. with a trailing backslash. We also use %WINDIR%\ldraw.ini and not %WINDIR%ldraw.ini. I think most variable substitution in any (script) language uses explicit delimiters in stead of (...) (21 years ago, 26-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I also considered suggesting [LDrawSearch] but I held back and went with the "me too". I do like [LDrawSearch] better though. (...) Sure, but use lowercase ldraw.ini please! I'm too lazy to remember to use the shift key on a case sensitive (...) (21 years ago, 26-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Me too. I think it is a good idea with a separate section for the search directories, it allows shorter keys than suggested in (URL) I suggest section name [LDrawSearch] which is more in line with [LDraw]. (...) Yes, first (...) (21 years ago, 25-Feb-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:HtnCyv.188q@lugnet.com... <SNIP> (...) I will not use the variable, files should be readable on any platform ;-) What about quotation marks in the lines? I suggest to NOT (...) (21 years ago, 25-Feb-04, to lugnet.cad.dev)
 
  trackdraw, sourceforge
 
TrackDraw is now in the alpha stage, which means it is feature complete, though with many bugs. Thanks to everyone who helped with the design phase. I'm working on the transition from the Yahoo group (URL) to the sourceforge project (URL) . Here's a (...) (21 years ago, 25-Feb-04, to lugnet.cad.dev, lugnet.off-topic.geek)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) It works for me too. So we should check the user's home directory for an ldraw.ini file containing an [LDRAW_SEARCH] section, then if not found look in the ldraw.ini file in Windows directory. For myself, because of platform portability (...) (21 years ago, 25-Feb-04, to lugnet.cad.dev)
 
  Re: New LDraw Animation: Rotation Animation
 
(...) I've really fixed the problem this ime and possibly found a bug in the "Print this story" feature of PostNuke. -Orion (21 years ago, 25-Feb-04, 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