[brlcad-tracker] [ brlcad-Bugs-3159020 ] g2asc not compatible with asc2g
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2011-01-16 06:05:30
|
Bugs item #3159020, was opened at 2011-01-15 21:31 Message generated for change (Comment added) made by brlcad You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=3159020&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 Conversion Group: None Status: Open Resolution: Accepted Priority: 7 Private: No Submitted By: John Anderson (johnranderson) Assigned to: Nobody/Anonymous (nobody) Summary: g2asc not compatible with asc2g Initial Comment: g2asc puts the region id color table in the global object, but also adds "color" commands (that would do the same thing). asc2g does not support the "color" command. Either the color commands should be eliminated from g2asc, or asc2g should support the "color" command. I would just remove the "color" commands from g2asc, but I'm not certain why they were added in the first place. Is there a reason for this duplication? This behavior can be reproduced by: g2asc ktank.g tmp,asc asc2g tmp.asc tmp.g ---------------------------------------------------------------------- >Comment By: Sean Morrison (brlcad) Date: 2011-01-16 06:05 Message: Forgot to mention that I did confirm that this bug exists in 7.16.10 and still exists on HEAD 7.18.1 as of r42314 using your ktank example. ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2011-01-16 06:00 Message: I presume this is a rhetorical question? :) Looking through the revision history, it used to be a "db color" command, but you changed it to the "color" command (r20965 22 Oct 2001). You also apparently implemented the original colortable support too earlier that same month (r20865 5 Oct 2001). http://brlcad.svn.sourceforge.net/viewvc/brlcad?view=revision&revision=20865 That said, asc2g lists "color" as one of the valid commands (line 80) so I think the failure shown by your g2asc+asc2g example is some other bug... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=3159020&group_id=105292 |