PRESS(nged)

Simulates the pressing of a button.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… PRESS(nged) β€” bestie's guide to fake-pressing buttons

okay so real talk, this is the press page out of the BRL-CAD User Commands manual, and honestly it's giving "secret shortcut menu that nobody told you about" energy. let's get into it 🫢


✨ NAME ✨

press β€” literally simulates the pressing of a button. that's it. that's the whole job. iconic. πŸ’…


✨ SYNOPSIS ✨

press {button_label}

you hand it a button_label and it's like "say less, pressing that button for you." πŸŽ€


🌸 DESCRIPTION 🌸

so press simulates the pressing of a button β€” no cap. and here's the tea: all of these button actions can be run directly as a command too. so press is lowkey just the vibe-translator for things you could type yourself. πŸ¦‹

the button_label tells it which button to simulate. the available buttons are, in order:

  • help β€” drops you a list of the available button_labels. the "who dis" of buttons. πŸ™ˆ
  • 35,25 β€” switches to a view from an azimuth of 35Β° and an elevation of 25Β°. ✨
  • 45,45 β€” switches to a view from an azimuth of 45Β° and an elevation of 45Β°. also ✨
  • accept β€” simulates the accept button (accepts edits and writes the edited object to the database). committing? we love to see it. πŸ’–
  • reject β€” simulates the reject button (discards edits). not me hitting this after a bad edit 😭
  • reset β€” resets view to top and resizes such that all displayed objects are within the view. cleans up your whole life. πŸ”₯
  • save β€” remembers the current view aspect and size. memory unlocked 🧠✨
  • restore β€” restores the most recently saved view. the comeback era πŸ‘‘
  • adc β€” toggles display of the adc.
  • front β€” switches to view from the front (synonym for ae 0 0).
  • left β€” switches to view from the left (synonym for ae 90 0).
  • rear β€” switches to view from the rear (synonym for ae 180 0).
  • right β€” switches to view from the right (synonym for ae 270 0).
  • bottom β€” switches to view from the bottom (synonym for ae -90 -90).
  • top β€” switches to view from the top (synonym for ae -90 90).
  • oill β€” enters object illuminate mode. πŸ’‘
  • orot β€” enters object rotate mode (must already be in matrix edit mode).
  • oscale β€” enters object scale mode (must already be in matrix edit mode).
  • oxscale β€” enters object scale (x-direction only) mode (must already be in matrix edit mode).
  • oyscale β€” enters object scale (y-direction only) mode (must already be in matrix edit mode).
  • ozscale β€” enters object scale (z-direction only) mode (must already be in matrix edit mode).
  • oxy β€” enters object translate mode (must already be in matrix edit mode).
  • ox β€” enters object translate (horizontal only) mode (must already be in matrix edit mode).
  • oy β€” enters object translate (vertical only) mode (must already be in matrix edit mode).
  • sill β€” enters solid (i.e., primitive) illuminate mode. πŸ’‘ but for solids.
  • sedit β€” (deprecated) enters primitive edit mode. she's retired bestie πŸ’€
  • srot β€” enters solid (i.e., primitive) rotate mode (must be in primitive edit mode).
  • sscale β€” enters solid (i.e., primitive) scale mode (must be in primitive edit mode).
  • sxy β€” enters solid (i.e., primitive) translate mode (must be in primitive edit mode).
  • zoomin β€” zooms in, synonym for zoom 2. πŸ”
  • zoomout β€” zooms out, synonym for zoom 0.5. πŸ” but backwards.
  • rate β€” toggles between rate and absolute mode for knobs and sliders. πŸŽ›οΈ
  • edit β€” (deprecated) toggles between edit and view modes for knobs and sliders (useful during editing to allow the knobs and sliders to be used for either editing operations (in edit mode) or to adjust the view without affecting the edited object (in view mode)). yes that is the whole parenthetical, i'm not cutting a single word of it. πŸ’€
ngl the "must already be in matrix edit mode" / "must be in primitive edit mode" bits are not a suggestion β€” if you're not already in that mode, these buttons aren't gonna save you. read those caveats fr fr. πŸ™

πŸ¦‹ EXAMPLES πŸ¦‹

the example shows the use of the press command to view the object from the top direction.

Example 1. View from the top direction.

mged>press top

switches to view from the top direction. main character view, honestly. πŸ‘‘βœ¨


🌈 AUTHOR 🌈

BRL-CAD Team β€” the legends behind all of this. 🫢


πŸ’œ BUG REPORTS πŸ’œ

found a bug? a problem? a whole mess? reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. don't be shy, they wanna know. πŸ“§βœ¨


okay bye bestie, go press some buttons πŸ’… β€” this has been PRESS(nged) from BRL-CAD, and that's the whole page, periodt. πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from