Up
Next
polygon - polygon based polyhedra
polygon [options] num_sides
Make polyhedra based on polygons - polygons, prisms, antiprisms,
pyramids and dipyramids.
- num_sides
- number of sides of the polygon base
- -h
- program help
- -t <type>
- polyhedron type, can be polygon, prism (default), antiprism, pyramid
or dipyramid. Type can be abreviated to three letters.
- -e <edge>
- edge length of polygon (default: 1)
- -l <hgt>
- height (default is radius of polygon for prism, antiprism and
pyramid, diameter for dipyramid, and 0 for polygon)
- -o <file>
- write output to file, if this option is not used
the program writes to standard output
A cube with edges of 2 units
polygon -t pri -e 2 -l 2 -o cube.off 4
A hexagonal based pyramid
polygon -t pyr -o hex_pyramid.off 6
Up:
Programs and Documentation
Next:
poly_kscope - polyhedral kaleidoscope
Packinon Documentation 14.6.2005 -
http://packinon.sourceforge.net/