@jscad/dxf-deserializer 2.3.29 → 2.3.30
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/CHANGELOG.md +6 -0
- package/package.json +4 -4
- package/tests/test-2d-entities.js +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.3.30](https://github.com/jscad/OpenJSCAD/compare/@jscad/dxf-deserializer@2.3.29...@jscad/dxf-deserializer@2.3.30) (2026-02-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **modeling:** corrected number of step calculations in arc and appendArc ([fc2f7c4](https://github.com/jscad/OpenJSCAD/commit/fc2f7c413f36095909bd358603d65c71a0c972f0))
|
|
11
|
+
|
|
6
12
|
## [2.3.29](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/dxf-deserializer@2.3.28...@jscad/dxf-deserializer@2.3.29) (2026-02-11)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @jscad/dxf-deserializer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jscad/dxf-deserializer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.30",
|
|
4
4
|
"description": "DXF Deserializer for JSCAD",
|
|
5
5
|
"homepage": "https://openjscad.xyz/",
|
|
6
6
|
"repository": "https://github.com/jscad/OpenJSCAD.org",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
],
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@jscad/io-utils": "2.0.
|
|
32
|
-
"@jscad/modeling": "2.
|
|
31
|
+
"@jscad/io-utils": "2.0.33",
|
|
32
|
+
"@jscad/modeling": "2.13.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"ava": "3.15.0",
|
|
36
36
|
"nyc": "15.1.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "602bb2a3a2c2c7c21315e2801804dd1ec0cbd3f8"
|
|
39
39
|
}
|
|
@@ -107,13 +107,13 @@ test('ASCII DXF 2D Donuts from Autocad 2017 to Object Conversion', (t) => {
|
|
|
107
107
|
// expect array containing 23 objects (3 path2)
|
|
108
108
|
t.true(Array.isArray(objs))
|
|
109
109
|
t.is(objs.length, 23)
|
|
110
|
-
// NOTE: the extra
|
|
110
|
+
// NOTE: the extra objects are from the page layout
|
|
111
111
|
t.true(geometries.path2.isA(objs[20]))
|
|
112
|
-
t.is(geometries.path2.toPoints(objs[20]).length,
|
|
112
|
+
t.is(geometries.path2.toPoints(objs[20]).length, 16) // line
|
|
113
113
|
t.true(geometries.path2.isA(objs[21]))
|
|
114
|
-
t.is(geometries.path2.toPoints(objs[21]).length,
|
|
114
|
+
t.is(geometries.path2.toPoints(objs[21]).length, 16) // line
|
|
115
115
|
t.true(geometries.path2.isA(objs[22]))
|
|
116
|
-
t.is(geometries.path2.toPoints(objs[22]).length,
|
|
116
|
+
t.is(geometries.path2.toPoints(objs[22]).length, 16) // arc
|
|
117
117
|
})
|
|
118
118
|
|
|
119
119
|
test('ASCII DXF 2D Ellipses from Autocad 2017 to Object Conversion', (t) => {
|
|
@@ -126,7 +126,7 @@ test('ASCII DXF 2D Ellipses from Autocad 2017 to Object Conversion', (t) => {
|
|
|
126
126
|
// expect array containing 23 objects (3 CAG)
|
|
127
127
|
t.true(Array.isArray(objs))
|
|
128
128
|
t.is(objs.length, 23)
|
|
129
|
-
// NOTE: the extra
|
|
129
|
+
// NOTE: the extra objects are from the page layout
|
|
130
130
|
t.true(geometries.geom2.isA(objs[20]))
|
|
131
131
|
t.true(geometries.geom2.isA(objs[21]))
|
|
132
132
|
t.true(geometries.geom2.isA(objs[22]))
|
|
@@ -142,7 +142,7 @@ test('ASCII DXF 2D Arcs from Autocad 2017 to Object Conversion', (t) => {
|
|
|
142
142
|
// expect array containing 23 objects (9 path2, 14 path2)
|
|
143
143
|
t.true(Array.isArray(objs))
|
|
144
144
|
t.is(objs.length, 23)
|
|
145
|
-
// NOTE: the extra
|
|
145
|
+
// NOTE: the extra objects are from the page layout
|
|
146
146
|
t.true(geometries.path2.isA(objs[20]))
|
|
147
147
|
t.true(geometries.path2.isA(objs[21]))
|
|
148
148
|
t.true(geometries.path2.isA(objs[22]))
|