Sketch dimensions: enter the value in a small window with step arrows (#7246) (#7251)

* claim: #7246

* feat(sketch): enter a dimension's value in a small window with step arrows (#7246)

* Dimension window: fit the layer split, and keep the wheel off the camera over the window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: bherbruck <brennen.herbruck@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lars Jansen
2026-11-04 05:12:31 +00:00
committed by GitHub
parent 86db05e538
commit 7bd66b7c06
12 changed files with 853 additions and 49 deletions
+10
View File
@@ -368,6 +368,16 @@ nothing picked yet, click it once: its value box opens with the value selected,
and the tool stays on for the next dimension. The dimension's text always takes the click; its
lines take it only away from sketch points and curves, which still start a new dimension.
To type values in a small window instead, set **Preferences › Sketch › Dimension values** to
**In a window**. The Dimension tool then places the text first: click what you want to
measure, then where the text goes, and the window opens there (double-clicking a dimension
opens it too). Its field takes the same numbers, units, expressions and parameter names as the
box, and the sketch shows the value as you type. The arrows beside the field, Up and Down, and
the mouse wheel over the field step a number by **Window steps** (1 mm and 1° unless you change
them; Shift steps ten times as far, Alt a tenth), keeping the unit it is written in. The check
(or Enter) applies the value as one undo step and the tool stays on for the next dimension; the
cross (or Esc) drops this dimension only, and Esc with no window open puts the tool down.
To have shapes dimensioned as you draw them, turn on **Dimension new shapes** in Preferences ›
Sketch (it is off by default). Each line, rectangle, circle, arc, slot, polygon or ellipse you draw
then gets all its dimensions at the sizes you drew: a line its length and angle, a rectangle its
+3
View File
@@ -702,6 +702,9 @@ One setting per line, sorted by name. A change that adds a setting adds its own
- `default_units`
- `dialog_buttons` (`bottom` (default), `top`: a feature dialog's OK, Cancel and Apply sit in its title row instead of under its inputs, #6708; the buttons keep their handles, and `dialog:close` is then Cancel's; the Sketch panel's Finish Sketch row moves above its options, #9860)
- `dialog_place` (`edge` (default) or `left_column`: command dialogs open in the left column in place of the browser and the History, #6707)
- `dimension_input` (`view` (default): a sketch dimension's value is typed in a box on the dimension; `window`: placing a dimension with the Dimension tool, or double-clicking one, opens a small window at it with the value field (handle `dimwin:value`), arrows that step the value (`dimwin:up`, `dimwin:down`), a check (`dimwin:ok`, also Enter) and a cross (`dimwin:cancel`, also Esc), #7246)
- `dimension_step_deg` (default 1, 0.001…180: what the dimension window's arrows, Up/Down and the wheel over its field add to an angle, in degrees)
- `dimension_step_mm` (default 1, 0.001…1000: what the window's arrows, Up/Down and the wheel over its field add to a length, in millimetres, written in the unit the value is written in)
- `extrude_auto_to_object` (default true: in the Extrude dialog, with a profile picked, a face, vertex or parallel plane picked off its plane switches the extent to To Object, unless the Profiles box was clicked into; it applies to Extrude dialogs opened afterwards)
- `frame_rate_details` (default false: with the frame rate, a frame-time graph of the frames drawn with the triangles over it, a frame-time histogram and what the GPU drew; clicking the readout switches it)
- `graphics_adapter` (exact card name, or empty for Automatic; applies after restart; `WGPU_ADAPTER_NAME` takes precedence)