Up
Next
off_util - utilities for OFF files
off_util [options] input_files
Read one or more files in OFF format, combine them into a single file and
process it. Operations take place in the order they are listed below.
- input_files
- input files in OFF format, or if not given the program reads from standard input
- -h
- program help
- -M <elems>
- Sort and merge elements whose coordinates are the same to
the number of decimal places given by option -d, elems can
include v, e, or f to merge vertices, edges and
faces, or s to sort without merging (default: vef if option -l set)
- -l <lim>
- minimum distance for unique vertex locations as
exponent 1e-lim (default: 8 giving 1e-8, if option -M set)
- -O
- orient the faces (if possible), flip orientation if oriented
- -E
- turn edges into (non-planar) faces
- -s
- skeleton, write the face edges and remove the faces
- -x <elems>
- remove OFF face elements. The element string can include
v, e and f to remove OFF faces with one vertex (vertices),
two-vertices (edges) and three or more vertices (faces)
- -S
- project onto unit sphere centred at origin
- -d <dgts>
- number of significant digits for output (default 17) or if
negative then the number of digits after the decimal point
- -o <file>
- write output to file, if this option is not used
the program writes to standard output
Merge two file into a third
off_util -o file3.off file1.off file2.off
Option -E is like the join operation in Conway Notation.
The face sorting performed by option -M orients faces in
a particular way. Option -O will generally reorient some
of the sorted faces, and this will always be true if the input
is a polyhedron.
Up:
Programs and Documentation
Next:
off_report - report global measures maxima and counts
Antiprism Documentation 5.7.2007 -
http://www.antiprism.com/