antiprism-0.26

Up    Next
Antiprism

obj2off - convert a Wavefront OBJ file to OFF format

Usage    |    Examples    |    Notes

Usage



Usage: obj2off [options] [input_file]

Convert files in OBJ format to OFF format. Only v, e and f statements are
processed. If input_file is not given the program reads from standard input.

Options
  -h,--help this help message (run 'off_util -H help' for general help)
  --version version information
  -d <dgts> number of significant digits (default 16) or if negative
            then the number of digits after the decimal point
  -o <file> write output to file (default: write to standard output)


Examples

Convert a Wavefront OBJ file to OFF format
obj2off cube.obj > cube.off


Notes

Wavefront OBJ is a fairly common text-based graphics format. It may be useful as an intermediate format for importing OFF files into programs that do not support OFF.

Up: Programs and Documentation
Next: off_color - add colours to an OFF file