antiprism_addons-0.1

Up    Next
Antiprism Addons

stepview.py - Step through and view OFF or OBJ files in a directory

Usage    |    Examples    |    Notes

Usage


usage: stepview.py [-h] [-t {off,obj}] [-V {antiview,offview}] [-s SUBCOMMAND]
                   [-a ANTIARGS] [-v]

Step through and view off or obj files in a directory. Press ESC on the
antiview window to advance to the next model. Press CTRL-C on command shell
a few times to exit

Written by Roger Kaufman <polyhedrasmith@gmail.com>

options:
  -h, --help            show this help message and exit
  -t {off,obj}, --filetype {off,obj}
                        off or obj files (default: off)
  -V {antiview,offview}, --viewer {antiview,offview}
                        antiview or offview OFF viewer (default: antiview)
  -s SUBCOMMAND, --subcommand SUBCOMMAND
                        optional quoted string is an antiprism command that
                        can be inserted before sending to the viewer. ex.
                        "off_color -f L"
  -a ANTIARGS, --antiargs ANTIARGS
                        optional quoted string are arguments to be appended to
                        the viewer. hint: because of python hyphen bug, use an
                        equal sign, ex. -a="-v 0.02 -s a"
  -v, --verbose         view procedure calls

Examples

In a file containing OFF files, step through and view them
stepview.py


In a file containing OBJ files, step through and view them
stepview.py -t obj


In a file containing OFF files, step through and view them. Passthem through off_color -f L (lighting options), and tell antiview the diameter of the vertices with -v, display symmetry elements with -a and use a gray background
stepview.py -s "off_color -f L" -a="-v 0.02 -s a -B gray"


Notes

stepview was developed by Roger Kaufman.

Up: Programs and Documentation
Next: trapstel.py - Make a Trapezohedron that is both dual and stellation to an antiprism