
% knotplotrc file

% August 11, 1995
% Rob Scharein

% This is the knotplotrc file.  When KnotPlot starts up it looks for
% a resource file in the following sequence.  The first one it finds it
% loads and then stops looking:

%  knotplotrc   in the current directory
%  .knotplotrc  in the current directory
%  .knotplotrc  in your home directory (defined by the HOME environment variable)
%  knotplotrc   in the resource directory (this file)

% Put a .knotplotrc file in your HOME directory if you want to customize 
% KnotPlot for every session you do.

% If you're working on a specific project, it is often useful to have a special
% purpose knotplotrc in the directory you're working in.  That way KnotPlot is
% customized for that project in that directory only, and it'll behave normally
% when run from other directories. 

% Any KnotPlot command may be put in these files.  The following example is 
% simply the default.  This example does nothing other than bind function keys.
% But it is possible to load knots, set parameters, or whatever you want.



% The following commands bind operations to the function keys F1 thru F12

%function 1 delifstereo: knot 1
%function 2 delifstereo: knot 2
%function 3 delifstereo: knot 3
%function 4 delifstereo: knot 4
%function 5 dbuffer
%function 6 sbuffer
%function 7 mode o: cheapo: cyl = .9: aftwist = on
%function 8 mode s: aftwist = off: nseg = 12: ncur=2: cyl = .9

% The next two commands are useful when painting.

%function 5 <stereo-init-paint
function 5 <stereo-demos
function 6 go 102
function 7  sbuff: clrfun zf: disp: disp
function 8 clrfun 1


% The following commands bind operations to the function keys F1 thru F12
% when the LEFT SHIFT key is pressed.

sfunction 1 back = 0: backface t: zbuff f: blend one one
sfunction 2 4dsm=0: spin r r r 
sfunction 3 4dsm=1: spin r r r 
sfunction 4 4dsm=2: spin r r r
sfunction 5 4dsm=3: spin r r r
sfunction 6 smovie -40  r3 r3 r3
sfunction 7 back=0:backf f:zbuff f: cyl =-5:blend one one
sfunction 8 backf t:zbuff t: cyl = .9: blend sa msa
sfunction 9 aftwist = t: doublebuffer: mode o
sfunction 10 aftwist = f: mode s
sfunction 11 back f: zbuff t: blend sa msa
sfunction 12 load gumby

% The following commands bind operations to the function keys F1 thru F12
% when the RIGHT SHIFT key is pressed.

rsfunction 5 !wrl /grads/scharein/pix/leopard.spun0
rsfunction 4 !wrl /grads/scharein/pix/hod-spun0
rsfunction 3 !wrl /grads/scharein/pix/hod2-spun0
rsfunction 2 !wrl /grads/scharein/pix/spun0
rsfunction 1 !wrl /grads/scharein/pix/knot.pix
rsfunction 9 !rleload /grads/scharein/pix/lindisfarne.rle
rsfunction 10 !rleload /grads/scharein/pix/cyan/knotf.rle
rsfunction 6 smovie -40  r10 r10 r10
rsfunction 11 backg=0x444444: spe: cyl=.9: mode s
rsfunction 12 delifstereo: rot unit: load gumby

rsfun 7  hcmono t
rsfun 8  hcmono f


func 11 load celt9a.12
func 10 load celt5
func 9 load brunnian6f.41
function  12 load F12-demo






