On May 11, 2017, at 02:17 PM, Shubham Rathore <shubhamrathore1...@gmail.com>
wrote:
Is it possible to retrieve all the primitives along with the parameters from a ".g
" file.
I'm not sure what you mean. If you have a .g file with all the primitives in it, then yes you
absolutely could retrieve them all and their parameters. The "l" and "get"
commands list parameters for primitives that exist, for example.
However, I think you're asking whether there is a way to get a list of all
primitives possible and their parameters. Yes?
For that, make sure you've seen the appendix in
http://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf in case that's what
you're after. It's not all of them, but it's most.
To get a dynamic list, that's a lot more tricky and the "practical" answer is that you
cannot currently -- at least not a complete list. That would be a simple addition someone could
implement. Otherwise, the "make" command is probably the closest which reports all
primitives that can be instantiated automatically.
Cheers!
Sean
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel