man(1) Manual page archive


     POLY(7)                     (bowell)                      POLY(7)

     NAME
          polypic, polypr - database of polyhedra

     SYNOPSIS
          polypic [ -phfis ] solid ...
          polypr [ -cfhnpsifile ] solid ...

     DESCRIPTION
          Polypic outputs a picture of the planar nets for the speci-
          fied solids in plot(5) format.  The options are:

          -f   Print the face numbers.

          -h   Print the hinge numbers.

          -ifile
               Use file instead of the normal database.

          -s   Produce an orthogonal view of the 3D solid rather than
               the net.

          -p   Produce pic(1) output.

          Polypr gives more general access to the data.  By default,
          all the data is output.  If no solid is specified, all the
          solids in the database are output.  The options are:

          -n   Print only the database index number and the name.

          -h   Print only a header line with name and number of faces
               and hinges.

          -f   Print only the data for the flat net.

          -s   Print only the data for the 3D solid.

          -ifile
               Use file instead of the normal database.

          -c   Produce output for Tom Duff's polygon renderer (implies
               -s).

          -p   Produce useful parameters for a perspective view;
               implies -c.

          For both polypic and polypr, the solid may be specified by
          either its index number or by any prefix of the name.  Ambi-
          guities are resolved by database order.

     FILES

     POLY(7)                     (bowell)                      POLY(7)

     SEE ALSO
          plot(1), poly(5)
          A. G. Hume, `Exact Descriptions of Regular and Semi-regular
          Polyhedra and Their Duals' Computing Science Technical
          Report 130, AT&T Bell Laboratories, November, 1986

     BUGS
          Not all the polyhedra have valid 3D data.
          Option -s doesn't work yet.