Mouse and Keyboard

Contents

Most of OpenVSP is driven through its windows' visible controls, but a good deal of it also answers to the mouse and keyboard in ways the controls do not show. This page gathers all of them in one place: how the mouse moves the 3D view and how to change that, the keyboard shortcuts, and what the Parm controls, lists and trees do beyond their obvious use, including where a Parm can be dragged and dropped.

Topic Where
Windows File > Preferences > General
Toolbar under the menu bar
Moving the view the 3D window
Picking and selecting the 3D window
Keyboard in the 3D window the 3D window and View menu
3D View preferences File > Preferences > 3D View
Mouse button preferences File > Preferences > Mouse Buttons
Schemes File > Preferences
Saving and loading preferences File > Preferences
Parm controls every slider and value box
Dragging and dropping Parms link, design variable and preset windows
Plots results plots, the blade curve plot and the Edit Curve view
Lists and trees the Geom Browser and other lists
Keyboard shortcuts menus and other windows

On macOS, Option is the key other systems call Alt, and Cmd stands in for Ctrl in many shortcuts. This page writes Alt for Alt or Option.

Windows

The Geom Browser sits in a panel along the right edge of the 3D view, its full height. The button at the right of its title hides it, and the small tab left at the right edge of the view, Model > Geometry or the toolbar's Geometry browser button brings it back.

File > Preferences > General > Windows > Geom Browser sets where the panel goes. Docked, the default, puts it beside the view: the view narrows to make room while the browser is shown and widens again when it is hidden. Floating puts it over the 3D view instead. A change takes effect at once and is kept for the next start.

File > Preferences > General > Windows > Screens sets how the other screens are shown. With Free Windows, the default, each is a window of its own. With Captive Windows, each is a window inside the main window, over the 3D view: drag its title bar to move it, drag its edges and corners to size it, and close it with the button at the right of its title bar. A captive window stays inside the main window, keeps its size as the main window is resized, and comes to the top when it is clicked or typed in. A change moves the open screens in or out at once and is kept for the next start.

The Geom windows share one place, their right edges against the Geom Browser's panel, and each opens where the last one was left. A window made taller keeps its controls their size: its plot, 3D view, list or table, where it has one, takes the extra height.

Toolbar

The toolbar under the menu bar puts the commands used most a click away. Each button does exactly what its menu command does, and its tooltip names the command and its key. A button for something that is on, such as Pick mode, the rotation, the view layout, the axes or the border, is shown pressed in. Every other button has a faint raised edge, raised fully while the mouse is over it.

Group Buttons
Model New, Open, Save, Undo
Geometry the Geometry browser, Pick mode
View Fit the selected Geoms, Fit everything, Zoom box, Center, and a menu of the standard views
Rotation Ball, Turntable, Z Up, Set Rotation Center, View Normal To
Window One view, two side by side, two one above the other, four views, the axes, the border
Output Screenshot, Vector screenshot
At the right Preferences, Help

Window > Toolbar hides or shows it. File > Preferences > General > Main Window > Toolbar also hides it or sets its size: Small, Medium or Large.

Moving the view

Out of the box the mouse moves the view as it always has in OpenVSP:

Press Does
Left drag Rotate
Alt + left drag Pan
Right drag Pan
Middle drag Zoom
Ctrl + left drag, or Cmd + left drag (the Windows or Super key elsewhere) Zoom
Left + right drag Zoom
z held + left drag Roll about the view direction
Wheel Zoom, about the point under the pointer

The mouse buttons can instead follow the habits of another program; see Schemes. Whatever the scheme, a drag acts on the viewport it starts in, and the action is chosen when the drag starts: pressing or releasing a key part way through does not switch from rotating to panning. Esc during a drag puts the view back as it was at the press.

Ball and turntable

A rotate drag turns the view one of two ways.

View > Turntable Rotation (t) and View > Ball Rotation (b) switch between them at any time; the preferences set which one OpenVSP starts with. Switching to the turntable first turns the view about the screen's axis until Z points up. View > Z Up (z), or a tap of z on its own with no mouse button down, does that at any time.

The four balls differ in what a drag does:

What the view turns about

The view turns about the rotation center. View > Set Rotation Center (r) waits for a click on the model and moves the rotation center there; View > Center (c) and Center All (C) put it at the middle of the selected or all Geoms. With Rotate About set to Point under cursor in the preferences, each drag instead turns about the surface point under the press, while the rotation center itself stays where it was. A marker shows the point being turned about.

Zooming

The wheel zooms about the point under the pointer by default; the preferences can make it zoom about the middle of the view, reverse its direction, and scale its step with the amount scrolled, which suits trackpads. A zoom drag zooms about the middle of the view by default.

Zoom in and Zoom out can also be bound to a button, so that a press zooms one step and holding the button keeps zooming; a mouse's Back and Forward side buttons suit them. See Mouse button preferences.

View > Zoom Box (w) arms a one-time zoom box: the next left drag draws a rectangle, and the view zooms so the rectangle fills it. Esc, or a press of any other button, gives the box up.

Saved views

F1 to F4 recall four saved views; Shift with F1 to F4 saves the current view into that slot. The saved views last until OpenVSP closes. F5 to F12 show the standard views: top, front, left, left isometric, bottom, rear, right and right isometric.

Rotatrix trackball

When OpenVSP is built with the Rotatrix SDK and the Rotatrix host is running, the Rotatrix trackball moves the view. The trackball icon at the bottom left of the main window is lit while it is connected; its tooltip gives the status, and a click opens its preferences. View > Rotatrix Trackball (d) turns it on or off. Rotatrix computes the motion with its own controls and chooses the point to turn about itself; View > Lock Rotatrix Pivot (l) asks it to keep turning about the current one, and again frees it. In the turntable mode OpenVSP keeps Z upright as Rotatrix turns the view.

Picking and selecting

Several tools ask for a point on the model and then wait for a click: Set Rotation Center (r), View Normal To (n), the rulers, probes and protractors of the Measure window, routing points, and the points of a Fit Model target. While one is waiting, a left press goes to it first, unless a binding listed before the one that gives presses to tool picks takes it: in OpenVSP's own scheme, a left press with Ctrl, Cmd or Alt, or with z held, still zooms, pans or rolls.

There are two ways to select a Geom by clicking on it:

Esc in the 3D window, when nothing is being dragged, clears the selection.

Box selection in Fit Model

While the Fit Model window is open, a left drag with Shift held, or any left drag with its Select Region button on, draws a rectangle and selects the target points inside it. This comes before every other use of the left button and cannot be changed in the preferences.

Keyboard in the 3D window

The keys in the View and Edit menus act from any OpenVSP window, unless a text box is being typed in. F1 to F4, and z held for a roll, act only in the 3D window; elsewhere z is View > Z Up.

Key Does
t Turntable rotation
b Ball rotation
z (tap) Turn the view until Z points up
z (held) With the left button in OpenVSP's scheme, roll
w Arm a zoom box
r Set the rotation center at the next click
n View normal to the surface at the next click
x View the front of the selected Geom
c, C Center on the selected Geoms, or on all
f, F Fit the selected Geoms, or all, on screen
R Reset all the views
F1 to F4 Recall a saved view; with Shift, save one
F5 to F12 Top, front, left, left isometric, bottom, rear, right, right isometric
p Toggle Pick mode
d Rotatrix trackball on or off (builds with Rotatrix only)
l Lock or free the Rotatrix pivot (builds with Rotatrix only)
Esc Cancel a drag or an armed zoom box; otherwise clear the selection

3D View preferences

File > Preferences opens the preferences. Changes take effect at once, so they can be tried with the window still open. Revert puts back what was set when the window opened, Defaults sets OpenVSP's own, and Close keeps the changes.

The 3D View tab:

Section Setting What it does
Scheme Sets the mouse buttons and the settings below to those of a program; see Schemes. Changing any setting afterwards shows Custom.
Rotation Start With Whether OpenVSP starts with the ball or the turntable. The View menu switches between them at any time.
Rotate About The rotation center, or the surface point under each drag's press.
Ball Type Rounded Arcball, OpenVSP Classic, Trackball or Tumbler.
Speed How fast the ball turns, as a multiple from 0.1 to 2. At the default, 0.5, OpenVSP Classic turns as OpenVSP did through 3.55, the Trackball turns as it does near the middle of the view, and a drag across the whole Rounded Arcball turns the view 180 degrees.
Size The Rounded Arcball's sphere, as a fraction of the view. A drag that starts outside it rolls the view.
Outline Whether the Rounded Arcball's outline is drawn while it turns.
Turntable and Tumbler Speed Degrees turned per point of mouse movement.
Zoom Wheel Direction Whether rolling the wheel forward zooms in or out.
Wheel Zooms About the point under the pointer, or the middle of the view.
Wheel Step A fixed step per notch, or a step that grows with the amount scrolled.
Drag Direction Whether a zoom drag downward zooms in or out.
Drag Zooms About the middle of the view, or the point where the drag started.
Drag Step Classic, per event: a step for each mouse movement however small; or By distance: a zoom that grows with the distance moved.
Zoom Speed How fast the wheel by scroll amount and the drag by distance zoom.
3D Device Rotatrix Whether to use the Rotatrix trackball when its host is running.
Status Whether OpenVSP is connected to the Rotatrix host.

The Ball's Size and Outline are greyed out unless the Rounded Arcball is chosen, its Speed when the Tumbler is, which turns at the Turntable and Tumbler Speed, and Zoom Speed unless Wheel Step is By scroll amount or Drag Step is By distance. The Rotatrix settings appear only in builds with the Rotatrix SDK.

Mouse button preferences

The Mouse Buttons tab shows what each mouse press does, and lets any of it be changed.

At the top are three settings for all the bindings:

Below them is the list of bindings, tried from the top: the first that fits a press acts. A binding shown in red can never act, because those above it take every press it would. Add puts a copy of the selected binding above it, Delete removes it, and Up and Down move it. The selected binding's fields are:

Field What it means
Action Rotate, Roll, Pan, Zoom, Zoom in, Zoom out, Zoom box, Rotation center, Select Geom, or Tool picks only, which gives the press to a waiting tool and does nothing else.
On Whether the binding acts on a drag or on a click.
Button The button that must be down: Left, Middle, Right, or a mouse's Back or Forward side button.
With A second button that must be down with it, for a chord, or None.
Shift, Ctrl, Alt, Cmd Whether each key must be up, down, or may be either. Cmd is named Win on Windows and Super on Linux.
Other Buttons Whether buttons the binding does not need may also be down.
Held Key A letter or digit that must be held, such as z for roll.
Where Anywhere, only on the model, or only on the background.
Tool Picks Whether a waiting tool pick takes the press first.

Zoom in and Zoom out zoom one wheel notch, about the pointer or the middle of the view as Wheel Zooms is set. They act at the press and, after a short pause, ten times a second while the button is held, however the mouse moves; On does not apply to them. A mouse's Back and Forward buttons bound to Zoom out and Zoom in zoom the view without the wheel.

Rather than setting the fields by hand, press in the Try a Press box with the buttons and keys wanted: it shows what that press does now, and Use This Press for the Selected Binding copies it into the selected binding.

Schemes

A scheme sets the mouse buttons, and the rotation and zoom settings, to those of another program, so a user of that program finds the view moving as expected. None is an exact copy of its program. The Scheme menu lists each with other programs that work the same way, and its tooltip lists what the buttons do.

In every scheme but OpenVSP's own, a left click selects the Geom under it, a left press goes first to a waiting tool pick, a press becomes a drag after the mouse moves 4 points, letting go of one of two buttons stops, the wheel and zoom drags go by distance, and on macOS Cmd works wherever Ctrl does.

Scheme Rotate Pan Zoom Also
OpenVSP (also MATLAB) Left Alt + left, or right Middle, Ctrl + left, or left + right Roll: z + left
SolidWorks (also ANSYS Mechanical, DesignModeler, Femap) Middle Ctrl + middle Shift + middle Roll: Alt + middle; rotation center: middle click; wheel reversed
Creo, Blender (also Solid Edge, SketchUp, SpaceClaim, Patran) Middle Shift + middle Ctrl + middle Rotation center: Alt + middle click
NX (also FreeCAD) Middle Middle + right, or Shift + middle Left + middle, or Ctrl + middle
CATIA (also 3DEXPERIENCE CATIA) Middle + left or right, or Alt + left + right Middle, or Alt + right Ctrl + middle, or Ctrl + Alt + right Rotation center: middle click
Inventor, Fusion Shift + middle Middle Shift + Ctrl + middle Wheel reversed; Rounded Arcball
3ds Max Alt + middle Middle Ctrl + Alt + middle Rounded Arcball
Maya (also Blender's three-button emulation) Alt + left Alt + middle, or Shift + Alt + left Alt + right, or Ctrl + Alt + left Starts with the turntable
Abaqus Ctrl + Alt + left Ctrl + Alt + middle Ctrl + Alt + right Rounded Arcball
Rhino Right Shift + right Ctrl + right Starts with the turntable
Onshape Right Ctrl + right, or middle Turns about the point under the cursor
Pointwise Ctrl + right Shift + right Middle Roll: Ctrl + middle; zoom box: Shift + middle; rotation center: Shift + Ctrl + right click; Tumbler
HyperMesh (before 2021, or its Legacy setting) Ctrl + left Ctrl + right Zoom box: Ctrl + middle; rotation center: Ctrl + left click
HyperWorks (HyperMesh 2021 and later) Middle Right, or left + right Zoom box: Alt + middle; rotation center: Ctrl + middle click; turns about the point under the cursor; wheel reversed
ParaView Left, or Shift or Ctrl + middle Middle, or Shift + right Right, or Ctrl + right Roll: Shift + left; wheel zooms about the middle of the view; Tumbler
EnSight Left Middle, or Ctrl + right Right, or Ctrl + middle Roll: Ctrl + left; Tumbler
STAR-CCM+ Left Right Middle Roll: Ctrl + left; Tumbler
Tecplot Ctrl + right Right Middle

The schemes leave the Rotatrix settings alone. Changing anything after choosing a scheme makes it Custom; choosing the scheme again puts all of its settings back.

Saving and loading preferences

Save... at the bottom of the Preferences writes every preference to a file (*.vspprefs), and Load... reads one back and puts it into use at once; Revert undoes a load. The file is the same text on Windows, macOS and Linux, so it can be loaded on another computer. It includes the file chooser's favorite directories. Any preference that OpenVSP reads only as it starts takes effect the next time it starts.

Parm controls

Each slider or value box has a button with the Parm's name to its left.

Value boxes

A value box shows a parameter's value as text; click in it to edit the text. A value too long for its box shows its leading digits and sign; while you edit it, the box scrolls to follow the cursor.

Alt (Option on macOS) + drag, or a right-drag, scrubs the value instead, like a slider: drag right to increase it and left to decrease it. Only sideways motion counts, and the scrub starts after a few points of it; a press released sooner is an ordinary click. Alt is needed only at the start of the drag. The pointer becomes a left-right arrow over a box while Alt is held, and while scrubbing.

The value box of a slider row scrubs at the slider's scale: dragging across the box as far as the slider is wide moves the value through the slider's range, and the slider's range buttons change the rate too. A scrub is not held to the slider's range: past its end the slider recenters, and the value runs on to the Parm's own limit. Beside a logarithmic slider, equal motion multiplies the value by equal factors. A value box without a slider scrubs at a fixed range of its own. A fraction shown beside its dimensional value steps with that value, so both boxes move the part alike.

While dragging, tap Shift to halve the sensitivity, Ctrl or Cmd (the Windows or Super key elsewhere) to double it, or Alt (Option on macOS) to reset it. Each box keeps its sensitivity for its next drag, while the box exists; a fraction and its dimensional value share one. Esc puts the value back as it was at the start of the drag, leaving nothing to undo, and the rest of that drag does nothing. Undo takes back a whole drag at once. A right click without a drag still opens the Cut / Copy / Paste menu. Some Linux desktops take Alt + drag for moving windows; use a right-drag there. Unlike Alt + drag on a slider, scrubbing a value box does not apply Snap To.

Scrubbing works in the value boxes of Parms. It does not work in index selectors, counters, table cells such as the Parasite Drag table's, or name boxes, nor in a box whose value cannot be stepped, such as a dimensional value whose reference is zero.

Dragging and dropping Parms

Dragging a Parm's name button and dropping it is the quickest way to tell a window which Parm is meant. The drop can land anywhere in the area named below, not only on its Parm picker.

Window Drop on Does
Model > Adv Link the Input or Output area Adds the Parm as an input or output variable; see Advanced Parameter Linking.
Model > Link the Parm A or Parm B area Sets that end of the link.
Model > Design Variables the Pick tab Adds the Parm as a design variable.
Model > Fit Model the Pick Vars or Var Tree tab Adds the Parm as a fit variable.
Model > Variable Presets the Group tab Adds the Parm to the current group.
Model > Snap To the window Sets the Parm to move for collision detection.
Model > Attribute Explorer the Parm reference field Sets a Parm reference attribute.

A dropped Parm is its ID as text, so it can also be dropped into any text box, such as an advanced link's code or a script, to paste the ID. On Linux it is also left for a middle-click paste.

The edit curve and blade curve plots take a drag of their points, and the Wave Drag window's area plot takes a drag of its slicing line.

Plots

The Results Viewer's plot, the VSPAERO Results Manager's plots, the Wave Drag area plot, the Propeller blade curve plot and the Edit Curve view take the mouse alike, from the same bindings and settings as the 3D window. A press does in a plot what it does in the 3D window, in two dimensions: what rotates the view draws a box to zoom to, what pans or zooms the view pans or zooms the plot, and Zoom in and Zoom out step the zoom once per press. A press that would go first to a waiting tool pick goes first to the point under it, or to Wave Drag's slice line, and moves it. The wheel and zoom drags follow the 3D View preferences' Wheel Direction, Wheel Zooms, Wheel Step, Drag Direction, Drag Zooms and Zoom Speed, but a zoom drag always grows with the distance moved. A double click returns to the whole plot, and hovering over a results plot reads out the nearest point.

Press, in OpenVSP's own scheme In a plot
Left drag, or Shift + left drag Zoom to the box drawn
Left drag starting on a point Move the point
Wheel Zoom about the pointer; scrolling up zooms in
Middle drag, or Ctrl or Cmd + left drag Zoom about the middle of the plot; dragging down zooms in
Right drag, or Alt + left drag Pan
Double click Return to the whole plot

Lists and trees

Keyboard shortcuts

Ctrl is Cmd on macOS for the menu shortcuts; Cut, Copy and Paste answer Ctrl there as well. The menu shortcuts work from every window, but a key without Ctrl, Cmd or Alt types into a text box that is being typed in.

Key Does
Ctrl+S File > Save
Ctrl+Z Edit > Undo Parameter Change
Ctrl+X, Ctrl+C, Ctrl+V Edit > Cut, Copy and Paste the selected Geoms
Ctrl+A Edit > Select All
p Edit > Toggle Pick Mode

The View menu's keys are listed under Keyboard in the 3D window.

Other windows have keys of their own: