Hi Sean!
You gave me a suggestion to add an option to bot_dump command to output
surface normals. Now, the fact is, it already has one (a flag -n) to output
the normals when exporting to OBJ. I also found a message regarding it
pointing to brlcad/trunk/NEWS -- here it is :
http://ehc.ac/p/brlcad/mailman/message/23913956/
Now, the thing is, I tried running the command from MGED cmd to see if
there is an option to output normals before starting to venture out to have
a look at the code. And boom! I got this message : " Error: invalid command
name "bot_dump" "
I tried cleaning the compilation and ran make again. No luck yet.
I had a look at the code for bot_dump and ran it through Linux terminal
then and the command was working nicely.
One down, one more to go.
Hence, my task was now focused on finding how to add the command to MGED.
After a lot of journey, searching and running through call hierarchies in
the code (thanks to Eclipse for that), I found "setup.c" in mged directory
in src. Phew! I found the cmdtab there and added the command. And it works
now. :)
You can find more details about it here : brlcaddev.wordpress.com
I have uploaded the patch. Hoping to submit as many as I can before Monday.
:D
With Regards,
Kalpit Thakkar
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel