Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KNOB(nged)		     BRL-CAD User Commands		    KNOB(nged)

NAME
       knob - Provides a method	for simulating knob input. With	no options, it
       will display the	current	values for the knobs.

SYNOPSIS
       knob [-e	-i -m -v] [[-o]	| [v] |	[m] | [e] | [k]] [[zap]	| [zero] |
	    [id	[val]]]

DESCRIPTION
       The knob	command	is used	internally by MGED in the processing of	knob
       input devices and is not	recommended for	users.	The knob command
       provides	a method for simulating	knob input. With no options, it	will
       display the current values for the knobs. With the
	zap or zero command provided, all the knob values will be reset	to
       zero. If	an id and valueare provided, the specified knob	setting	will
       be simulated. If	the -i option is specified, then the value provided
       will be used as an increment to be applied to the indicated knob. The
       knobs have different functions depending	on the current mode. For
       example,	if in primitive	or matrix edit mode and	a rotation or
       translation function is selected, the knob effects are applied to the
       edited object by	default. However, the -v (view coordinates) and	-m
       (model coordinates) options may be used to adjust the view without
       modifying primitives or matrices. The -e	option allows the knob effects
       to be applied to	the edited object when they would normally be applied
       to the view. The	-o option allows the origin of rotation	to be
       specified with v, m, e, and k, indicating view, model, eye, and
       keypoint, respectively. The units for value are degrees for rotation
       and local units for translation.	The available knob ids are:

       o    x -- rate-based rotation about horizontal axis.

       o    y -- rate-based rotation about vertical axis.

       o    z -- rate-based rotation about axis	normal to screen.

       o    X -- rate-based translation	in horizontal direction.

       o    Y -- rate-based translation	in vertical direction.

       o    Z -- rate-based translation	in direction normal to screen.

       o    S -- rate-based Scale or Zoom.

       o    ax -- absolute rotation about horizontal axis.

       o    ay -- absolute rotation about vertical axis.

       o    az -- absolute rotation about axis normal to screen.

       o    aX -- absolute translation in horizontal direction.

       o    aY -- absolute translation in vertical direction.

       o    aZ -- absolute translation in direction normal to screen.

       o    aS -- absolute Scale or Zoom.

       o    xadc -- absolute translation of adc	in horizontal direction
	   (screen coordinates -2048 to	+2048).

       o    yadc -- absolute translation of adc	in vertical direction (screen
	   coordinates -2048 to	+2048).

       o    ang1 -- absolute rotation of adc angle1 (degrees).

       o    ang2 -- absolute rotation of adc angle2 (degrees).

       o    distadc -- distance	setting	of the adc (screen coordinates -2048
	   to +2048).

EXAMPLES
       The example shows the use of the	knob command with the y	option to
       rotate a	view about the vertical	axis.

       Example 1. Rotate a view	about the vertical axis.

       mged> knob y 1
	   Starts the view rotating about the vertical axis.

AUTHOR
       BRL-CAD Team

BUG REPORTS
       Reports of bugs or problems should be submitted via electronic mail to
       <devs@brlcad.org>, or via the "cadbug.sh" script.

BRL-CAD				  07/08/2017			    KNOB(nged)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | AUTHOR | BUG REPORTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=knob&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help