feat: add missing Annotate tab commands and icons

New dimension commands: QDIM, DIMEDIT, DIMTEDIT, DIMBREAK, DIMSPACE,
DIMJOGLINE with full command workflows and SVG icons.

New multileader commands: MLEADERADD, MLEADERREMOVE, MLEADERALIGN,
MLEADERCOLLECT with entity injection pattern for in-place editing.

Updated annotate ribbon: all tools exposed across Text, Dimensions,
Leaders, Tables, Markup, and Annotation Scaling groups. Added STYLE,
FIND, DIMSTYLE shortcut buttons.

Added `inject_picked_entity` to the CadCommand trait for commands that
need a cloned copy of the picked entity to modify (DIMTEDIT, MLEADERADD,
MLEADERREMOVE). Sentinel-based dispatch in cmd_result.rs handles
DIMBREAK, DIMSPACE, DIMJOGLINE, MLEADERALIGN, and MLEADERCOLLECT.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-04-09 03:26:47 +03:00
commit 08b9a21d31
25 changed files with 1408 additions and 1 deletions

View file

@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<line x1="3" y1="14" x2="8" y2="14" stroke="#4cc9f0" stroke-width="1.5"/>
<line x1="11" y1="14" x2="13" y2="14" stroke="#4cc9f0" stroke-width="1.5" stroke-dasharray="2,1"/>
<line x1="16" y1="14" x2="21" y2="14" stroke="#4cc9f0" stroke-width="1.5"/>
<polygon points="3,12 3,16 5,14" fill="#4cc9f0"/>
<polygon points="21,12 21,16 19,14" fill="#4cc9f0"/>
<line x1="3" y1="8" x2="3" y2="14" stroke="#e0e0e0" stroke-width="1.0"/>
<line x1="21" y1="8" x2="21" y2="14" stroke="#e0e0e0" stroke-width="1.0"/>
<line x1="12" y1="4" x2="12" y2="20" stroke="#e0e0e0" stroke-width="1.2"/>
<line x1="9" y1="11" x2="15" y2="17" stroke="#4cc9f0" stroke-width="1.2"/>
</svg>

After

Width:  |  Height:  |  Size: 736 B