The Analyzer and Slicer program
Location
The slicer/analyzer is available locally as /project/cs/sequin/caffe/sif/bin/SYSTEM/`uname`/slicer (versions compiled for IRIX and Linux are current).
The Linux executable is temporarily available for download at ftp://ftp.cs.berkeley.edu/ucb/projects/unigrafix/slicer.debug.
Man page
Usage: slicer options file
- -a: Run the analyzer/vertex merger program. Checks whether part
is a 2-manifold or a pseudo-2-manifold, calculates bounding box,
and prints number of faces, edges and their uses, vertices and their order.
- -e epsilon: Epsilon used for vertex merging in the analyzer.
We only try to merge vertices that are endpoints of
unmatched edges. If unspecified, uses fraction of
shortest edge length.
- -t slice_thickness: Must specify the slice thickness to run the slicer.
Specify -a to analyze and merge vertices before slicing.
- -v x y z: To change the slicer's up vector from the +Z axis.
- -s scale factor: To apply uniform scaling to the object to be sliced.
- -p precision: To change the precision in the generated LSIF slice files.
- -m: To build the LEDS using the out-of-core algorithm (useful for large input files).
- -of outputfile: To specify output file name for LSIF slice file.
- -i {sif | stl}: To specify input file type.
Example analyzer output
> slicer -a part.stl
Part is 2-manifold.
Shell is 2-manifold with genus 0.
Bounding Box Info:
Min X = -2.500000, Max X = 1.500000
Min Y = -2.000000, Max Y = 2.000000
Min Z = 0.000000, Max Z = 3.000000
13 vertices.
9 vertices have order 4.
3 vertices have order 7.
1 vertices have order 9.
33 edges.
33 edges have 2 faces adjacent.
22 faces.
Additional visualizations of slicer output
(Cow model courtesy of Clemson University's STL repository. Dragon data courtesy of the Stanford 3D scanning repository.)
This page is maintained by
Sara McMains
E-mail: sara@cs.berkeley.edu
Last modified: 10/11/01
This page was designed and tested under Netscape using common HTML constructs.
No browsers are blocked from viewing this page.
Please send mail to the maintainer of this page if you find any broken links
or errors in the page construction.
|