Utilities

Section: Misc. Reference Manual Pages (-)
Updated: General
Index Return to Main Contents

 6 "IRIT Version 6.0"   

NAME

Utilities - General Usage

The IRIT solid modeler is accompanied by quite a few utilities. They can be subdivided into two major groups. The first includes auxiliary tools such as illustrt and poly3d-h. The second includes filters such as irit2ray and irit2ps.

All these tools operate on input files, and most of the time produce data files. In all utilities that read files, the dash ('-') can be used to read stdin.

Example:


 poly3d-h solid1.dat | irit2ps - > solid1.ps

All the utilities have command line options. If an option is set by a '-x' then '-x-' resets the option. The command line options overwrite the settings in config files, and the reset option is useful for cases where the option is set by default, in the configuration file.

All utilities can read a sequence of data files. However, the last transformation matrices found (VIEW_MAT and PRSP_MAT) are actually used.

Example:


 poly3d-h solid1.dat | x11drvs solid1.dat - solid1.mat 

x11drvs will display the original solid1.dat file with its hidden version, as computed by poly3d-h, all with the solid1.mat, ignoring all other matrices in the data stream.

Under unix, compressed files with a postfix ".Z" will be automatically uncompressed on read and write. The following is legal under unix,


 poly3d-h solid1.dat.Z | x11drvs solid1.dat.Z - solid1.mat

where solid1.dat.Z was saved from within IRIT using the command


 save( "solid1.dat.Z", solid1 );

or similar. The unix system's "compress" and "zcat" are used for the purpose of (un)compressing the data via pipes. See also SAVE and LOAD.


 

Index

NAME

This document was created by man2html, using the manual pages.
Time: 07:28:30 GMT, July 20, 2024