Available · iteration 1

Zoom and Fit Drawing

How to zoom, reset, and fit a drawing in the Cadivari workspace.

Updated August 20263 min readWorkspace & 3D

Recommended test

Use a mirrored enclosure or template outline so both broad framing and fine inspection are visible.

  1. Place the pointer over the waist and scroll upward. Confirm that exact point stays under the pointer while the view enlarges.
  2. Scroll downward and confirm the grid, axes, source spline, and reflection remain aligned.
  3. Use the minus and plus buttons, then click the percentage to return to the default 100% view.
  4. Press F or click Fit Drawing. Confirm the entire outline is framed with clear padding.
  5. Zoom closely and place or move a control point. Confirm snapping and coordinate readouts remain correct.

01 · POINTER-CENTRED

Zoom exactly where you are working

Move the pointer over the detail you want to inspect and use the mouse wheel. Cadivari preserves the world-space point below the pointer instead of pulling the drawing toward a fixed corner. This makes the waist, neck joint, and bridge regions much easier to refine.

The supported range is 25% to 400%. The percentage readout updates continuously in whole-number steps.

02 · DIRECT CONTROLS

Zoom controls and keyboard shortcuts

Mouse wheelZoom around the pointer
+Zoom in around the canvas centre
-Zoom out around the canvas centre
0Reset to 100%; an open sketch centres its local origin
PercentageClick to perform the same 100% reset
FFit the complete drawing in the canvas

03 · FRAME

Fit the complete design

Click the Fit Drawing button in the lower-right control group or press F. Cadivari calculates the document bounds, chooses a safe zoom level, and centres the result with approximately 72 pixels of padding.

Associative geometry is included

A mirrored spline’s derived side is included even though it is not stored as a duplicate document entity. Reference images, guide spans, circles, arcs, and the other drawing primitives are also considered.

IMPLEMENTATION NOTE

View changes do not alter geometry

Zoom and view offset belong to the viewport adapter, not the CAD document. Millimetre coordinates remain unchanged, zoom is not added to undo history, and screen-space snapping keeps a comfortable target size at every scale.

The grid background and mathematical X/Y axes use the same transformed origin as rendered geometry. Resetting or fitting the view therefore cannot introduce a visual offset between the grid and actual points.

CURRENT SCOPE

Not implemented yet

  • Touchpad pinch and touchscreen gestures
  • Zoom-to-selection
  • Animated transitions between view states
  • Dynamic ruler values that follow zoom and view offset
  • Saving the current view inside a project file

Pan v1 is now available through the Hand tool and middle-mouse drag. The next focused navigation step should be zoom-aware ruler labels.