vcad.
Back to App
App

Viewport & Camera

3D navigation, camera controls, transform gizmo, and snapping

The viewport is your window into 3D space. It provides intuitive camera controls for viewing models from any angle, plus visual tools for manipulating geometry.

Camera Controls

Navigate the 3D view with mouse or trackpad. vcad supports two control schemes:

Actionvcad DefaultFusion-style
OrbitMiddle-drag or two-finger swipeShift+Middle-drag
PanShift+Middle-dragMiddle-drag
ZoomScroll wheelScroll wheel

Zoom Behavior

Scroll to zoom toward the cursor position (not the screen center). This makes it easy to zoom into specific areas of your model.

Additional zoom settings:

  • Zoom toward cursor: On by default, zoom centers on mouse position
  • Invert direction: Reverse scroll direction if it feels backwards
  • Sensitivity: Adjust zoom speed to your preference

On a trackpad, use two-finger swipe to orbit and pinch to zoom.

Orbit Momentum

When enabled, the camera continues moving briefly after you release the mouse, giving a smoother feel when exploring models.

View Presets

Snap to standard views by clicking the orientation gizmo (bottom-right corner) or using keyboard shortcuts.

ViewDescription
FrontLooking at XY plane from +Z
BackLooking at XY plane from -Z
RightLooking at YZ plane from +X
LeftLooking at YZ plane from -X
TopLooking at XZ plane from +Y
BottomLooking at XZ plane from -Y
IsoIsometric view from (+X, +Y, +Z) corner
HeroPresentation angle, good for screenshots

Orientation Gizmo

The colored cube in the corner shows your current view orientation:

  • Red = X axis
  • Green = Y axis
  • Blue = Z axis

Click any face to snap the camera to that view. The camera smoothly animates to the new position while keeping the model centered.

Reset View

Double-click on empty space in the viewport to reset the camera to the default isometric view.

Camera Animation

Camera movements are animated with smooth transitions:

  • Selecting a part frames it in the viewport
  • Clicking a gizmo face animates to the aligned view
  • View presets transition smoothly
  • No abrupt jumps or jarring motion

The animation uses quaternion interpolation to avoid gimbal lock and ensure predictable rotation.

During camera animation, some visual effects (ambient occlusion, shadows) are temporarily disabled to maintain smooth frame rates.

Transform Gizmo

When you select a part, the transform gizmo appears at its center. Use it to move, rotate, or scale the selection.

Modes

ModeDescriptionUsage
TranslateMove along axesDrag colored arrows to move along X (red), Y (green), or Z (blue). Drag colored planes to move in two axes.
RotateRotate around axesDrag colored rings to rotate around each axis.
ScaleResize the partDrag axis handles for non-uniform scale, or center cube for uniform scale.

Switch modes using the toolbar or keyboard shortcuts.

Interaction

  • Drag an axis arrow to constrain movement to that axis
  • Drag a plane handle to move freely in that plane
  • Drag the center to move/scale uniformly

The gizmo disables orbit controls while dragging, so you can precisely position parts without accidentally rotating the view.

Snapping

Snapping helps you position parts precisely by constraining transforms to specific increments or geometry.

Grid Snap

When enabled, translations snap to the grid increment (default 5mm). This makes it easy to align parts without typing exact values.

SettingDefaultDescription
Grid snapOnSnap transforms to grid increment
Snap increment5mmGrid spacing for snap

Point Snap

When enabled, snap to geometry vertices when dragging. Useful for aligning parts precisely to corners or endpoints.

SettingDefaultDescription
Point snapOnSnap to geometry vertices

Hold a modifier key while dragging to temporarily disable snapping for fine adjustments.

Display Options

Control how the viewport renders your model:

OptionDescription
Wireframe modeShow only edges, no filled faces. Useful for seeing through geometry.
Grid displayShow/hide the ground plane grid.
Axis displayShow/hide the RGB orientation gizmo.

Edge Cases

The viewport handles extreme scenarios gracefully:

  • Very large models: Camera far plane extends to 10,000 units
  • Very small details: Near plane at 0.1 units with logarithmic depth buffer prevents z-fighting
  • Looking straight up/down: Uses world Z as reference to avoid gimbal lock

Keyboard Shortcuts

Common viewport shortcuts:

ShortcutAction
1Front view
3Right view
7Top view
5Toggle perspective/orthographic
WTranslate mode
ERotate mode
RScale mode

Keyboard shortcuts may vary based on your configuration. Check the keyboard shortcuts panel for your current bindings.