GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  KNOB (n)

.ds Aq ’

NAME

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

CONTENTS

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

o

x -- rate-based rotation about horizontal axis.

o

o

y -- rate-based rotation about vertical axis.

o

o

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

o

o

X -- rate-based translation in horizontal direction.

o

o

Y -- rate-based translation in vertical direction.

o

o

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

o

o

S -- rate-based Scale or Zoom.

o

o

ax -- absolute rotation about horizontal axis.

o

o

ay -- absolute rotation about vertical axis.

o

o

az -- absolute rotation about axis normal to screen.

o

o

aX -- absolute translation in horizontal direction.

o

o

aY -- absolute translation in vertical direction.

o

o

aZ -- absolute translation in direction normal to screen.

o

o

aS -- absolute Scale or Zoom.

o

o

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

o

o

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

o

o

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

o

o

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

o

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.

Search for    or go to Top of page |  Section n |  Main Index


BRL-CAD KNOB (nged) 04/04/2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.