|
|
usage: offview.py [-h] [-v VERTEX_RADIUS] [-e EDGE_RADIUS]
[-x {v,e,f} [{v,e,f} ...]] [-l] [-V VERTEX_COLOR]
[-E EDGE_COLOR] [-F FACE_COLOR] [-B BACKGROUND_COLOR]
[-rot ROTATION_SPEED] [-rotax ROTATION_AXIS]
[-t TRANSPARENCY] [-url {number from 0 to 3}]
[-browser {number from 0 to 3}]
[-port {number from 0 to 65535}]
[-sleep from 1 to 3600 seconds] [--version]
[off_file]
View an OFF file with an online html browser OFF file viewer.
Written by Roger Kaufman <polyhedrasmith@gmail.com>
positional arguments:
off_file OFF file. can also be from standard input
options:
-h, --help show this help message and exit
-v VERTEX_RADIUS, --vertex_radius VERTEX_RADIUS
vertex sphere radius (range 0.0-1.0) (default: 0.03)
-e EDGE_RADIUS, --edge_radius EDGE_RADIUS
edge cylinder radius (range 0.0-1.0) (default: 0.02)
-x {v,e,f} [{v,e,f} ...], --hide_elements {v,e,f} [{v,e,f} ...]
hide elements. to hide vertices, edges and faces
-l, --black_edges paint edges black (overrides -V,-E) (default: use
defined colors)
-V VERTEX_COLOR, --vertex_color VERTEX_COLOR
vertex color override. hexadecimal value of length 6
or 8 or "invisible" (url 1,2)
-E EDGE_COLOR, --edge_color EDGE_COLOR
edge color override. hexadecimal value of length 6 or
8 or "invisible" (url 1,2)
-F FACE_COLOR, --face_color FACE_COLOR
face color override. hexadecimal value of length 6 or
8 or "invisible" (url 1,2)
-B BACKGROUND_COLOR, --background_color BACKGROUND_COLOR
background color. hexadecimal value of length 6 or
"invisible" (default: cccccc)
-rot ROTATION_SPEED, --rotation_speed ROTATION_SPEED
rotational speed (url 1,2) (default: 0)
-rotax ROTATION_AXIS, --rotation_axis ROTATION_AXIS
rotational axis as x,y,z (url 1,2) (default: 0,1,0)
-t TRANSPARENCY, --transparency TRANSPARENCY
face transparency. from 0 (invisible) to 1.0 (opaque)
(url 3 only) (default: 1.0)
-url {number from 0 to 3}, --url {number from 0 to 3}
url of online viewer, 0 to list (default: 1)
-browser {number from 0 to 3}, --browser {number from 0 to 3}
browser, 0 to list (default: 2)
-port {number from 0 to 65535}, --port {number from 0 to 65535}
port number for server (default: 8080)
-sleep from 1 to 3600 seconds, --sleep from 1 to 3600 seconds
time in seconds before server shutdown (default: 4)
--version show program's version number and exit
off_util geo_t3 | off_color -r A0.25 | offview.py
conway p^2sD | off_color_radial | offview.py -x v e
n_icons -n 32/8 -t 4 | offview.py
n_icons -n 48/12 -t 6 -z 3 -M 36,27 | offview.py -url 2
col_util -d 1 -m rand256 | offview -url 1 col_util -d 1 -m rand256 | offview -url 2
off_util uc5 | offview -x v e -url 3
off_util uc30 | offview -rot 1 -url 3
Up:
Programs and Documentation
Next:
x3dview.py - View VRML/X3D file with an online html browser VRML/X3D file viewer