SLEW(nged)
shift the view center by a vector in view space
π SLEW π
okay bestie, this is the nged page from BRL-CAD User Commands, and weβre talking about slew β the little shift of your view center that has serious main-character energy. π«Ά
β¨ NAME β¨
slew β shift the view center by a vector in view space. also answers to sv and vslew, iykyk. π
πΈ SYNOPSIS πΈ
slew x y [z]
slew "x y [z]"
sv x y [z]
vslew x y [z]
π¦ DESCRIPTION π¦
The slew command (also available as sv and vslew) shifts the view center by a displacement vector specified in view coordinates. The view is panned by the given amounts in X, Y, and optionally Z. This is distinct from setting an absolute view position β the displacement is relative to the current view center. periodt. π
The vector may be specified as two or three separate floating-point arguments, or as a single quoted space-separated string. In all cases, if the Z component is omitted or not provided in the string, it defaults to 0.0.
View coordinates are in normalized view space: (0, 0) is the view center, and the extents are typically Β±1 in each axis depending on the current view scale. Slewing by (1, 0) pans the view by one view-space unit to the right. slay. β¨
π Input forms π
slew x yorslew x y z: Three (or two) separate floating-point arguments. π¬slew "x y"orslew "x y z": A single quoted space-separated string of two or three values. π
π₯ EXAMPLES π₯
Example 1. Pan the view right and up
mged> slew 0.5 0.25
Shifts the view center 0.5 units to the right and 0.25 units upward in view space. Z defaults to 0. π
Example 2. Slew using the sv alias
mged> sv -0.1 0 0.05
Pans the view left by 0.1 and shifts it slightly toward the viewer (+Z in view space) by 0.05. Uses the short sv alias. π
Example 3. Slew using a quoted triplet
mged> slew "0.2 -0.3 0"
Shifts the view center using a single quoted string input β convenient for scripting. π§
π AUTHOR π
BRL-CAD Team β the whole squad. π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. please do that instead of suffering in silence, bestie π
source/version: BRL-CAD Β· date: not listed on this page Β· SLEW(nged) says bye, bestie π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms