Up    Next

off_align - alignment of OFF files

Usage    |    Examples    |    Notes

Usage

Synopsis

off_align [options] input_files

Description

Read a file in OFF format (the base) and use its vertices to position copies of itself or another file in OFF format (the brick).

Options

input_file
input file in OFF format, or if not given the program reads from stdin

-h
program help

-p <pts>
two, four or six points given as the vertex index number in the OFF files (starting at 0), and separated by commas. The brick points are all given first and then the base points. Formats:

-b <file>
brick file (default: base file)

-M <mrg>
merge files. 0 (default) don't merge, 1 brick after base, 2 brick before base

-o <file>
write output to file, if this option is not used the program writes to standard output

Examples

Bond first three vertices of poly1.off to first three vertices of poly2.off and merge them, in that order, in the output
   off_align -M 2 -p 3,5,0,5,3,0 -b poly1.off poly2.off

Notes

This can be used to build larger structures using polyhedra as bricks.

Up: Programs and Documentation
Next: off_util - utilities for OFF files

Packinon Documentation 14.6.2005 - http://packinon.sourceforge.net/