@linkiez/dxf-renew 7.2.4 → 7.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +7 -0
- package/README.md +55 -8
- package/package.json +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## <small>7.2.5 (2026-01-10)</small>
|
|
9
|
+
|
|
10
|
+
* Initial plan ([d15ffdc](https://github.com/linkiez/DXF-Renewed/commit/d15ffdc))
|
|
11
|
+
* Merge pull request #6 from linkiez/copilot/update-readme-information ([169c640](https://github.com/linkiez/DXF-Renewed/commit/169c640)), closes [#6](https://github.com/linkiez/DXF-Renewed/issues/6)
|
|
12
|
+
* docs: add version 7.x history to README ([456a38a](https://github.com/linkiez/DXF-Renewed/commit/456a38a))
|
|
13
|
+
* docs: update README.md with current project status and entity support ([956ee41](https://github.com/linkiez/DXF-Renewed/commit/956ee41))
|
|
14
|
+
|
|
8
15
|
## <small>7.2.4 (2026-01-01)</small>
|
|
9
16
|
|
|
10
17
|
* Merge pull request #5 from linkiez/fix/vecks-types ([cdff1cf](https://github.com/linkiez/DXF-Renewed/commit/cdff1cf)), closes [#5](https://github.com/linkiez/DXF-Renewed/issues/5)
|
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# DXF-Renewed
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/bjnortier/dxf)
|
|
4
3
|
[](https://github.com/semantic-release/semantic-release)
|
|
5
4
|
|
|
6
|
-
>
|
|
5
|
+
> **Note:** This is a modernized fork under active development. The core parsing and rendering features are stable, with ongoing work to expand 2D entity coverage. See [ROADMAP.md](./ROADMAP.md) for current progress.
|
|
7
6
|
|
|
8
7
|
DXF parser for node/browser.
|
|
9
8
|
|
|
@@ -29,6 +28,22 @@ Written in **TypeScript** with full type definitions included. Uses modern ES201
|
|
|
29
28
|
- Polyline output for custom renderers (Canvas/WebGL/etc.)
|
|
30
29
|
- Framework-agnostic (no React/Webpack required)
|
|
31
30
|
|
|
31
|
+
## Development Progress
|
|
32
|
+
|
|
33
|
+
This project follows a phased migration plan to align with AutoCAD 2024 DXF specifications and achieve complete 2D coverage.
|
|
34
|
+
|
|
35
|
+
**Current Status (as of 2026-01-01):**
|
|
36
|
+
- ✅ M0 — Baseline & Regression Harness: **Complete**
|
|
37
|
+
- 🔄 M1 — DXF Format & Section-Level Compliance: **Ongoing**
|
|
38
|
+
- 🔄 M2 — TABLES Coverage (2D-Relevant): **In Progress**
|
|
39
|
+
- 🔄 M3 — OBJECTS Coverage (2D-Relevant): **In Progress**
|
|
40
|
+
- 🔄 M4 — ENTITIES: Complete 2D Set: **Ongoing**
|
|
41
|
+
- 🔄 M5 — Rendering Parity (toPolylines / toSVG): **Ongoing**
|
|
42
|
+
|
|
43
|
+
For detailed progress, implementation roadmap, and architecture documentation, see:
|
|
44
|
+
- [ROADMAP.md](./ROADMAP.md) - Full migration plan and progress tracking
|
|
45
|
+
- [ARCHITECTURE.md](./ARCHITECTURE.md) - Architecture overview
|
|
46
|
+
|
|
32
47
|
## Documentation
|
|
33
48
|
|
|
34
49
|
- Project roadmap and progress: [ROADMAP.md](./ROADMAP.md)
|
|
@@ -52,7 +67,7 @@ Written in **TypeScript** with full type definitions included. Uses modern ES201
|
|
|
52
67
|
|
|
53
68
|
**Version 4.x** - Native SVG elements where possible (`<circle />`, `<ellipse />`, etc.)
|
|
54
69
|
|
|
55
|
-
**Version 5.x
|
|
70
|
+
**Version 5.x** - Complete TypeScript migration:
|
|
56
71
|
|
|
57
72
|
- 🎯 Full TypeScript codebase with strict type checking
|
|
58
73
|
- ⚡ Built with esbuild (96% faster than Babel - 18ms vs 447ms)
|
|
@@ -61,6 +76,31 @@ Written in **TypeScript** with full type definitions included. Uses modern ES201
|
|
|
61
76
|
- 🎨 Enhanced SVG rendering with TEXT, MTEXT, and DIMENSION support
|
|
62
77
|
- 📚 Comprehensive type definitions for all DXF entities
|
|
63
78
|
|
|
79
|
+
**Version 7.0.0** - Semantic versioning and project modernization:
|
|
80
|
+
|
|
81
|
+
- 🔄 Implemented semantic-release for automated versioning
|
|
82
|
+
- 🌍 Complete migration to English (en_US) codebase
|
|
83
|
+
- 🎨 Advanced DIMENSION rendering with arrows and extension lines
|
|
84
|
+
- 📝 Consolidated type system and eliminated duplicate interfaces
|
|
85
|
+
- 🔧 TypeScript ESLint support
|
|
86
|
+
|
|
87
|
+
**Version 7.1.0** - Entity coverage expansion:
|
|
88
|
+
|
|
89
|
+
- 🐛 Hardened POLYLINE/VERTEX/SEQEND sequencing
|
|
90
|
+
- 🎯 Fixed block basepoint handling for TEXT/MTEXT/DIMENSION entities
|
|
91
|
+
- 🖼️ Added IMAGE, UNDERLAY, LEADER, and TOLERANCE entity support
|
|
92
|
+
- 🧪 Browser-based SVG rendering integration tests with Playwright
|
|
93
|
+
- 📊 Enhanced DIMENSION support for angular 3-point rendering
|
|
94
|
+
|
|
95
|
+
**Version 7.2.x (Current)** - Complete 2D coverage initiative:
|
|
96
|
+
|
|
97
|
+
- 🎨 Added rendering support for RAY, XLINE, TRACE, SHAPE, WIPEOUT, and LEADER entities
|
|
98
|
+
- 📦 Implemented toJson export functionality
|
|
99
|
+
- 🗂️ Added FIELD, DIMASSOC objects and additional table types
|
|
100
|
+
- 🔧 Migrated functional tests to Vite (removed Babel/React/Webpack)
|
|
101
|
+
- 📚 Consolidated documentation into ROADMAP.md and ARCHITECTURE.md
|
|
102
|
+
- 🏗️ Aligned with AutoCAD 2024 DXF specifications
|
|
103
|
+
|
|
64
104
|
## Supported Entities
|
|
65
105
|
|
|
66
106
|
Many common DXF entities are **parsed and rendered to SVG**. Some entities are parsed but currently skipped during SVG rendering.
|
|
@@ -79,9 +119,10 @@ Many common DXF entities are **parsed and rendered to SVG**. Some entities are p
|
|
|
79
119
|
- ✅ **DIMENSION** - Linear, aligned, radial, diameter, and ordinate dimensions
|
|
80
120
|
- ✅ **SOLID** - Solid-filled triangles and quadrilaterals
|
|
81
121
|
- ✅ **TRACE** - Rendered as a filled path outline
|
|
82
|
-
- ✅ **RAY
|
|
83
|
-
- ✅ **
|
|
84
|
-
- ✅ **
|
|
122
|
+
- ✅ **RAY** - Rendered as polylines (finite fallback)
|
|
123
|
+
- ✅ **XLINE** - Rendered as polylines (finite fallback)
|
|
124
|
+
- ✅ **WIPEOUT** - Rendered as outline fallback (masking not yet implemented)
|
|
125
|
+
- ✅ **LEADER** - Rendered as an SVG path
|
|
85
126
|
- ✅ **TOLERANCE** - Rendered with SVG text fallback
|
|
86
127
|
- ✅ **SHAPE** - Rendered with SVG text fallback
|
|
87
128
|
|
|
@@ -92,8 +133,14 @@ Many common DXF entities are **parsed and rendered to SVG**. Some entities are p
|
|
|
92
133
|
- ⚠️ **POINT** - Parsed but currently not rendered to SVG
|
|
93
134
|
- ⚠️ **3DFACE** - Parsed but currently not rendered to SVG
|
|
94
135
|
- ⚠️ **HATCH** - Parsed but currently not rendered to SVG
|
|
95
|
-
- ⚠️ **ATTDEF/ATTRIB** - Block attributes parsed
|
|
96
|
-
- ⚠️ **
|
|
136
|
+
- ⚠️ **ATTDEF/ATTRIB** - Block attributes parsed but not rendered
|
|
137
|
+
- ⚠️ **MLEADER** - Parsed but not rendered to SVG
|
|
138
|
+
- ⚠️ **OLEFRAME** - Parsed but not rendered to SVG
|
|
139
|
+
- ⚠️ **REGION** - Parsed but not rendered to SVG
|
|
140
|
+
- ⚠️ **TABLE** - Parsed but not rendered to SVG
|
|
141
|
+
- ⚠️ **MLINE** - Parsed but not rendered to SVG
|
|
142
|
+
|
|
143
|
+
> **Note:** Text styles (STYLE table) are parsed. Colors are supported; fonts are not applied to SVG.
|
|
97
144
|
|
|
98
145
|
## Getting started
|
|
99
146
|
|