ignore comments in the start of dxf file (#191)

This commit is contained in:
EL JABIRI Tarik 2022-12-05 02:56:19 +01:00 committed by GitHub
parent 77f75de7a1
commit 22cdafd336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -140,8 +140,8 @@
"webpack-dev-server": "^4.10.0"
},
"dependencies": {
"@dxfjs/parser": "^0.0.2",
"@tarikjabiri/dxf": "^2.6.1",
"@dxfjs/parser": "^0.0.3",
"@tarikjabiri/dxf": "^2.6.2",
"@types/three": "^0.143.0",
"browser-xml2js": "^0.4.19",
"classnames": "2.2.5",

View file

@ -223,7 +223,7 @@ export class DxfParserAdapter {
DxfParserAdapter._seed = 0;
const sketch: SketchFormat_V3 = {
version: 3, objects: [], dimensions: [], labels: [],
stages: [], constants: {}, metadata: {}
stages: [], constants: null, metadata: {}
};
const {arcs, circles, ellipses, lines, points} = dxfObject.entities