[brlcad-tracker] [ brlcad-Bugs-2278192 ] mged idents command on Windows
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2008-11-13 20:34:00
|
Bugs item #2278192, was opened at 2008-11-13 19:44 Message generated for change (Comment added) made by brlcad You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=2278192&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: Geometry Editing Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Lee Butler (lbutler) Assigned to: Nobody/Anonymous (nobody) Summary: mged idents command on Windows Initial Comment: running idents seemd to have changed. start with a new geometry file. mged> in box rpp 0 1 0 1 0 1 mged> r box.r u box mged> in ball sph 0 0 0 1 mged> r ball.r u ball mged> g all box.r ball.r mged> idents idents.txt all On 7.10.4 under linux I get: 1 -8 Summary Table {idents} (written: Thu Nov 13 14:39:30 2008) 2 -7 file name : simple.g 3 -6 4 -5 5 -4 user : Lbutler 6 -3 target title : Untitled BRL-CAD Database 7 -2 target units : mm 8 -1 objects : all 1 1001 0 1 100 /all/ball.r: 2 1000 0 1 100 /all/box.r: * 9999999 * 9999999 * 9999999 * 9999999 * 9999999 1 -8 Summary Table {idents} (written: Thu Nov 13 14:39:30 2008) 2 -7 file name : simple.g 3 -6 4 -5 5 -4 user : Lbutler 6 -3 target title : Untitled BRL-CAD Database 7 -2 target units : mm 8 -1 objects : all 2 1000 0 1 100 /all/box.r: 1 1001 0 1 100 /all/ball.r: * 9999999 * 9999999 * 9999999 * 9999999 * 9999999 Whereas running under Windows with 7.13.0 produced: mged> idents idents.txt all 1 -8 Summary Table {idents} (written: Thu Nov 13 14:27:59 2008) 2 -7 file name : N:/simple.g 3 -6 4 -5 5 -4 user : Lbutler 6 -3 target title : Untitled BRL-CAD Database 7 -2 target units : mm 8 -1 objects : box.r ball.r 1 1000 0 1 100 /box.r: 2 1001 0 1 100 /ball.r: * 9999999 * 9999999 * 9999999 * 9999999 * 9999999 Running idents prints information about running "sort" and "cat" which don't exist on Windows. That is most likely the problem. ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2008-11-13 20:33 Message: It's a wonder that it works at all on Windows. There's a lot of unixisms in the 'idents' command. There are similar issues with the 'solids' and 'regions' commands because they all run through f_tables(). Manually creates temporary files in /tmp, relies on cat and sort for some bizarre reason, and hasn't changed in years. Probably only works for Bob because of cygwin. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=2278192&group_id=105292 |