VARS(nged)
With no arguments, will list all the MGED variables and their values.
π NAME π
vars β aka the VARS(nged) command, bestie β is your MGED variable queen. With no arguments, it lists all the MGED variables and their values. Periodt. β¨
πΈ SYNOPSIS πΈ
vars [variable=value]
π¦ DESCRIPTION π¦
Okay so picture this: you type vars with zero arguments, and it lists all the MGED variables and their values. No cap. If you include a variable=value string on the command line, then that value gets assigned to the specified variable. Tiny but crucial: no spaces are allowed around the =, okay? Like, none. The available variables are:
autosizeβ if nonzero, then MGED will set the view size whenever it draws to an empty display.rateknobsβ if nonzero, then the knobs and sliders act as rate adjustments; otherwise, they act as absolute adjustments.slidersβ if nonzero, the sliders are displayed.faceplateβ if nonzero, the MGED faceplate is displayed.orig_guiβ if nonzero, the viewing menu is displayed.linewidthβ indicates how wide to draw lines.linestyleβ set line style of wireframe shapes. Currently not being used.hot_keyβ the X11 keysym definition for the key to toggle thesend_keyvalue. The default is0xFFC6(65478 decimal), which is the F9 key. The keysym values are defined in the X11 file namedkeysymdef.h.contextβ if nonzero (the default), then primitive editing parameters entered via thepcommand will be applied to the edited shape in the context of the combination tree above it in the displayed hierarchy. This means, for example, a translation applied to a shape will translate the shape to some point such that when the transformation matrices for that path are applied, the edited shape will appear at the specified location. Ifcontextis set to zero, then the primitive edit operations will be applied directly to the edited shape. This means that a translation to a specific point may result in the edited shape being drawn at a point different from that specified (due to transformations in the combination tree above it). Note that this only affects primitive edit operations that use thepcommand.dlistβ if nonzero, use display lists.use_airβ if nonzero, use air while raytracing.listenβ if nonzero, listen for connections to MGED's built-infbserv.portβ port for the built-infbservto use.fbβ if nonzero, then framebuffer is active.fb_allβ if nonzero, use entire geometry window for the framebuffer; otherwise, use only the rectangular area.fb_overlayβ if nonzero, overlay framebuffer image over geometry; otherwise, draw geometry over the framebuffer image.mouse_behaviorβ see the following list of mouse behaviors:cβ fire ray for combination edit selection.dβ default behavior (i.e., as found in classic MGED).mβ fire ray for matrix edit selection.pβ paint rectangular area.qβ fire query rays.rβ raytrace rectangular area.sβ fire ray for primitive edit selection.zβ zoom rectangular area.
coordsβ see the following list of coordinate systems to use for transformations:mβ model coordinates.vβ view coordinates.oβ object coordinates.
rotate_aboutβ see the following list of centers of rotation:vβ view center.eβ eye.mβ model origin.kβ keypoint.
transformβ see the following list of things to transform:aβ transform the angle distance cursor if active; otherwise same asv.eβ apply transformations to the edit.vβ apply transformations to the view.
predictorβ if nonzero, the predictor frame will be displayed.predictor_advanceβ the number of seconds into the future to advance the predictor frame.predictor_lengthβ not currently used.perspectiveβ if greater than zero, this is the perspective angle in degrees; otherwise, perspective is turned off.perspective_modeβ if nonzero, turn perspective on; otherwise, turn it off.toggle_perspectiveβ used to toggle among the four canned perspective angles (i.e.,30,45,60, and90).nmg_eu_distβ when the-uoption to theevcommand is used, the NMG edgeuses are drawn this distance (mm) away from the actual edge.eye_sep_distβ if greater than zero, this is the eye separation distance (mm) for stereo viewing; otherwise, stereo is off.union_opβ not currently used.intersection_opβ not currently used.difference_opβ not currently used.
π EXAMPLES π
The example shows the use of the vars command with an argument.
Example 1. Display the sliders.
mged>vars sliders=1
Turns on the sliders.
π AUTHOR π
BRL-CAD Team
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.
That's the whole VARS(nged) page, bestie β source/version: BRL-CAD, page: VARS(nged), footer date: not listed, so we're not inventing one. Slay responsibly π
β¨
π¦ 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