cad-editor/src/app/commands
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven c0844ad55c feat(annotative): synthesize per-object contexts + editable UI
Make objects genuinely annotative — carrying real per-scale
representations that interoperate with other CAD apps — rather than just
a native flag. `create_annotation_context` synthesizes the extension-dict
chain (AcDbContextDataManager -> ACDB_ANNOTATIONSCALES -> per-scale leaf)
from the entity's placement; the editable Annotative toggle now covers
Text and block references as well as MText/MLeader; and a new
"Annotation Object Scale" dialog (OBJECTSCALE) adds/removes an object's
per-scale memberships. Requires the acadrust ObjectContextData encoder
(Cargo.lock bump).

Also fixes a render bug where objects carrying an *empty*
ACDB_ANNOTATIONSCALES (a single-representation marker with no per-scale
reps) were treated as annotative and (mis)scaled by the annotation factor
in scaled paper viewports, ballooning the text: an object is now
annotative-by-context only when its scale collection is non-empty, so
such objects render at their base geometry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 22:38:29 +03:00
..
blocks.rs feat(mtext): structured editor with selection, copy, and visible bold 2026-07-11 20:18:50 +03:00
dim.rs fix(precision): keep typed coordinates exact in f64 (#311) 2026-07-11 21:26:40 +03:00
display.rs feat(annotative): synthesize per-object contexts + editable UI 2026-07-13 22:38:29 +03:00
draw.rs feat(alias): centralize command aliases in user-editable ocad.pgp (#286/#288) 2026-07-10 12:39:22 +03:00
fileops.rs feat(alias): centralize command aliases in user-editable ocad.pgp (#286/#288) 2026-07-10 12:39:22 +03:00
inquiry.rs feat(attribute): route ATTMAN/BATTMAN to the attribute editor (ATTEDIT) 2026-07-11 09:37:54 +03:00
layerprops.rs fix(precision): keep typed coordinates exact in f64 (#311) 2026-07-11 21:26:40 +03:00
layers.rs feat(sysvars): persist Ortho, running OSNAP and Isolate in the drawing 2026-07-10 15:45:08 +03:00
mod.rs feat(annotative): synthesize per-object contexts + editable UI 2026-07-13 22:38:29 +03:00
styleprops.rs feat(sysvars): persist Ortho, running OSNAP and Isolate in the drawing 2026-07-10 15:45:08 +03:00
view.rs feat(help): open GitHub Discussions from the HELP command 2026-07-11 10:02:08 +03:00