cad-editor/src/entities
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 4504916f97 fix: resolve DXF %%x codes and render MText decoration strokes
Text/MText values now correctly handle DXF special-character sequences:
- %%d → °, %%p → ±, %%c → ⌀, %%nnn → Unicode scalar (resolved in tessellation)
- %%u / %%o toggle underline and overline strokes for TEXT entities

MText decoration codes (\L/\l, \O/\o, \K/\k) were previously consumed
as argument-bearing codes, silently eating the decorated text. Fixed
strip_mtext_codes to keep them as zero-width markers; tessellate_text_ex
now emits actual line strokes (underline, overline, strikethrough).
measure_mtext_chars and word_wrap skip markers so line widths are correct.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 21:57:51 +03:00
..
arc.rs fix: correct arc sweep direction for reversed normals and mirrored blocks 2026-04-22 21:48:21 +03:00
attribute.rs Feat: Phase 4.3/4.4/4.5 — RasterImage, Wipeout, AttributeDefinition, AttributeEntity 2026-04-02 19:00:15 +03:00
circle.rs first commit 2026-03-22 14:56:27 +03:00
common.rs first commit 2026-03-22 14:56:27 +03:00
dimension.rs Feat: dimension grip editing — all dimension types get stretch grips 2026-04-03 19:11:21 +03:00
ellipse.rs first commit 2026-03-22 14:56:27 +03:00
hatch.rs Feat: hatch boundary grip editing — all edge types supported 2026-04-03 19:16:17 +03:00
insert.rs first commit 2026-03-22 14:56:27 +03:00
leader.rs first commit 2026-03-22 14:56:27 +03:00
line.rs first commit 2026-03-22 14:56:27 +03:00
lwpolyline.rs fix: replace degenerate same-vertex edges with Point in lwpolyline and spline 2026-04-25 20:30:26 +03:00
mesh.rs Feat: Phase 6 — Face3D, PolygonMesh, PolyfaceMesh render; DRAWORDER command 2026-04-02 19:13:37 +03:00
mline.rs Feat: ROADMAP Phase 1-5 batch — trim/extend, plot scale, viewport UX, mline caps, table alignment 2026-04-03 15:31:05 +03:00
mod.rs feat: Shape entity support (render + grips + props + transform) 2026-04-06 23:30:27 +03:00
mtext.rs fix: resolve DXF %%x codes and render MText decoration strokes 2026-04-26 21:57:51 +03:00
multileader.rs first commit 2026-03-22 14:56:27 +03:00
point.rs first commit 2026-03-22 14:56:27 +03:00
polyline.rs Feat: Phase 4.1/4.2 — Polyline, Polyline2D, Polyline3D, Ray, XLine render and grips 2026-04-02 18:51:38 +03:00
raster_image.rs Feat: ROADMAP Phase 1-5 batch — trim/extend, plot scale, viewport UX, mline caps, table alignment 2026-04-03 15:31:05 +03:00
ray.rs Feat: Phase 4.1/4.2 — Polyline, Polyline2D, Polyline3D, Ray, XLine render and grips 2026-04-02 18:51:38 +03:00
shape.rs feat: Shape entity support (render + grips + props + transform) 2026-04-06 23:30:27 +03:00
solid.rs Feat: Solid entity (2D) — render, grips, properties, transform 2026-04-03 19:22:10 +03:00
spline.rs fix: replace degenerate same-vertex edges with Point in lwpolyline and spline 2026-04-25 20:30:26 +03:00
table.rs Feat: ROADMAP Phase 1-5 batch — trim/extend, plot scale, viewport UX, mline caps, table alignment 2026-04-03 15:31:05 +03:00
text.rs fix: resolve DXF %%x codes and render MText decoration strokes 2026-04-26 21:57:51 +03:00
text_support.rs fix: resolve DXF %%x codes and render MText decoration strokes 2026-04-26 21:57:51 +03:00
tolerance.rs feat: Tolerance GD&T feature control frame render 2026-04-06 23:23:06 +03:00
traits.rs feat: Shape entity support (render + grips + props + transform) 2026-04-06 23:30:27 +03:00
underlay.rs feat: add Underlay entity support (PDF/DWF/DGN) 2026-04-06 14:43:44 +03:00
viewport.rs Feat: Phase 3 — perspective projection and per-viewport UCS properties 2026-04-01 00:22:02 +03:00