feat: redesign Annotate ribbon tab with proper groups and SVG icons
Added 15 SVG icons for all annotation tools (dimensions, leaders, table, wipeout, revision cloud, tolerance, ddedit). Annotate ribbon now has 6 groups matching standard CAD layout: - Text: MText (large dropdown) + Text + Edit Text - Dimensions: Linear (large dropdown with 6 types) + Continue + Baseline + Tolerance - Leaders: Multileader (large dropdown) + Leader - Tables: Table (large) - Markup: Wipeout + Rev Cloud - Annotation Scaling: Scale List, Add Scale, Scale Edit, Sync Scales Added pub tool() + ICON to all annotate tools that were missing them (aligned_dim, diameter_dim, dim_continue, dim_baseline, table_cmd, tolerance_cmd, ddedit), and to home/draw/wipeout and revcloud. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fe4f9ca844
commit
510bcf11e5
31 changed files with 362 additions and 16 deletions
13
assets/icons/dim_linear.svg
Normal file
13
assets/icons/dim_linear.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="64" height="64">
|
||||
<!-- Measured object -->
|
||||
<line x1="4" y1="18" x2="20" y2="18" stroke="#e0e0e0" stroke-width="1.5" stroke-linecap="round"/>
|
||||
<!-- Extension lines -->
|
||||
<line x1="4" y1="18" x2="4" y2="10" stroke="#e0e0e0" stroke-width="1" stroke-dasharray="1,1" stroke-linecap="round"/>
|
||||
<line x1="20" y1="18" x2="20" y2="10" stroke="#e0e0e0" stroke-width="1" stroke-dasharray="1,1" stroke-linecap="round"/>
|
||||
<!-- Dimension line with arrows -->
|
||||
<line x1="4" y1="11" x2="20" y2="11" stroke="#4cc9f0" stroke-width="1.5" stroke-linecap="round"/>
|
||||
<polygon points="4,11 7,9.5 7,12.5" fill="#4cc9f0"/>
|
||||
<polygon points="20,11 17,9.5 17,12.5" fill="#4cc9f0"/>
|
||||
<!-- Dimension text -->
|
||||
<text x="12" y="9" text-anchor="middle" font-size="4" fill="#4cc9f0" font-family="monospace">12.5</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 871 B |
Loading…
Reference in a new issue