M(nged)
Send an mged mouse event
π M(nged) β the send-an-mged-mouse-event page π±οΈβ¨
okay bestie, welcome to the M page from the BRL-CAD User Commands manual β she's short, she's sweet, and she literally moves your view around, no cap π
β¨ NAME β¨
M β send an mged mouse event π±οΈπ
πΈ SYNOPSIS πΈ
M {1/0} {xpos ypos}
π¦ DESCRIPTION π¦
So here's the vibe: M sends an mged mouse event β and yes, it defaults to a middle mouse button event, iykyk π±οΈβ¨
The first argument tells it whether the event should be a button press (1) or a release (0). Super simple, she's not complicated π
Then xpos and ypos are the mouse position in mged screen coordinates, and they live between -2047 and +2047 β that's the whole range, don't try to be extra π«Ά
With the default bindings, an mged mouse event while you're in viewing mode moves the view so that the point currently sitting at screen position (xpos,ypos) gets repositioned to the center of the mged display β literally compare it to the center command, they're besties π
And the plot twist? M can also be used in other editing modes to simulate an mged mouse event. versatile icon behavior, honestly π
π EXAMPLES π
Translate the point at specified screen coordinates to the center of the display. periodt.
Example 1. Translate the point at screen coordinates (100,100) to the center of the mged display.
mged> M 1 100 100
and the result, bestie:
The point at screen coordinates (100,100)is repositioned to the
center of the display.
(yes the original is missing a space there, I'm not gonna gaslight you, that's just how she's written ππ)
π AUTHOR π
BRL-CAD π«Ά
π BUG REPORTS π
Found something cursed? Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§ β they're literally waiting, don't be shy πΈ
and that's the whole page, bestie, we ate and left zero crumbs πβ¨ this was BRL-CAD's BRL-CAD User Commands manual, page M(nged) β and ngl there's no date on this one, so we're just gonna have to vibe check it into the void ππ see you in the next manpage ππ
π¦ 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