ZOOM(nged)

zoom the view in or out by a scale factor

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… ZOOM(nged) β€” a BRL-CAD MGED Commands moment ✨

πŸŽ€ NAME πŸŽ€

zoom β€” zoom the view in or out by a scale factor. No cap, that’s literally the whole vibe. πŸ’–

🌸 SYNOPSIS 🌸

zoom scale_factor

✨ DESCRIPTION ✨

Okay so zoom does its main-character thing by multiplying the apparent size of displayed objects β€” technically, it divides the current view scale by the scale_factor you give it. πŸ’…

  • A scale_factor greater than 1 zooms in β€” objects appear larger. πŸ”
  • A scale_factor between 0 and 1 zooms out β€” objects appear smaller. πŸ¦‹

The view scale is clamped at a minimum value to prevent the view from collapsing to zero. scale_factor must be a positive, finite number; values that are zero, negative, or infinite return an error. ⚠️

Exactly one argument is required. Periodt. 🫢

πŸŽ€ EXAMPLES πŸŽ€

The example shows the use of the zoom command to reduce the size of the viewing cube by half.

Example 1. Reduce the size of the viewing cube by half.

mged>zoom 2

Reduces the size of the current viewing cube by half (effectively doubling the size of objects in the display). Iconic behavior, honestly. ✨

πŸ’œ AUTHOR πŸ’œ

BRL-CAD Team

πŸ“¬ BUG REPORTS πŸ“¬

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Do not gatekeep the bug reports, bestie. πŸ’Œ


πŸ’– Signing off from BRL-CAD / ZOOM(nged) β€” the original footer didn’t give a date, so this cutie stays undated. 🫢

πŸ“¦ where this page comes from