[brlcad-tracker] [ brlcad-Support Requests-3426854 ] NIRT scriptfile
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2011-10-26 03:48:54
|
Support Requests item #3426854, was opened at 2011-10-21 11:33 Message generated for change (Comment added) made by brlcad You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640803&aid=3426854&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Analysis Group: None >Status: Closed Resolution: Fixed Priority: 6 Private: No Submitted By: Fred W () Assigned to: Sean Morrison (brlcad) Summary: NIRT scriptfile Initial Comment: Hello, I have to write a NIRT script file but I don't know how to create such a file. Does it have to have a specific extension ? I tried with a text file but it didn't work. Thank you for your help. ---------------------------------------------------------------------- >Comment By: Sean Morrison (brlcad) Date: 2011-10-26 03:48 Message: It sounds like you're running on Windows. Or at least your testscript was edited on Windows? Semicolons shouldn't change anything unless you are parsing a Windows-style text file. The input file needs to have unix-style line endings. That also explains the need to add .TXT because several text-editors on Windows (such as Wordpad and Notepad) automatically add that to file names and then don't display the extension. ---------------------------------------------------------------------- Comment By: Fred W () Date: 2011-10-24 07:30 Message: Thank you, finally it worked ! I had to use > nirt -s -f testscript.TXT ..... instead of > nirt -s -f testscript ...... Second thing I had to adapt, I had to put semicolons at the end of the command lines : #testscript dir 0 0 0; s; q; In the documentation, it is shown without the semicolons. Thank you. ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-10-22 22:43 Message: It shouldn't need a specific extension, it is just a text file. Have you read the NIRT tutorial? It's available at http://brlcad.org/wiki/Documentation If it doesn't work, please submit a bug report with your nirt script included as an attachment (along with whatever steps you're using). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640803&aid=3426854&group_id=105292 |