cad-editor/src/entities
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven d005cc4ab1 feat(props): make dim-line colour editable for leaders and dimensions
The "Dim line color" row on Leader and Dimension entities was
read-only: an earlier attempt wired it to Leader.override_color, which
acadrust never serialises, so the pick was lost on save. Store it
instead as a standard ACAD_DSTYLE per-object dimension-style override
(DXF code 176, an ACI index) through the existing dim_override codec,
so it round-trips through both DWG and DXF like the other dim
overrides. RGB picks collapse to the nearest ACI, matching the rest of
the dim-colour stack (dimension styles are index-only through the file
layer). The renderer prefers the override over the style's DIMCLRD.

The write branch is guarded to leaders and dimensions so a mixed
selection cannot stamp the override onto other entity types.

Bumps acadrust to c9fe982, which carries parsed XDATA onto dimensions
on DXF read (it was dropping common.extended_data), so the dimension
override persists on DXF save as well as DWG.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 17:31:09 +03:00
..
arc.rs refactor(properties): editable circle metrics, RO normals 2026-07-08 20:39:31 +03:00
attribute.rs feat(mtext): structured editor with selection, copy, and visible bold 2026-07-11 20:18:50 +03:00
circle.rs refactor(properties): editable circle metrics, RO normals 2026-07-08 20:39:31 +03:00
common.rs feat(properties): rework Text/MText/MLeader/Leader panels to standard layout 2026-07-12 18:01:44 +03:00
dim_override.rs feat(props): make dim-line colour editable for leaders and dimensions 2026-07-13 17:31:09 +03:00
dimension.rs feat(props): make dim-line colour editable for leaders and dimensions 2026-07-13 17:31:09 +03:00
ellipse.rs refactor(properties): rework ellipse geometry panel 2026-07-08 22:48:25 +03:00
hatch.rs feat(hatch): editable gradient colors + background color 2026-07-08 23:35:27 +03:00
helix.rs feat(entities): render + property builder for loaded Helix entities 2026-07-03 00:05:58 +03:00
insert.rs feat(annotative): scale text/dims/tables/blocks at the annotation scale + editable property pickers 2026-07-12 23:16:44 +03:00
leader.rs feat(props): make dim-line colour editable for leaders and dimensions 2026-07-13 17:31:09 +03:00
line.rs feat(properties): conform entity property groups to PROPERTIES.md 2026-07-02 23:03:18 +03:00
lwpolyline.rs feat(properties): navigate polyline vertices from the panel 2026-07-08 17:53:05 +03:00
mesh.rs fix(mesh): ear-clip concave mesh faces instead of fan-triangulating 2026-07-04 23:01:59 +03:00
mline.rs feat(properties): audit editable vs read-only across all entities 2026-07-03 08:06:00 +03:00
mod.rs feat(properties): editable per-object leader dimension overrides 2026-07-13 00:28:42 +03:00
mtext.rs feat(properties): make MText columns editable 2026-07-13 01:14:15 +03:00
multileader.rs feat(properties): rework Text/MText/MLeader/Leader panels to standard layout 2026-07-12 18:01:44 +03:00
names.rs fix(paper): keep model 3D solids off the paper-space sheet 2026-07-03 23:29:18 +03:00
ole2frame.rs feat(properties): conform entity property groups to PROPERTIES.md 2026-07-02 23:03:18 +03:00
point.rs feat(properties): conform entity property groups to PROPERTIES.md 2026-07-02 23:03:18 +03:00
polyline.rs feat(properties): navigate polyline vertices from the panel 2026-07-08 17:53:05 +03:00
raster_image.rs feat(properties): conform entity property groups to PROPERTIES.md 2026-07-02 23:03:18 +03:00
ray.rs feat(properties): conform entity property groups to PROPERTIES.md 2026-07-02 23:03:18 +03:00
shape.rs feat(properties): show Thickness in the General group 2026-07-03 16:51:05 +03:00
solid.rs feat(properties): show Thickness in the General group 2026-07-03 16:51:05 +03:00
solid3d.rs feat(properties): fill solid-history + viewport clipped rows 2026-07-03 00:17:58 +03:00
spline.rs feat(spline): draw fit-point splines via Catmull-Rom interpolation 2026-07-04 19:52:56 +03:00
table.rs feat(annotative): scale text/dims/tables/blocks at the annotation scale + editable property pickers 2026-07-12 23:16:44 +03:00
text.rs feat(properties): rework Text/MText/MLeader/Leader panels to standard layout 2026-07-12 18:01:44 +03:00
text_support.rs feat(mtext): structured editor with selection, copy, and visible bold 2026-07-11 20:18:50 +03:00
tolerance.rs feat(mtext): structured editor with selection, copy, and visible bold 2026-07-11 20:18:50 +03:00
traits.rs feat(entities): render + property builder for loaded Helix entities 2026-07-03 00:05:58 +03:00
underlay.rs feat(properties): audit editable vs read-only across all entities 2026-07-03 08:06:00 +03:00
viewport.rs feat(properties): fill solid-history + viewport clipped rows 2026-07-03 00:17:58 +03:00