File: README

package info (click to toggle)
inventor 2.1.5-10-19
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,252 kB
  • ctags: 24,580
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 79; csh: 35; sed: 11
file content (29 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
This directory contains source code for two programs.

The first is 'ivToIncludeFile'
It is used for converting Inventor files into source code
that you can compile into a program.  This is useful if you want to model
an object, then use it as an object in your program.  (This has two 
advantages over reading from a file at runtime. First, there are no extra
files to read in that might potentially get lost.  Second, reading from a 
compiled in binary buffer is faster than reading from an external file).

Given the command line:

ivToIncludeFile foo <  myFile.iv > foo.h

the program will read in myFile.iv (binary or ascii) and write out the file
foo.h, with the following syntax:

const char foo[] = { blah blah blah };

where 'blah blah blah' is a hex version of the contents of myFile.iv, 
translated into binary.



The second program is 'testResults'
This program assumes you have used ivToIncludeFile to create a file
foo.h, containing a variable foo.
It reads the contents of foo under a Separator node and displays it
within an examinerViewer.