BRL-CAD stores database into binary format. I am trying to store it in
text format. I have read that in binary .g file information is stored
as Header, Title of database, Units, Objects, Matter, Combination etc.
and in last Footer. There is g2asc which converts binary data into ASC
but when I use command "g2asc .g_file_name .asc_file_name", it doesn't
write Header, Footer and other contents which are in binary file.
Is there any way to get or store our brl-cad's .g into text format? I
have searched brlcad's directory, there are many flex and bison file
that are used for parsing the binary file, can they help me in doing this?

Which function( location ) is used for reading binary data and store
them into memory? How can I read data and then store all the binary
information into text form without doing any conversion?


Gurwinder Singh Bains
http://gurwindersinghbains93.wordpress.com

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to