ivcat - concatenates and converts Open Inventor files.
ivCat is the simplest way to convert file to different header version file format, in order to get compatible files when converting back to 2.1 version for example, or to get better performance by converting to new 8.0 file format.
-b | Write out the files in binary Open Inventor format. The default is to write out the files in Open Inventor's ASCII format. |
-f | Remove all SoFile nodes. This has the effect of condensing hierarchical files into a single file. |
-h | Print usage message. |
-o file | Send the output to the given file, instead of to the standard output. |
-s header | allow to convert to a new or previous header string format. |
-t | Expand SoTexture2 nodes to explictly include the texture data rather than a file name. |
To convert from binary to ASCII Open Inventor:
ivcat binaryfile.iv > asciifile.iv
To convert from ASCII to binary Open Inventor:
ivcat -b asciifile.iv > binaryfile.iv
To convert to new 8.0 ASCII Open Inventor:
ivCat -s "#Inventor V8.0 binary" -o outputFile.iv inputFile.iv
To convert back to 2.1 ASCII Open Inventor:
ivCat -s "#Inventor V2.1 ascii" -o outputFile.iv inputFile.iv