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:
parent
510bcf11e5
commit
08b9a21d31
25 changed files with 1408 additions and 1 deletions
12
assets/icons/mleader_align.svg
Normal file
12
assets/icons/mleader_align.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<line x1="2" y1="6" x2="2" y2="20" stroke="#4cc9f0" stroke-width="1.4"/>
|
||||
<line x1="2" y1="8" x2="9" y2="8" stroke="#4cc9f0" stroke-width="1.2"/>
|
||||
<polygon points="2,8 4,6 4,10" fill="#4cc9f0"/>
|
||||
<rect x="9" y="5" width="7" height="5" fill="none" stroke="#e0e0e0" stroke-width="1.0"/>
|
||||
<line x1="2" y1="13" x2="9" y2="13" stroke="#4cc9f0" stroke-width="1.2"/>
|
||||
<polygon points="2,13 4,11 4,15" fill="#4cc9f0"/>
|
||||
<rect x="9" y="10" width="7" height="5" fill="none" stroke="#e0e0e0" stroke-width="1.0"/>
|
||||
<line x1="2" y1="18" x2="9" y2="18" stroke="#4cc9f0" stroke-width="1.2"/>
|
||||
<polygon points="2,18 4,16 4,20" fill="#4cc9f0"/>
|
||||
<rect x="9" y="15" width="7" height="5" fill="none" stroke="#e0e0e0" stroke-width="1.0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 798 B |
Loading…
Reference in a new issue