Up    Next

kcycle - kaleidocycle rings of polyhedron

Usage    |    Examples    |    Notes

Usage

Synopsis

kcycle [options] [hinge_vertex_idxs]

Description

Create a stage of a kaleidocycle rotation in OFF format. A kaleidocycle, using the term generally, is a symmetric ring of polyhedra, each polyhedron joined by two hinges.

Options

hinge_vertex_idxs
Four numbers separated by commas. The first two numbers specify the first hinge. They are the index numbers (starting from 0) of the vertices of the hinge, which will normally be an edge of the polyhedron. The third and fourth numbers specify the second hinge (default: only if option -i not used, 0,1,2,3).

-h
program help

-a <ang>
angle in degrees to rotate the first hinge from horizontal (default: 0.0)

-n <num>
number of pairs of polyhedra in cycle (default: 6)

-i <file>
input file in OFF format. If '-' then read file from stdin. (default: a tetrahedron with hinge_vertex_idxs 0,1,2,3)

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

Examples

Tetrahedron kaleidocycle rotated 40 degrees from horizontal
  kcycle -a 40 > kc_tet_90.off
Ring of 16 icosahedra, each given a proper coloring, rotated 90 degrees, and displayed in antiview
   unipoly ico | off_color -f P | kcycle -i - -n 8 -a 90 0,1,10,11 | antiview -v 0.1

Notes

The ring has coinciding vertices. To display the vertices or edges in antiview or off2pov their size must be set manually using options -v or -e

Up: Programs and Documentation
Next: jitterbug - jitterbug transformation

Antiprism Documentation 10.11.2006 - http://www.antiprism.com/