SIF Applications Man Page

Last Updated 11/23/98


Links


Contents


Introduction

All of the SIF applications can be found in the appropriate /project/cs/sequin/caffe/sif/bin/SYSTEM/$OS directory. The OS environment variable should be set in your .cshrc file in the following way:

set OS `uname`

Then with OS set, the shared SIF bin directory should be added your environment's search path.


viewer

viewer [-f tcl_file] [-Idata_file_include_directory]* [-o{sif|dsg|stl|ug}] [-of output_file] [-i{sif|dsg|stl|ug}] -if input_file

The viewer program is an OpenGL and Tcl/Tk based application which allows the user to interactively view 3D parts which are described by .sif, .dsg, .stl, and (simple) .ug files.

Command Line Options

Option Description
-f tcl_file Specifies the tcl file which will specify the look and feel of the UI. The default file /project/cs/sequin/caffe/sif/sifview/test/exec.tcl will be used if this is not specified.
-Idata_file_include_directory Specifies another directory to add to the end of the search path for data files. The default search path is the current directory.
-o{sif|dsg|stl|ug} Specifies which data format should be used for outputting the part. The default is sif. If no output format and no output file are specified then it will not output anything.
-of output_file Specifies the name of the output file. The default is stdout.
-i{sif|dsg|stl|ug} Specifies the data format of the input file. This should only be necessary if the data file does not have one of the standard suffixes {.sif | .dsg | .stl | .ug}.
-if input_file Specifies the manditory input file. The viewer will search the local directory and then all the directories in the search path to find it. The same search will be applied to all include file statements within the data file.

gsif

gsif [-Idata_file_include_directory]* [-o{sif|dsg|stl}] [-of output_file] [-i{sif|dsg|stl|ug}] input_file

The gsif program was named because it is a Unix command line program which has an interface which was modelled after gcc. gsif is not a GNU application. gsif is a batch style program for compliling, converting, and pretty printing a selected set of solid model description languages {.sif | .dsg | .stl | .ug}.

Currently Supported Formats

Future Supported Formats

Command Line Options

Option Description
-Idata_file_include_directory Specifies another directory to add to the end of the search path for data files. The default search path is the current directory.
-o{sif|dsg|stl} Specifies which data format should be used for outputting the part. The default is sif.
-of output_file Specifies the name of the output file. The default is stdout.
-i{sif|dsg|stl|ug} Specifies the data format of the input file. This should only be necessary if the data file does not have one of the standard suffixes {.sif | .dsg | .stl | .ug}.
input_file Specifies the manditory input file. The viewer will search the local directory and then all the directories in the search path to find it. The same search will be applied to all include file statements within the data file.