Yeah when you finally get the display to work it feels like magic and I copied off the command line in a text file when that happened. I don't have it on mr Blackberry but recalling without notes I think the command terminal the application and the database all have to point in the same direction and when they don't for any reason it doesn't work.
I wondered why it was so hard. Then I thought this might be an intelligence test by the CIA since gamers and others create self loading software so easily. Haha Then I thought it would be fun to write my own self loader. Then I thought given the way this engine is implemented I could use it in a variety of apps for seamless graphics. Then wondered about compression a sphere command versus a rendered sphere image represents.. Then I got busy with business before doing all of that. You guys respond after SIX WEEKS. IQ test man. Memory is a part of it. Haha I was at a Scuba event this weekend and as I hefted 36 pounds equipment for 4 hours of air I recalled we use a half pound of oxygen every six hours and wondered why cryogenic scuba never developed. Cheers William Sent from my Verizon Wireless BlackBerry -----Original Message----- From: "Harris, Rob B NSWCDL G 24" <[email protected]> Date: Tue, 23 Mar 2010 07:59:56 To: User support, suggestions, questions,and comments welcome<[email protected]> Subject: Re: [brlcad-users] Load mged script from command line I appritiate the quick replys yesterday. I still have not been able to get this to work in 7.14.8 on windows XP. I have a very simple text file(attached) containing the most common commands we use here in a folder by itself. I have not created a new database. I open a dos shell from that directory and input the command below. I tried with and without the -c option. I also put y and nu in the text file itself as input for new .g database and null display respectively. ---------7.14.8----------------------------- C:\Documents and Settings\rob.harris\Desktop\temp>"C:\Program Files\BRL-CAD\7.14 .8\bin\mged" -c test.g <test.txt BRL-CAD Release 7.14.8 Geometry Editor (MGED) 6/23/2009 1:03:27 PM, Compilation 2 robert.g.par...@arlawkls11267:C:/Program Files/BRL-CAD Create new database (y|n)[n]? Warning: no database is currently opened! mged> (nu|wgl)[nu]? attach (nu|wgl)[nu]? C:\Documents and Settings\rob.harris\Desktop\temp> -------------------------------------------------- For comparison here is what I call using version 7.12. It will create the .g database and load the script. -----------7.12.6--------------------------------- C:\Documents and Settings\rob.harris\Desktop\temp>"C:\Program Files\BRL-CAD\7.12 \bin\mged" test.g <test.txt You are now editing in 'mm'. 1 mm = 1 mm Defaulting item number to 102 Creating region id=101, air=0, GIFTmaterial=162, los=90 Input file specified two times. 'cat' is not recognized as an internal or external command, operable program or batch file. Summary written in: test.ids Processed 1 Regions sort -n +1 -2 -o /tmp/ord_id test.ids cat /tmp/ord_id >> test.ids --------------------------------------------- ________________________________ From: [email protected] [mailto:[email protected]] Sent: Mon 3/22/2010 10:45 AM To: User support, suggestions, questions,and comments welcome Subject: Re: [brlcad-users] Load mged script from command line I got it to work Thanks ------Original Message------ From: Christopher Sean Morrison To: User support, suggestions, questions, and comments welcome ReplyTo: User support, suggestions, questions,and comments welcome Subject: Re: [brlcad-users] Load mged script from command line Sent: Mar 22, 2010 9:56 AM On Mar 22, 2010, at 9:25 AM, Harris, Rob B NSWCDL G 24 wrote: > version 7.14.8 for windows. > I am trying to create a new .g file and load a script from the > command line. He script file contains simple geometry creation > commands. In older versions of BRL-CAD for windows the dos command > was: mged model.g < script.txt > Is there a similar command sequence for 7.14.8? Depending on the geometry creation commands, that same command sequence should still work. Unless a bug was introduced, any differences should be limited to changes to the commands themselves (presuming you upgraded from something predating the 7.14 line). If you're not seeing this, please do file a bug report with more details. https://sourceforge.net/tracker/?func=add&group_id=105292&atid=640802 Cheers! Sean ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ BRL-CAD Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-users Sent from my Verizon Wireless BlackBerry ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ BRL-CAD Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ BRL-CAD Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-users
