Ok, so I had an idea to try hiding any shapes, drawing only the shape-of-interest, then editing it... and it seemed to work!
But that still begs the question, why did I get variable outcome when feeding the same script in, via command-line vs copy-paste into GUI? On Mon, Dec 26, 2016 at 4:31 PM, Nathan McCorkle <[email protected]> wrote: > I have a BRLCAD TCL generator I wrote in Python, which generated some > TCL for MGED... but it seems when I run the script on mged from the > command-prompt, it looks bad... but when I run it from the MGED GUI > (open a new database, then open the script in a text editor and > select-all, copy, then paste into MGED and press enter) it looks fine. > > This is really weird. I even just now tried instead of passing the > script like this (mged newg.g < my_script.tcl) to (mged -a attach -c) > then (opendb newg.g) and then feeding the text. But that still gives a > weird output. > > Here are two images of the output, first the weird, then the expected: > http://imgur.com/a/NogyN > > Here's the TCL: > http://pastebin.com/ZyLTRU57 > > Could it be something about not having a carriage return??? or mixing > between using a decimal and not using a decimal? This is really > stumping and annoying :/ > > Maybe I should try upgrading to 7.26 > > -- > -Nathan -- -Nathan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ BRL-CAD Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-users
