Antiprism Up Next
Home
Programs
Examples
Album
Download
Project
Forum
About

waterman - Waterman polyhedra

Usage    |    Examples    |    Notes

Usage

Synopsis

Usage: waterman [options] lattice

Description

Make Waterman polyhedra using a sphere-ray intersection method.

Options

lattice
Lattice can be SC, FCC, or BCC

-h
program help

-r <r,n>
clip radius. r is radius taken to optional root n (default n=1), n=2 uses the square root of r.

-q <cent>
center of lattice, in form x_val,y_val,z_val (default: origin)

-m <method>
method can be 1 - sphere-ray intersection (default), 2 - z guess

-t
disable computational error testing for sphere-ray method

-v
verbose output (on computational errors)

-y <lim>
minimum distance for unique vertex locations as exponent 1e-lim (default: 12 giving 1e-12)

-o <file>
write output to file, if this option is not used the program writes to standard output

-C <hull>
hull can be c - convex hull only (default), i - keep interior, s - supress

-V <col>
vertex colour, in form R,G,B,A (three or four values 0.0-1.0, or 0-255)

-E <col>
edge colour (if convex hull), in form R,G,B,A (three or four values 0.0-1.0, or 0-255)

-F <col>
face colour (if convex hull), s - by symmetry using indexes, S - by symmetry using values

-T <tran>
face transparency, in range 0 (invisible) to 255 (opaque)

Examples

Make a Root 10 Waterman polyhedron
    waterman -r 10,2 fcc | antiview

Make a Root 100 Waterman polyhedron, with symmetrically coloured faces

    waterman -r 100,2 fcc -F S | antiview

Make a Root 100 Waterman polyhedron centred on an octahedron centre, with symmetrically coloured faces

    waterman -q 0.5,0.5,0.5 -r 100,2 fcc -F S | antiview

Notes

waterman was written by Roger Kaufman (with contributions by Adrian Rossiter.)

For more details about these polyhedra see Waterman Polyhedra on Steve Waterman's site.

The program uses an efficient algorithm that makes it suitable for calculating Waterman polyhedra up to root 1,000,000 and more.


     Next: zono - zonohedra from OFF files
     Up: Programs and Documentation


Home   |   Programs   |   Examples   |   Album   |   Download   |   Project   |   Forum   |   About

Contact: adrian@antiprism.com      -      Modified 7.12.2008