cad-editor/tests
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
..
active_space_roundtrip.rs fix(layout): create the CTAB variable so the exact paper tab round-trips 2026-07-12 01:17:26 +03:00
annotative_context_roundtrip.rs feat(annotative): synthesize per-object contexts + editable UI 2026-07-13 22:38:29 +03:00
annotative_context_synthesis.rs feat(annotative): synthesize per-object contexts + editable UI 2026-07-13 22:38:29 +03:00
block_hatch_export.rs fix(hatch): flag only the outer ring as external when serializing holes 2026-07-13 05:55:54 +01:00
dim_copy_check.rs fix(copy): duplicate a dimension's baked block so COPY copies it (#161) 2026-06-25 22:30:45 +03:00
dim_line_color_roundtrip.rs feat(props): make dim-line colour editable for leaders and dimensions 2026-07-13 17:31:09 +03:00
page_setup_root_repair.rs fix(io): resolve root named-objects dict robustly on foreign DWGs 2026-07-13 16:28:21 +03:00
text_font_rendering.rs fix(text): keep inline \C colours through block colour inheritance (SDF) 2026-07-07 22:17:27 +03:00
zoom_extents_xline.rs fix(view): exclude XLine/Ray display segments from ZOOM Extents (#284) 2026-07-05 14:08:43 -07:00