@mlightcad/libdxfrw-converter 3.5.14 → 3.5.16
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/dist/libdxfrw-converter.js +0 -15
- package/package.json +2 -2
|
@@ -82,7 +82,6 @@ class v {
|
|
|
82
82
|
base: s.base,
|
|
83
83
|
offset: s.offset,
|
|
84
84
|
dashLengths: this.toNumberArray(s.dashPattern)
|
|
85
|
-
// TODO: rename dashPattern to dashLengths
|
|
86
85
|
});
|
|
87
86
|
}
|
|
88
87
|
i.hatchStyle = e.hatchStyle, i.patternName = e.name, i.patternType = e.patternType, i.patternAngle = e.angle, i.patternScale = e.scale;
|
|
@@ -209,7 +208,6 @@ class v {
|
|
|
209
208
|
this.toNumberArray(e.knots),
|
|
210
209
|
i.length > 0 ? i : void 0,
|
|
211
210
|
e.degree,
|
|
212
|
-
// Default degree
|
|
213
211
|
!!(e.flags & 1)
|
|
214
212
|
);
|
|
215
213
|
if (e.numberOfFits > 0) {
|
|
@@ -502,19 +500,6 @@ class le extends q {
|
|
|
502
500
|
});
|
|
503
501
|
}
|
|
504
502
|
}
|
|
505
|
-
/**
|
|
506
|
-
* Groups entities by their `type` property and flattens the result into a single array.
|
|
507
|
-
*
|
|
508
|
-
* The order of `type` groups follows the order in which they first appear in the input array.
|
|
509
|
-
* Items within each group preserve their original order.
|
|
510
|
-
*
|
|
511
|
-
* This runs in O(n) time, which is generally faster than sorting when you
|
|
512
|
-
* don't care about alphabetical order of types.
|
|
513
|
-
*
|
|
514
|
-
* @param entities - The array of entities to group and flatten.
|
|
515
|
-
*
|
|
516
|
-
* @returns A new array of entities grouped by their `type` property.
|
|
517
|
-
*/
|
|
518
503
|
groupAndFlattenByType(e) {
|
|
519
504
|
const i = {}, o = [], n = e.length;
|
|
520
505
|
for (let r = 0; r < n; r++) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlightcad/libdxfrw-converter",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@mlightcad/libdxfrw-web": "0.0.9",
|
|
39
|
-
"@mlightcad/data-model": "1.7.
|
|
39
|
+
"@mlightcad/data-model": "1.7.16"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
|