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
KNOB(nged) BRL-CAD User Commands KNOB(nged)

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

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

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:

x -- rate-based rotation about horizontal axis.

y -- rate-based rotation about vertical axis.

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

X -- rate-based translation in horizontal direction.

Y -- rate-based translation in vertical direction.

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

S -- rate-based Scale or Zoom.

ax -- absolute rotation about horizontal axis.

ay -- absolute rotation about vertical axis.

az -- absolute rotation about axis normal to screen.

aX -- absolute translation in horizontal direction.

aY -- absolute translation in vertical direction.

aZ -- absolute translation in direction normal to screen.

aS -- absolute Scale or Zoom.

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

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

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

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

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

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.

BRL-CAD Team

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
06/07/2022 BRL-CAD

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

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