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 ------------------------------------------------------------------------------ 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 brlcad-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-users