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 / 9582 (-40)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) rofl. I think this qualifies as quote of the day. Steve (21 years ago, 9-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu6s61.1FM9@lugnet.com... <SNIP> (...) "Snip", you got me two days sleeping ;-) I do not have anything against additional keyword, but I realy do not get what's behind them (...) (21 years ago, 8-Mar-04, to lugnet.cad.dev)
 
  Re: surface normals and vertex normals for OpenGL
 
(...) I suspect this has been talked about in this group before, but probably not all in one thread. I'll try to summarize the things to look out for. First of all, you are correct in that any files that aren't BFC-certified have polygons with (...) (21 years ago, 7-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oh I don't know. I'm still hoping some of these ideas will eventually start to grow on you. Hopefully Lars will write some really nice code that finds the parts search list and somehow associates a list of tags with each directory in the list. (...) (21 years ago, 7-Mar-04, to lugnet.cad.dev)
 
  surface normals and vertex normals for OpenGL
 
Hello, I have some LDraw animation projects in mind and am starting by making a simple viewer using OpenGL. I have a program that will read a file and display it, but I run into problems with the shading because it only does flat shading. I think I (...) (21 years ago, 7-Mar-04, to lugnet.cad.dev)  
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Right. I actually manage 350 Macs and I tried to put LDraw on them and ran into several problems that I had to take up with the Mac developers. So anything that makes this easier for admins is good in my opinion. (21 years ago, 6-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) [snip] (...) Again, I'm not talking about most users - most will be covered by the search paths proposed earlier in the thread. This would only be for non-standard installations, where the people installing WOULD be likely to know what I am (...) (21 years ago, 6-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Mac OS 9 does not have a command line. That OS is a dinosaur. You can think of Mac OS X as a decendant of BSD, with a Mac OS 9 look-a-like window server. In fact, you can remove Apple's window server and add X11, turning Mac OS X into just (...) (21 years ago, 6-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu4BBu.20n4@lugnet.com... <SNIP> (...) tags (...) Most (...) <BOXES>, (...) %LDRAWDIR%\PARTS\B (...) version (...) Or (...) soft (...) Ahhh I didn't see that in the first (...) (21 years ago, 6-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Ross Crawford" <rosscraw@bigpond.net.au> schrieb im Newsbeitrag news:Hu4L6M.1Eyo@lugnet.com... <SNIP> (...) these (...) in some cases "xxx.exe /LDRAWDIR=C:/LDRAW /LDRAWINI=\\LDRAW_BOX/INI will work too. There is no standard function set in windows (...) (21 years ago, 6-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Well I don't know how mac command lines work but I was thinking along these lines: Windoze: xxx.exe /LDRAWDIR=C:\LDRAW /LDRAWINI=\\LDRAW_BOX\INI Unix: xxx --ldrawdir ${HOME}/ldraw --ldrawini /etc/ldraw You might also wanna provide old single (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) There are all sorts of network mounting tools out there. I'm not sure, but perhaps you're thinking of samba. I've used that from the unix side to be both a client and a server for Windows networks. But there are plenty of other more obscure (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu4BBu.20n4@lugnet.com... <SNIP> (...) server. (...) file (...) tags (...) Most (...) <BOXES>, (...) %LDRAWDIR%\PARTS\B (...) version (...) Or (...) soft (...) There is also (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Lars C. Hassing" <sp.lars@am.hassings.dk> schrieb im Newsbeitrag news:Hu438x.Ko0@lugnet.com... (...) server, (...) They install everything on a NT network, using a server which hold the ldraw library and also a copy of MLCad. I recommended to do (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Here's how I see it working: 1. The admin creates an LDRAW directory on the server. 2. The admin creates extra parts directories under <LDRAWDIR> on the server. 3. The admin creates an ldraw.ini file in the <LDRAWDIR> using the new GUI program (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) How will such an installation be laid out? Will users install MLCad on their local machine and MLCad will then first thing ask the user to locate the LDrawDir, which the user specifies as e.g. L:\LDraw or \\server\LDraw ? If the search path (...) (21 years ago, 5-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Ok, I can see where I myself might use this in a pinch because I almost always run things from the command prompt. However, even I would rather set an environment variable or use some other global setting in an ini file. Why? Because if I use (...) (21 years ago, 4-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Well to be usable, both must be implemented. (...) As I said it would only be for non-standard setups. I think the Lars' search list is ample for the vast majority of people. Those using networks, etc, probably would classify as "advanced (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) And I'm pretty sure on Mac OS X, if you use the finder to activate your program, you have no control whatsoever over the command line. So you already need another way if you want to click on a LDR file or link and have something happen. Don (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I'm not sure what you're trying to say. Do you mean "USERS need the ability to specify", or "programs need the ability to READ"? Either way, that approach is for advanced users (software geeks) only. We're trying to improve things for ordinary (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  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)


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

Redisplay Messages:  All | Compact

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