PRESS(nged)
Simulates the pressing of a button.
π 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 forae 0 0).leftβ switches to view from the left (synonym forae 90 0).rearβ switches to view from the rear (synonym forae 180 0).rightβ switches to view from the right (synonym forae 270 0).bottomβ switches to view from the bottom (synonym forae -90 -90).topβ switches to view from the top (synonym forae -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 forzoom 2. πzoomoutβ zooms out, synonym forzoom 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
- 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