dxf-json 0.0.9 → 0.0.14
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/package.json +3 -4
- package/src/index.ts +1 -1
- package/src/parser/DxfParser.ts +2 -1
- package/dist/consts/block.d.ts +0 -10
- package/dist/consts/block.js +0 -22
- package/dist/consts/block.js.map +0 -1
- package/dist/consts/color.d.ts +0 -5
- package/dist/consts/color.js +0 -10
- package/dist/consts/color.js.map +0 -1
- package/dist/consts/config.d.ts +0 -2
- package/dist/consts/config.js +0 -6
- package/dist/consts/config.js.map +0 -1
- package/dist/consts/dimension.d.ts +0 -61
- package/dist/consts/dimension.js +0 -74
- package/dist/consts/dimension.js.map +0 -1
- package/dist/consts/hatch.d.ts +0 -44
- package/dist/consts/hatch.js +0 -57
- package/dist/consts/hatch.js.map +0 -1
- package/dist/consts/header.d.ts +0 -9
- package/dist/consts/header.js +0 -13
- package/dist/consts/header.js.map +0 -1
- package/dist/consts/index.d.ts +0 -9
- package/dist/consts/index.js +0 -26
- package/dist/consts/index.js.map +0 -1
- package/dist/consts/lineweight.d.ts +0 -5
- package/dist/consts/lineweight.js +0 -10
- package/dist/consts/lineweight.js.map +0 -1
- package/dist/consts/measurement.d.ts +0 -4
- package/dist/consts/measurement.js +0 -9
- package/dist/consts/measurement.js.map +0 -1
- package/dist/consts/obscuredLineTypes.d.ts +0 -21
- package/dist/consts/obscuredLineTypes.js +0 -26
- package/dist/consts/obscuredLineTypes.js.map +0 -1
- package/dist/consts/scene.d.ts +0 -2
- package/dist/consts/scene.js +0 -6
- package/dist/consts/scene.js.map +0 -1
- package/dist/consts/viewport.d.ts +0 -56
- package/dist/consts/viewport.js +0 -67
- package/dist/consts/viewport.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -9
- package/dist/index.js.map +0 -1
- package/dist/parser/AutoCadColorIndex.d.ts +0 -8
- package/dist/parser/AutoCadColorIndex.js +0 -267
- package/dist/parser/AutoCadColorIndex.js.map +0 -1
- package/dist/parser/DxfArrayScanner.d.ts +0 -38
- package/dist/parser/DxfArrayScanner.js +0 -159
- package/dist/parser/DxfArrayScanner.js.map +0 -1
- package/dist/parser/DxfParser.d.ts +0 -9
- package/dist/parser/DxfParser.js +0 -108
- package/dist/parser/DxfParser.js.map +0 -1
- package/dist/parser/ParseHelpers.d.ts +0 -21
- package/dist/parser/ParseHelpers.js +0 -129
- package/dist/parser/ParseHelpers.js.map +0 -1
- package/dist/parser/blocks/blocks.test.d.ts +0 -1
- package/dist/parser/blocks/blocks.test.js +0 -86
- package/dist/parser/blocks/blocks.test.js.map +0 -1
- package/dist/parser/blocks/index.d.ts +0 -4
- package/dist/parser/blocks/index.js +0 -83
- package/dist/parser/blocks/index.js.map +0 -1
- package/dist/parser/blocks/types.d.ts +0 -14
- package/dist/parser/blocks/types.js +0 -3
- package/dist/parser/blocks/types.js.map +0 -1
- package/dist/parser/entities/3dface.js +0 -106
- package/dist/parser/entities/3dface.js.map +0 -1
- package/dist/parser/entities/arc/index.d.ts +0 -2
- package/dist/parser/entities/arc/index.js +0 -19
- package/dist/parser/entities/arc/index.js.map +0 -1
- package/dist/parser/entities/arc/parser.d.ts +0 -7
- package/dist/parser/entities/arc/parser.js +0 -63
- package/dist/parser/entities/arc/parser.js.map +0 -1
- package/dist/parser/entities/arc/types.d.ts +0 -12
- package/dist/parser/entities/arc/types.js +0 -3
- package/dist/parser/entities/arc/types.js.map +0 -1
- package/dist/parser/entities/attdef/consts.d.ts +0 -11
- package/dist/parser/entities/attdef/consts.js +0 -17
- package/dist/parser/entities/attdef/consts.js.map +0 -1
- package/dist/parser/entities/attdef/index.d.ts +0 -3
- package/dist/parser/entities/attdef/index.js +0 -20
- package/dist/parser/entities/attdef/index.js.map +0 -1
- package/dist/parser/entities/attdef/parser.d.ts +0 -8
- package/dist/parser/entities/attdef/parser.js +0 -108
- package/dist/parser/entities/attdef/parser.js.map +0 -1
- package/dist/parser/entities/attdef/types.d.ts +0 -17
- package/dist/parser/entities/attdef/types.js +0 -3
- package/dist/parser/entities/attdef/types.js.map +0 -1
- package/dist/parser/entities/attribute/consts.d.ts +0 -6
- package/dist/parser/entities/attribute/consts.js +0 -11
- package/dist/parser/entities/attribute/consts.js.map +0 -1
- package/dist/parser/entities/attribute/index.d.ts +0 -3
- package/dist/parser/entities/attribute/index.js +0 -20
- package/dist/parser/entities/attribute/index.js.map +0 -1
- package/dist/parser/entities/attribute/parser.d.ts +0 -8
- package/dist/parser/entities/attribute/parser.js +0 -185
- package/dist/parser/entities/attribute/parser.js.map +0 -1
- package/dist/parser/entities/attribute/types.d.ts +0 -30
- package/dist/parser/entities/attribute/types.js +0 -3
- package/dist/parser/entities/attribute/types.js.map +0 -1
- package/dist/parser/entities/circle/index.d.ts +0 -2
- package/dist/parser/entities/circle/index.js +0 -19
- package/dist/parser/entities/circle/index.js.map +0 -1
- package/dist/parser/entities/circle/parser.d.ts +0 -8
- package/dist/parser/entities/circle/parser.js +0 -50
- package/dist/parser/entities/circle/parser.js.map +0 -1
- package/dist/parser/entities/circle/types.d.ts +0 -10
- package/dist/parser/entities/circle/types.js +0 -3
- package/dist/parser/entities/circle/types.js.map +0 -1
- package/dist/parser/entities/dimension/common.d.ts +0 -6
- package/dist/parser/entities/dimension/common.js +0 -122
- package/dist/parser/entities/dimension/common.js.map +0 -1
- package/dist/parser/entities/dimension/index.d.ts +0 -6
- package/dist/parser/entities/dimension/index.js +0 -21
- package/dist/parser/entities/dimension/index.js.map +0 -1
- package/dist/parser/entities/dimension/types.d.ts +0 -48
- package/dist/parser/entities/dimension/types.js +0 -3
- package/dist/parser/entities/dimension/types.js.map +0 -1
- package/dist/parser/entities/ellipse/index.d.ts +0 -2
- package/dist/parser/entities/ellipse/index.js +0 -19
- package/dist/parser/entities/ellipse/index.js.map +0 -1
- package/dist/parser/entities/ellipse/parser.d.ts +0 -7
- package/dist/parser/entities/ellipse/parser.js +0 -59
- package/dist/parser/entities/ellipse/parser.js.map +0 -1
- package/dist/parser/entities/ellipse/types.d.ts +0 -12
- package/dist/parser/entities/ellipse/types.js +0 -3
- package/dist/parser/entities/ellipse/types.js.map +0 -1
- package/dist/parser/entities/entities.test.d.ts +0 -1
- package/dist/parser/entities/entities.test.js +0 -81
- package/dist/parser/entities/entities.test.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +0 -6
- package/dist/parser/entities/hatch/boundaryPathData/edge.js +0 -178
- package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +0 -5
- package/dist/parser/entities/hatch/boundaryPathData/index.js +0 -23
- package/dist/parser/entities/hatch/boundaryPathData/index.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +0 -2
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js +0 -41
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +0 -2
- package/dist/parser/entities/hatch/boundaryPathData/shared.js +0 -19
- package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +0 -1
- package/dist/parser/entities/hatch/index.d.ts +0 -8
- package/dist/parser/entities/hatch/index.js +0 -183
- package/dist/parser/entities/hatch/index.js.map +0 -1
- package/dist/parser/entities/hatch/patternData.d.ts +0 -3
- package/dist/parser/entities/hatch/patternData.js +0 -54
- package/dist/parser/entities/hatch/patternData.js.map +0 -1
- package/dist/parser/entities/hatch/types/boundaryPath.d.ts +0 -59
- package/dist/parser/entities/hatch/types/boundaryPath.js +0 -3
- package/dist/parser/entities/hatch/types/boundaryPath.js.map +0 -1
- package/dist/parser/entities/hatch/types/definitionLine.d.ts +0 -8
- package/dist/parser/entities/hatch/types/definitionLine.js +0 -3
- package/dist/parser/entities/hatch/types/definitionLine.js.map +0 -1
- package/dist/parser/entities/hatch/types/hatch.d.ts +0 -38
- package/dist/parser/entities/hatch/types/hatch.js +0 -3
- package/dist/parser/entities/hatch/types/hatch.js.map +0 -1
- package/dist/parser/entities/hatch/types/index.d.ts +0 -3
- package/dist/parser/entities/hatch/types/index.js +0 -20
- package/dist/parser/entities/hatch/types/index.js.map +0 -1
- package/dist/parser/entities/index.d.ts +0 -8
- package/dist/parser/entities/index.js +0 -81
- package/dist/parser/entities/index.js.map +0 -1
- package/dist/parser/entities/insert/index.d.ts +0 -2
- package/dist/parser/entities/insert/index.js +0 -19
- package/dist/parser/entities/insert/index.js.map +0 -1
- package/dist/parser/entities/insert/parser.d.ts +0 -8
- package/dist/parser/entities/insert/parser.js +0 -97
- package/dist/parser/entities/insert/parser.js.map +0 -1
- package/dist/parser/entities/insert/types.d.ts +0 -18
- package/dist/parser/entities/insert/types.js +0 -3
- package/dist/parser/entities/insert/types.js.map +0 -1
- package/dist/parser/entities/leader/consts.d.ts +0 -6
- package/dist/parser/entities/leader/consts.js +0 -11
- package/dist/parser/entities/leader/consts.js.map +0 -1
- package/dist/parser/entities/leader/index.d.ts +0 -3
- package/dist/parser/entities/leader/index.js +0 -20
- package/dist/parser/entities/leader/index.js.map +0 -1
- package/dist/parser/entities/leader/parser.d.ts +0 -8
- package/dist/parser/entities/leader/parser.js +0 -110
- package/dist/parser/entities/leader/parser.js.map +0 -1
- package/dist/parser/entities/leader/types.d.ts +0 -23
- package/dist/parser/entities/leader/types.js +0 -3
- package/dist/parser/entities/leader/types.js.map +0 -1
- package/dist/parser/entities/line/index.d.ts +0 -2
- package/dist/parser/entities/line/index.js +0 -19
- package/dist/parser/entities/line/index.js.map +0 -1
- package/dist/parser/entities/line/parser.d.ts +0 -8
- package/dist/parser/entities/line/parser.js +0 -50
- package/dist/parser/entities/line/parser.js.map +0 -1
- package/dist/parser/entities/line/types.d.ts +0 -10
- package/dist/parser/entities/line/types.js +0 -3
- package/dist/parser/entities/line/types.js.map +0 -1
- package/dist/parser/entities/lwpolyline/consts.d.ts +0 -4
- package/dist/parser/entities/lwpolyline/consts.js +0 -9
- package/dist/parser/entities/lwpolyline/consts.js.map +0 -1
- package/dist/parser/entities/lwpolyline/index.d.ts +0 -3
- package/dist/parser/entities/lwpolyline/index.js +0 -20
- package/dist/parser/entities/lwpolyline/index.js.map +0 -1
- package/dist/parser/entities/lwpolyline/parser.d.ts +0 -7
- package/dist/parser/entities/lwpolyline/parser.js +0 -105
- package/dist/parser/entities/lwpolyline/parser.js.map +0 -1
- package/dist/parser/entities/lwpolyline/types.d.ts +0 -19
- package/dist/parser/entities/lwpolyline/types.js +0 -3
- package/dist/parser/entities/lwpolyline/types.js.map +0 -1
- package/dist/parser/entities/mtext/consts.d.ts +0 -5
- package/dist/parser/entities/mtext/consts.js +0 -10
- package/dist/parser/entities/mtext/consts.js.map +0 -1
- package/dist/parser/entities/mtext/index.d.ts +0 -3
- package/dist/parser/entities/mtext/index.js +0 -20
- package/dist/parser/entities/mtext/index.js.map +0 -1
- package/dist/parser/entities/mtext/parser.d.ts +0 -10
- package/dist/parser/entities/mtext/parser.js +0 -188
- package/dist/parser/entities/mtext/parser.js.map +0 -1
- package/dist/parser/entities/mtext/types.d.ts +0 -33
- package/dist/parser/entities/mtext/types.js +0 -3
- package/dist/parser/entities/mtext/types.js.map +0 -1
- package/dist/parser/entities/point/index.d.ts +0 -2
- package/dist/parser/entities/point/index.js +0 -19
- package/dist/parser/entities/point/index.js.map +0 -1
- package/dist/parser/entities/point/parser.d.ts +0 -6
- package/dist/parser/entities/point/parser.js +0 -54
- package/dist/parser/entities/point/parser.js.map +0 -1
- package/dist/parser/entities/point/types.d.ts +0 -9
- package/dist/parser/entities/point/types.js +0 -3
- package/dist/parser/entities/point/types.js.map +0 -1
- package/dist/parser/entities/polyline/consts.d.ts +0 -16
- package/dist/parser/entities/polyline/consts.js +0 -22
- package/dist/parser/entities/polyline/consts.js.map +0 -1
- package/dist/parser/entities/polyline/index.d.ts +0 -3
- package/dist/parser/entities/polyline/index.js +0 -20
- package/dist/parser/entities/polyline/index.js.map +0 -1
- package/dist/parser/entities/polyline/parser.d.ts +0 -7
- package/dist/parser/entities/polyline/parser.js +0 -118
- package/dist/parser/entities/polyline/parser.js.map +0 -1
- package/dist/parser/entities/polyline/types.d.ts +0 -19
- package/dist/parser/entities/polyline/types.js +0 -3
- package/dist/parser/entities/polyline/types.js.map +0 -1
- package/dist/parser/entities/section/index.d.ts +0 -2
- package/dist/parser/entities/section/index.js +0 -19
- package/dist/parser/entities/section/index.js.map +0 -1
- package/dist/parser/entities/section/parser.d.ts +0 -7
- package/dist/parser/entities/section/parser.js +0 -97
- package/dist/parser/entities/section/parser.js.map +0 -1
- package/dist/parser/entities/section/types.d.ts +0 -19
- package/dist/parser/entities/section/types.js +0 -3
- package/dist/parser/entities/section/types.js.map +0 -1
- package/dist/parser/entities/shared.d.ts +0 -35
- package/dist/parser/entities/shared.js +0 -136
- package/dist/parser/entities/shared.js.map +0 -1
- package/dist/parser/entities/solid/index.d.ts +0 -2
- package/dist/parser/entities/solid/index.js +0 -19
- package/dist/parser/entities/solid/index.js.map +0 -1
- package/dist/parser/entities/solid/parser.d.ts +0 -8
- package/dist/parser/entities/solid/parser.js +0 -48
- package/dist/parser/entities/solid/parser.js.map +0 -1
- package/dist/parser/entities/solid/types.d.ts +0 -9
- package/dist/parser/entities/solid/types.js +0 -3
- package/dist/parser/entities/solid/types.js.map +0 -1
- package/dist/parser/entities/spline/consts.d.ts +0 -8
- package/dist/parser/entities/spline/consts.js +0 -13
- package/dist/parser/entities/spline/consts.js.map +0 -1
- package/dist/parser/entities/spline/index.d.ts +0 -3
- package/dist/parser/entities/spline/index.js +0 -20
- package/dist/parser/entities/spline/index.js.map +0 -1
- package/dist/parser/entities/spline/parser.d.ts +0 -8
- package/dist/parser/entities/spline/parser.js +0 -113
- package/dist/parser/entities/spline/parser.js.map +0 -1
- package/dist/parser/entities/spline/types.d.ts +0 -21
- package/dist/parser/entities/spline/types.js +0 -3
- package/dist/parser/entities/spline/types.js.map +0 -1
- package/dist/parser/entities/text/consts.d.ts +0 -19
- package/dist/parser/entities/text/consts.js +0 -26
- package/dist/parser/entities/text/consts.js.map +0 -1
- package/dist/parser/entities/text/index.d.ts +0 -3
- package/dist/parser/entities/text/index.js +0 -20
- package/dist/parser/entities/text/index.js.map +0 -1
- package/dist/parser/entities/text/parser.d.ts +0 -26
- package/dist/parser/entities/text/parser.js +0 -112
- package/dist/parser/entities/text/parser.js.map +0 -1
- package/dist/parser/entities/text/types.d.ts +0 -20
- package/dist/parser/entities/text/types.js +0 -3
- package/dist/parser/entities/text/types.js.map +0 -1
- package/dist/parser/entities/vertex/consts.d.ts +0 -10
- package/dist/parser/entities/vertex/consts.js +0 -15
- package/dist/parser/entities/vertex/consts.js.map +0 -1
- package/dist/parser/entities/vertex/index.d.ts +0 -3
- package/dist/parser/entities/vertex/index.js +0 -20
- package/dist/parser/entities/vertex/index.js.map +0 -1
- package/dist/parser/entities/vertex/parser.d.ts +0 -8
- package/dist/parser/entities/vertex/parser.js +0 -86
- package/dist/parser/entities/vertex/parser.js.map +0 -1
- package/dist/parser/entities/vertex/types.d.ts +0 -16
- package/dist/parser/entities/vertex/types.js +0 -3
- package/dist/parser/entities/vertex/types.js.map +0 -1
- package/dist/parser/entities/viewport/index.d.ts +0 -5
- package/dist/parser/entities/viewport/index.js +0 -195
- package/dist/parser/entities/viewport/index.js.map +0 -1
- package/dist/parser/entities/viewport/types.d.ts +0 -51
- package/dist/parser/entities/viewport/types.js +0 -3
- package/dist/parser/entities/viewport/types.js.map +0 -1
- package/dist/parser/filterDummyBlocks.d.ts +0 -2
- package/dist/parser/filterDummyBlocks.js +0 -37
- package/dist/parser/filterDummyBlocks.js.map +0 -1
- package/dist/parser/header/index.d.ts +0 -3
- package/dist/parser/header/index.js +0 -32
- package/dist/parser/header/index.js.map +0 -1
- package/dist/parser/objects/common.d.ts +0 -8
- package/dist/parser/objects/common.js +0 -51
- package/dist/parser/objects/common.js.map +0 -1
- package/dist/parser/objects/dictionary.d.ts +0 -20
- package/dist/parser/objects/dictionary.js +0 -50
- package/dist/parser/objects/dictionary.js.map +0 -1
- package/dist/parser/objects/index.d.ts +0 -6
- package/dist/parser/objects/index.js +0 -43
- package/dist/parser/objects/index.js.map +0 -1
- package/dist/parser/objects/layout.d.ts +0 -30
- package/dist/parser/objects/layout.js +0 -110
- package/dist/parser/objects/layout.js.map +0 -1
- package/dist/parser/objects/plotSettings.d.ts +0 -64
- package/dist/parser/objects/plotSettings.js +0 -198
- package/dist/parser/objects/plotSettings.js.map +0 -1
- package/dist/parser/objects/treefy.d.ts +0 -2
- package/dist/parser/objects/treefy.js +0 -37
- package/dist/parser/objects/treefy.js.map +0 -1
- package/dist/parser/objects/types.d.ts +0 -15
- package/dist/parser/objects/types.js +0 -3
- package/dist/parser/objects/types.js.map +0 -1
- package/dist/parser/shared/index.d.ts +0 -7
- package/dist/parser/shared/index.js +0 -22
- package/dist/parser/shared/index.js.map +0 -1
- package/dist/parser/shared/parsePoint.d.ts +0 -7
- package/dist/parser/shared/parsePoint.js +0 -33
- package/dist/parser/shared/parsePoint.js.map +0 -1
- package/dist/parser/shared/parserGenerator.d.ts +0 -15
- package/dist/parser/shared/parserGenerator.js +0 -114
- package/dist/parser/shared/parserGenerator.js.map +0 -1
- package/dist/parser/shared/parserGenerator.test.d.ts +0 -1
- package/dist/parser/shared/parserGenerator.test.js +0 -153
- package/dist/parser/shared/parserGenerator.test.js.map +0 -1
- package/dist/parser/shared/xdata/index.d.ts +0 -3
- package/dist/parser/shared/xdata/index.js +0 -20
- package/dist/parser/shared/xdata/index.js.map +0 -1
- package/dist/parser/shared/xdata/interpreter.d.ts +0 -20
- package/dist/parser/shared/xdata/interpreter.js +0 -43
- package/dist/parser/shared/xdata/interpreter.js.map +0 -1
- package/dist/parser/shared/xdata/interpreter.test.d.ts +0 -1
- package/dist/parser/shared/xdata/interpreter.test.js +0 -83
- package/dist/parser/shared/xdata/interpreter.test.js.map +0 -1
- package/dist/parser/shared/xdata/parser.d.ts +0 -6
- package/dist/parser/shared/xdata/parser.js +0 -133
- package/dist/parser/shared/xdata/parser.js.map +0 -1
- package/dist/parser/shared/xdata/parser.test.d.ts +0 -1
- package/dist/parser/shared/xdata/parser.test.js +0 -64
- package/dist/parser/shared/xdata/parser.test.js.map +0 -1
- package/dist/parser/shared/xdata/types.d.ts +0 -9
- package/dist/parser/shared/xdata/types.js +0 -3
- package/dist/parser/shared/xdata/types.js.map +0 -1
- package/dist/parser/tables/blockRecord/index.d.ts +0 -2
- package/dist/parser/tables/blockRecord/index.js +0 -19
- package/dist/parser/tables/blockRecord/index.js.map +0 -1
- package/dist/parser/tables/blockRecord/parser.d.ts +0 -1
- package/dist/parser/tables/blockRecord/parser.js +0 -45
- package/dist/parser/tables/blockRecord/parser.js.map +0 -1
- package/dist/parser/tables/blockRecord/types.d.ts +0 -10
- package/dist/parser/tables/blockRecord/types.js +0 -3
- package/dist/parser/tables/blockRecord/types.js.map +0 -1
- package/dist/parser/tables/dimStyle/consts.d.ts +0 -2
- package/dist/parser/tables/dimStyle/consts.js +0 -424
- package/dist/parser/tables/dimStyle/consts.js.map +0 -1
- package/dist/parser/tables/dimStyle/index.d.ts +0 -3
- package/dist/parser/tables/dimStyle/index.js +0 -20
- package/dist/parser/tables/dimStyle/index.js.map +0 -1
- package/dist/parser/tables/dimStyle/parser.d.ts +0 -1
- package/dist/parser/tables/dimStyle/parser.js +0 -35
- package/dist/parser/tables/dimStyle/parser.js.map +0 -1
- package/dist/parser/tables/dimStyle/types.d.ts +0 -83
- package/dist/parser/tables/dimStyle/types.js +0 -3
- package/dist/parser/tables/dimStyle/types.js.map +0 -1
- package/dist/parser/tables/index.d.ts +0 -2
- package/dist/parser/tables/index.js +0 -19
- package/dist/parser/tables/index.js.map +0 -1
- package/dist/parser/tables/layer/index.d.ts +0 -2
- package/dist/parser/tables/layer/index.js +0 -19
- package/dist/parser/tables/layer/index.js.map +0 -1
- package/dist/parser/tables/layer/parser.d.ts +0 -1
- package/dist/parser/tables/layer/parser.js +0 -55
- package/dist/parser/tables/layer/parser.js.map +0 -1
- package/dist/parser/tables/layer/types.d.ts +0 -13
- package/dist/parser/tables/layer/types.js +0 -3
- package/dist/parser/tables/layer/types.js.map +0 -1
- package/dist/parser/tables/ltype/consts.d.ts +0 -6
- package/dist/parser/tables/ltype/consts.js +0 -11
- package/dist/parser/tables/ltype/consts.js.map +0 -1
- package/dist/parser/tables/ltype/index.d.ts +0 -3
- package/dist/parser/tables/ltype/index.js +0 -20
- package/dist/parser/tables/ltype/index.js.map +0 -1
- package/dist/parser/tables/ltype/parser.d.ts +0 -1
- package/dist/parser/tables/ltype/parser.js +0 -105
- package/dist/parser/tables/ltype/parser.js.map +0 -1
- package/dist/parser/tables/ltype/types.d.ts +0 -21
- package/dist/parser/tables/ltype/types.js +0 -3
- package/dist/parser/tables/ltype/types.js.map +0 -1
- package/dist/parser/tables/parser.d.ts +0 -2
- package/dist/parser/tables/parser.js +0 -90
- package/dist/parser/tables/parser.js.map +0 -1
- package/dist/parser/tables/shared.d.ts +0 -2
- package/dist/parser/tables/shared.js +0 -32
- package/dist/parser/tables/shared.js.map +0 -1
- package/dist/parser/tables/style/index.d.ts +0 -2
- package/dist/parser/tables/style/index.js +0 -19
- package/dist/parser/tables/style/index.js.map +0 -1
- package/dist/parser/tables/style/parser.d.ts +0 -1
- package/dist/parser/tables/style/parser.js +0 -68
- package/dist/parser/tables/style/parser.js.map +0 -1
- package/dist/parser/tables/style/types.d.ts +0 -14
- package/dist/parser/tables/style/types.js +0 -3
- package/dist/parser/tables/style/types.js.map +0 -1
- package/dist/parser/tables/types.d.ts +0 -14
- package/dist/parser/tables/types.js +0 -3
- package/dist/parser/tables/types.js.map +0 -1
- package/dist/parser/tables/vport/index.d.ts +0 -2
- package/dist/parser/tables/vport/index.js +0 -19
- package/dist/parser/tables/vport/index.js.map +0 -1
- package/dist/parser/tables/vport/parser.d.ts +0 -1
- package/dist/parser/tables/vport/parser.js +0 -201
- package/dist/parser/tables/vport/parser.js.map +0 -1
- package/dist/parser/tables/vport/types.d.ts +0 -43
- package/dist/parser/tables/vport/types.js +0 -3
- package/dist/parser/tables/vport/types.js.map +0 -1
- package/dist/parser/types.d.ts +0 -29
- package/dist/parser/types.js +0 -3
- package/dist/parser/types.js.map +0 -1
- package/dist/types/color.d.ts +0 -3
- package/dist/types/color.js +0 -3
- package/dist/types/color.js.map +0 -1
- package/dist/types/dxfHeader.d.ts +0 -16
- package/dist/types/dxfHeader.js +0 -3
- package/dist/types/dxfHeader.js.map +0 -1
- package/dist/types/entity.d.ts +0 -6
- package/dist/types/entity.js +0 -3
- package/dist/types/entity.js.map +0 -1
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/utils/binarySearch.d.ts +0 -1
- package/dist/utils/binarySearch.js +0 -23
- package/dist/utils/binarySearch.js.map +0 -1
- package/dist/utils/disjointSet.d.ts +0 -6
- package/dist/utils/disjointSet.js +0 -52
- package/dist/utils/disjointSet.js.map +0 -1
- package/dist/utils/flooding.d.ts +0 -8
- package/dist/utils/flooding.js +0 -26
- package/dist/utils/flooding.js.map +0 -1
- package/dist/utils/functional.d.ts +0 -17
- package/dist/utils/functional.js +0 -111
- package/dist/utils/functional.js.map +0 -1
- package/dist/utils/graph.d.ts +0 -19
- package/dist/utils/graph.js +0 -47
- package/dist/utils/graph.js.map +0 -1
- package/dist/utils/index.d.ts +0 -30
- package/dist/utils/index.js +0 -106
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/queue.d.ts +0 -19
- package/dist/utils/queue.js +0 -71
- package/dist/utils/queue.js.map +0 -1
- package/dist/utils/triangle.d.ts +0 -2
- package/dist/utils/triangle.js +0 -19
- package/dist/utils/triangle.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dxf-json",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "perfect dxf parser",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"
|
|
8
|
-
"module": "./dist/index.js",
|
|
7
|
+
"module": "./dist/bundle.js",
|
|
9
8
|
"scripts": {
|
|
10
|
-
"build": "
|
|
9
|
+
"build": "webpack --mode production",
|
|
11
10
|
"test:parser": "jest --silent=false"
|
|
12
11
|
},
|
|
13
12
|
"repository": {
|
package/src/index.ts
CHANGED
package/src/parser/DxfParser.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import fs from "fs";
|
|
1
2
|
import DxfArrayScanner from './DxfArrayScanner';
|
|
2
3
|
import { parseHeader } from './header';
|
|
3
4
|
import { parseTables } from './tables';
|
|
@@ -18,7 +19,7 @@ export default class DxfParser {
|
|
|
18
19
|
|
|
19
20
|
return this.parseAll(scanner);
|
|
20
21
|
}
|
|
21
|
-
parseStream(stream: Readable) {
|
|
22
|
+
parseStream(stream: Readable | fs.ReadStream) {
|
|
22
23
|
let dxfString = "";
|
|
23
24
|
const self = this;
|
|
24
25
|
return new Promise<ParsedDxf>((res, rej) => {
|
package/dist/consts/block.d.ts
DELETED
package/dist/consts/block.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BlockTypeFlag = void 0;
|
|
4
|
-
var BlockTypeFlag;
|
|
5
|
-
(function (BlockTypeFlag) {
|
|
6
|
-
BlockTypeFlag[BlockTypeFlag["None"] = 0] = "None";
|
|
7
|
-
// anonymous block generated by hatching, associative dimensioning,
|
|
8
|
-
// other internal operations, or an application
|
|
9
|
-
BlockTypeFlag[BlockTypeFlag["Anonymous"] = 1] = "Anonymous";
|
|
10
|
-
// this bit is not set if the block has any attribute definitions that
|
|
11
|
-
// are constant, or has no attribute definitions at all
|
|
12
|
-
BlockTypeFlag[BlockTypeFlag["NonConstant"] = 2] = "NonConstant";
|
|
13
|
-
// external referenced
|
|
14
|
-
BlockTypeFlag[BlockTypeFlag["Xref"] = 4] = "Xref";
|
|
15
|
-
BlockTypeFlag[BlockTypeFlag["XrefOverlay"] = 8] = "XrefOverlay";
|
|
16
|
-
BlockTypeFlag[BlockTypeFlag["ExternallyDependent"] = 16] = "ExternallyDependent";
|
|
17
|
-
// resolved external reference, or dependent of an external reference
|
|
18
|
-
BlockTypeFlag[BlockTypeFlag["ResolvedOrDependent"] = 32] = "ResolvedOrDependent";
|
|
19
|
-
// referenced external reference
|
|
20
|
-
BlockTypeFlag[BlockTypeFlag["ReferencedXref"] = 64] = "ReferencedXref";
|
|
21
|
-
})(BlockTypeFlag || (exports.BlockTypeFlag = BlockTypeFlag = {}));
|
|
22
|
-
//# sourceMappingURL=block.js.map
|
package/dist/consts/block.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"block.js","sourceRoot":"","sources":["../../src/consts/block.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAqBX;AArBD,WAAY,aAAa;IACrB,iDAAQ,CAAA;IAER,mEAAmE;IACnE,+CAA+C;IAC/C,2DAAa,CAAA;IAEb,sEAAsE;IACtE,uDAAuD;IACvD,+DAAe,CAAA;IAEf,sBAAsB;IACtB,iDAAQ,CAAA;IACR,+DAAe,CAAA;IACf,gFAAwB,CAAA;IAExB,qEAAqE;IACrE,gFAAwB,CAAA;IAExB,gCAAgC;IAChC,sEAAmB,CAAA;AACvB,CAAC,EArBW,aAAa,6BAAb,aAAa,QAqBxB"}
|
package/dist/consts/color.d.ts
DELETED
package/dist/consts/color.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UndeterminedBlockColor = exports.ColorCode = void 0;
|
|
4
|
-
var ColorCode;
|
|
5
|
-
(function (ColorCode) {
|
|
6
|
-
ColorCode[ColorCode["BYBLOCK"] = 0] = "BYBLOCK";
|
|
7
|
-
ColorCode[ColorCode["BYLAYER"] = 256] = "BYLAYER";
|
|
8
|
-
})(ColorCode || (exports.ColorCode = ColorCode = {}));
|
|
9
|
-
exports.UndeterminedBlockColor = -1;
|
|
10
|
-
//# sourceMappingURL=color.js.map
|
package/dist/consts/color.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.js","sourceRoot":"","sources":["../../src/consts/color.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,+CAAW,CAAA;IACX,iDAAa,CAAA;AACjB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;AAEY,QAAA,sBAAsB,GAAG,CAAC,CAAC,CAAC"}
|
package/dist/consts/config.d.ts
DELETED
package/dist/consts/config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/consts/config.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG,CAAC,CAAC;AACvB,QAAA,kBAAkB,GAAG,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare enum DimensionType {
|
|
2
|
-
Rotated = 0,
|
|
3
|
-
Aligned = 1,
|
|
4
|
-
Angular = 2,
|
|
5
|
-
Diameter = 3,
|
|
6
|
-
Radius = 4,
|
|
7
|
-
Angular3Point = 5,
|
|
8
|
-
Ordinate = 6,
|
|
9
|
-
ReferenceIsExclusive = 32,
|
|
10
|
-
IsOrdinateXTypeFlag = 64,
|
|
11
|
-
IsCustomTextPositionFlag = 128
|
|
12
|
-
}
|
|
13
|
-
export declare enum AttachmentPoint {
|
|
14
|
-
TopLeft = 1,
|
|
15
|
-
TopCenter = 2,
|
|
16
|
-
TopRight = 3,
|
|
17
|
-
MiddleLeft = 4,
|
|
18
|
-
MiddleCenter = 5,
|
|
19
|
-
MiddleRight = 6,
|
|
20
|
-
BottomLeft = 7,
|
|
21
|
-
BottomCenter = 8,
|
|
22
|
-
BottomRight = 9
|
|
23
|
-
}
|
|
24
|
-
export declare enum DimensionTextLineSpacing {
|
|
25
|
-
AtLeast = 1,
|
|
26
|
-
Exact = 2
|
|
27
|
-
}
|
|
28
|
-
export declare enum DimensionTextVertical {
|
|
29
|
-
Center = 0,
|
|
30
|
-
Above = 1,
|
|
31
|
-
Outside = 2,
|
|
32
|
-
JIS = 3,
|
|
33
|
-
Below = 4
|
|
34
|
-
}
|
|
35
|
-
export declare enum DimensionZeroSuppression {
|
|
36
|
-
Feet = 0,
|
|
37
|
-
None = 1,
|
|
38
|
-
Inch = 2,
|
|
39
|
-
FeetAndInch = 3,
|
|
40
|
-
Leading = 4,
|
|
41
|
-
Trailing = 8,
|
|
42
|
-
LeadingAndTrailing = 12
|
|
43
|
-
}
|
|
44
|
-
export declare enum DimensionZeroSuppressionAngular {
|
|
45
|
-
None = 0,
|
|
46
|
-
Leading = 1,
|
|
47
|
-
Trailing = 2,
|
|
48
|
-
LeadingAndTrailing = 3
|
|
49
|
-
}
|
|
50
|
-
export declare enum DimensionTextHorizontal {
|
|
51
|
-
Center = 0,
|
|
52
|
-
Left = 1,
|
|
53
|
-
Right = 2,
|
|
54
|
-
OverFirst = 3,
|
|
55
|
-
OverSecond = 4
|
|
56
|
-
}
|
|
57
|
-
export declare enum DimensionToleranceTextVertical {
|
|
58
|
-
Bottom = 0,
|
|
59
|
-
Center = 1,
|
|
60
|
-
Top = 2
|
|
61
|
-
}
|
package/dist/consts/dimension.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DimensionToleranceTextVertical = exports.DimensionTextHorizontal = exports.DimensionZeroSuppressionAngular = exports.DimensionZeroSuppression = exports.DimensionTextVertical = exports.DimensionTextLineSpacing = exports.AttachmentPoint = exports.DimensionType = void 0;
|
|
4
|
-
// https://help.autodesk.com/view/OARX/2023/ENU/?guid=GUID-EDD54EAC-A339-4EBA-AEA6-EC8066505E2B
|
|
5
|
-
var DimensionType;
|
|
6
|
-
(function (DimensionType) {
|
|
7
|
-
DimensionType[DimensionType["Rotated"] = 0] = "Rotated";
|
|
8
|
-
DimensionType[DimensionType["Aligned"] = 1] = "Aligned";
|
|
9
|
-
DimensionType[DimensionType["Angular"] = 2] = "Angular";
|
|
10
|
-
DimensionType[DimensionType["Diameter"] = 3] = "Diameter";
|
|
11
|
-
DimensionType[DimensionType["Radius"] = 4] = "Radius";
|
|
12
|
-
DimensionType[DimensionType["Angular3Point"] = 5] = "Angular3Point";
|
|
13
|
-
DimensionType[DimensionType["Ordinate"] = 6] = "Ordinate";
|
|
14
|
-
DimensionType[DimensionType["ReferenceIsExclusive"] = 32] = "ReferenceIsExclusive";
|
|
15
|
-
DimensionType[DimensionType["IsOrdinateXTypeFlag"] = 64] = "IsOrdinateXTypeFlag";
|
|
16
|
-
DimensionType[DimensionType["IsCustomTextPositionFlag"] = 128] = "IsCustomTextPositionFlag";
|
|
17
|
-
})(DimensionType || (exports.DimensionType = DimensionType = {}));
|
|
18
|
-
var AttachmentPoint;
|
|
19
|
-
(function (AttachmentPoint) {
|
|
20
|
-
AttachmentPoint[AttachmentPoint["TopLeft"] = 1] = "TopLeft";
|
|
21
|
-
AttachmentPoint[AttachmentPoint["TopCenter"] = 2] = "TopCenter";
|
|
22
|
-
AttachmentPoint[AttachmentPoint["TopRight"] = 3] = "TopRight";
|
|
23
|
-
AttachmentPoint[AttachmentPoint["MiddleLeft"] = 4] = "MiddleLeft";
|
|
24
|
-
AttachmentPoint[AttachmentPoint["MiddleCenter"] = 5] = "MiddleCenter";
|
|
25
|
-
AttachmentPoint[AttachmentPoint["MiddleRight"] = 6] = "MiddleRight";
|
|
26
|
-
AttachmentPoint[AttachmentPoint["BottomLeft"] = 7] = "BottomLeft";
|
|
27
|
-
AttachmentPoint[AttachmentPoint["BottomCenter"] = 8] = "BottomCenter";
|
|
28
|
-
AttachmentPoint[AttachmentPoint["BottomRight"] = 9] = "BottomRight";
|
|
29
|
-
})(AttachmentPoint || (exports.AttachmentPoint = AttachmentPoint = {}));
|
|
30
|
-
var DimensionTextLineSpacing;
|
|
31
|
-
(function (DimensionTextLineSpacing) {
|
|
32
|
-
DimensionTextLineSpacing[DimensionTextLineSpacing["AtLeast"] = 1] = "AtLeast";
|
|
33
|
-
DimensionTextLineSpacing[DimensionTextLineSpacing["Exact"] = 2] = "Exact";
|
|
34
|
-
})(DimensionTextLineSpacing || (exports.DimensionTextLineSpacing = DimensionTextLineSpacing = {}));
|
|
35
|
-
var DimensionTextVertical;
|
|
36
|
-
(function (DimensionTextVertical) {
|
|
37
|
-
DimensionTextVertical[DimensionTextVertical["Center"] = 0] = "Center";
|
|
38
|
-
DimensionTextVertical[DimensionTextVertical["Above"] = 1] = "Above";
|
|
39
|
-
DimensionTextVertical[DimensionTextVertical["Outside"] = 2] = "Outside";
|
|
40
|
-
DimensionTextVertical[DimensionTextVertical["JIS"] = 3] = "JIS";
|
|
41
|
-
DimensionTextVertical[DimensionTextVertical["Below"] = 4] = "Below";
|
|
42
|
-
})(DimensionTextVertical || (exports.DimensionTextVertical = DimensionTextVertical = {}));
|
|
43
|
-
var DimensionZeroSuppression;
|
|
44
|
-
(function (DimensionZeroSuppression) {
|
|
45
|
-
DimensionZeroSuppression[DimensionZeroSuppression["Feet"] = 0] = "Feet";
|
|
46
|
-
DimensionZeroSuppression[DimensionZeroSuppression["None"] = 1] = "None";
|
|
47
|
-
DimensionZeroSuppression[DimensionZeroSuppression["Inch"] = 2] = "Inch";
|
|
48
|
-
DimensionZeroSuppression[DimensionZeroSuppression["FeetAndInch"] = 3] = "FeetAndInch";
|
|
49
|
-
DimensionZeroSuppression[DimensionZeroSuppression["Leading"] = 4] = "Leading";
|
|
50
|
-
DimensionZeroSuppression[DimensionZeroSuppression["Trailing"] = 8] = "Trailing";
|
|
51
|
-
DimensionZeroSuppression[DimensionZeroSuppression["LeadingAndTrailing"] = 12] = "LeadingAndTrailing";
|
|
52
|
-
})(DimensionZeroSuppression || (exports.DimensionZeroSuppression = DimensionZeroSuppression = {}));
|
|
53
|
-
var DimensionZeroSuppressionAngular;
|
|
54
|
-
(function (DimensionZeroSuppressionAngular) {
|
|
55
|
-
DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["None"] = 0] = "None";
|
|
56
|
-
DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["Leading"] = 1] = "Leading";
|
|
57
|
-
DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["Trailing"] = 2] = "Trailing";
|
|
58
|
-
DimensionZeroSuppressionAngular[DimensionZeroSuppressionAngular["LeadingAndTrailing"] = 3] = "LeadingAndTrailing";
|
|
59
|
-
})(DimensionZeroSuppressionAngular || (exports.DimensionZeroSuppressionAngular = DimensionZeroSuppressionAngular = {}));
|
|
60
|
-
var DimensionTextHorizontal;
|
|
61
|
-
(function (DimensionTextHorizontal) {
|
|
62
|
-
DimensionTextHorizontal[DimensionTextHorizontal["Center"] = 0] = "Center";
|
|
63
|
-
DimensionTextHorizontal[DimensionTextHorizontal["Left"] = 1] = "Left";
|
|
64
|
-
DimensionTextHorizontal[DimensionTextHorizontal["Right"] = 2] = "Right";
|
|
65
|
-
DimensionTextHorizontal[DimensionTextHorizontal["OverFirst"] = 3] = "OverFirst";
|
|
66
|
-
DimensionTextHorizontal[DimensionTextHorizontal["OverSecond"] = 4] = "OverSecond";
|
|
67
|
-
})(DimensionTextHorizontal || (exports.DimensionTextHorizontal = DimensionTextHorizontal = {}));
|
|
68
|
-
var DimensionToleranceTextVertical;
|
|
69
|
-
(function (DimensionToleranceTextVertical) {
|
|
70
|
-
DimensionToleranceTextVertical[DimensionToleranceTextVertical["Bottom"] = 0] = "Bottom";
|
|
71
|
-
DimensionToleranceTextVertical[DimensionToleranceTextVertical["Center"] = 1] = "Center";
|
|
72
|
-
DimensionToleranceTextVertical[DimensionToleranceTextVertical["Top"] = 2] = "Top";
|
|
73
|
-
})(DimensionToleranceTextVertical || (exports.DimensionToleranceTextVertical = DimensionToleranceTextVertical = {}));
|
|
74
|
-
//# sourceMappingURL=dimension.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dimension.js","sourceRoot":"","sources":["../../src/consts/dimension.ts"],"names":[],"mappings":";;;AAAA,+FAA+F;AAC/F,IAAY,aAWX;AAXD,WAAY,aAAa;IACrB,uDAAW,CAAA;IACX,uDAAW,CAAA;IACX,uDAAW,CAAA;IACX,yDAAY,CAAA;IACZ,qDAAU,CAAA;IACV,mEAAiB,CAAA;IACjB,yDAAY,CAAA;IACZ,kFAAyB,CAAA;IACzB,gFAAwB,CAAA;IACxB,2FAA8B,CAAA;AAClC,CAAC,EAXW,aAAa,6BAAb,aAAa,QAWxB;AAED,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,2DAAW,CAAA;IACX,+DAAa,CAAA;IACb,6DAAY,CAAA;IACZ,iEAAc,CAAA;IACd,qEAAgB,CAAA;IAChB,mEAAe,CAAA;IACf,iEAAc,CAAA;IACd,qEAAgB,CAAA;IAChB,mEAAe,CAAA;AACnB,CAAC,EAVW,eAAe,+BAAf,eAAe,QAU1B;AAED,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,6EAAW,CAAA;IACX,yEAAS,CAAA;AACb,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC;AAED,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC7B,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uEAAW,CAAA;IACX,+DAAO,CAAA;IACP,mEAAS,CAAA;AACb,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAED,IAAY,wBAQX;AARD,WAAY,wBAAwB;IAChC,uEAAQ,CAAA;IACR,uEAAQ,CAAA;IACR,uEAAQ,CAAA;IACR,qFAAe,CAAA;IACf,6EAAW,CAAA;IACX,+EAAY,CAAA;IACZ,oGAAuB,CAAA;AAC3B,CAAC,EARW,wBAAwB,wCAAxB,wBAAwB,QAQnC;AAED,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACvC,qFAAQ,CAAA;IACR,2FAAW,CAAA;IACX,6FAAY,CAAA;IACZ,iHAAsB,CAAA;AAC1B,CAAC,EALW,+BAA+B,+CAA/B,+BAA+B,QAK1C;AAED,IAAY,uBAMX;AAND,WAAY,uBAAuB;IAC/B,yEAAU,CAAA;IACV,qEAAQ,CAAA;IACR,uEAAS,CAAA;IACT,+EAAa,CAAA;IACb,iFAAc,CAAA;AAClB,CAAC,EANW,uBAAuB,uCAAvB,uBAAuB,QAMlC;AAED,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACtC,uFAAU,CAAA;IACV,uFAAU,CAAA;IACV,iFAAO,CAAA;AACX,CAAC,EAJW,8BAA8B,8CAA9B,8BAA8B,QAIzC"}
|
package/dist/consts/hatch.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare enum HatchSolidFill {
|
|
2
|
-
PatternFill = 0,
|
|
3
|
-
SolidFill = 1
|
|
4
|
-
}
|
|
5
|
-
export declare enum HatchAssociativity {
|
|
6
|
-
NonAssociative = 0,// For MPolygon LacksSolidFill
|
|
7
|
-
Associative = 1
|
|
8
|
-
}
|
|
9
|
-
export declare enum HatchStyle {
|
|
10
|
-
Normal = 0,// Odd parity area
|
|
11
|
-
Outer = 1,// Outermost area
|
|
12
|
-
Ignore = 2
|
|
13
|
-
}
|
|
14
|
-
export declare enum HatchPatternType {
|
|
15
|
-
UserDefined = 0,
|
|
16
|
-
Predefined = 1,
|
|
17
|
-
Custom = 2
|
|
18
|
-
}
|
|
19
|
-
export declare enum HatchBoundaryAnnotation {
|
|
20
|
-
NotAnnotated = 0,
|
|
21
|
-
Annotated = 1
|
|
22
|
-
}
|
|
23
|
-
export declare enum HatchGradientFlag {
|
|
24
|
-
Solid = 0,
|
|
25
|
-
Gradient = 1
|
|
26
|
-
}
|
|
27
|
-
export declare enum HatchGradientColorFlag {
|
|
28
|
-
TwoColor = 0,
|
|
29
|
-
OneColor = 1
|
|
30
|
-
}
|
|
31
|
-
export declare enum BoundaryPathTypeFlag {
|
|
32
|
-
Default = 0,
|
|
33
|
-
External = 1,
|
|
34
|
-
Polyline = 2,
|
|
35
|
-
Derived = 4,
|
|
36
|
-
Textbox = 8,
|
|
37
|
-
Outermost = 16
|
|
38
|
-
}
|
|
39
|
-
export declare enum BoundaryPathEdgeType {
|
|
40
|
-
Line = 1,
|
|
41
|
-
Circular = 2,
|
|
42
|
-
Elliptic = 3,
|
|
43
|
-
Spline = 4
|
|
44
|
-
}
|
package/dist/consts/hatch.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BoundaryPathEdgeType = exports.BoundaryPathTypeFlag = exports.HatchGradientColorFlag = exports.HatchGradientFlag = exports.HatchBoundaryAnnotation = exports.HatchPatternType = exports.HatchStyle = exports.HatchAssociativity = exports.HatchSolidFill = void 0;
|
|
4
|
-
var HatchSolidFill;
|
|
5
|
-
(function (HatchSolidFill) {
|
|
6
|
-
HatchSolidFill[HatchSolidFill["PatternFill"] = 0] = "PatternFill";
|
|
7
|
-
HatchSolidFill[HatchSolidFill["SolidFill"] = 1] = "SolidFill";
|
|
8
|
-
})(HatchSolidFill || (exports.HatchSolidFill = HatchSolidFill = {}));
|
|
9
|
-
var HatchAssociativity;
|
|
10
|
-
(function (HatchAssociativity) {
|
|
11
|
-
HatchAssociativity[HatchAssociativity["NonAssociative"] = 0] = "NonAssociative";
|
|
12
|
-
HatchAssociativity[HatchAssociativity["Associative"] = 1] = "Associative";
|
|
13
|
-
})(HatchAssociativity || (exports.HatchAssociativity = HatchAssociativity = {}));
|
|
14
|
-
var HatchStyle;
|
|
15
|
-
(function (HatchStyle) {
|
|
16
|
-
HatchStyle[HatchStyle["Normal"] = 0] = "Normal";
|
|
17
|
-
HatchStyle[HatchStyle["Outer"] = 1] = "Outer";
|
|
18
|
-
HatchStyle[HatchStyle["Ignore"] = 2] = "Ignore";
|
|
19
|
-
})(HatchStyle || (exports.HatchStyle = HatchStyle = {}));
|
|
20
|
-
var HatchPatternType;
|
|
21
|
-
(function (HatchPatternType) {
|
|
22
|
-
HatchPatternType[HatchPatternType["UserDefined"] = 0] = "UserDefined";
|
|
23
|
-
HatchPatternType[HatchPatternType["Predefined"] = 1] = "Predefined";
|
|
24
|
-
HatchPatternType[HatchPatternType["Custom"] = 2] = "Custom";
|
|
25
|
-
})(HatchPatternType || (exports.HatchPatternType = HatchPatternType = {}));
|
|
26
|
-
var HatchBoundaryAnnotation;
|
|
27
|
-
(function (HatchBoundaryAnnotation) {
|
|
28
|
-
HatchBoundaryAnnotation[HatchBoundaryAnnotation["NotAnnotated"] = 0] = "NotAnnotated";
|
|
29
|
-
HatchBoundaryAnnotation[HatchBoundaryAnnotation["Annotated"] = 1] = "Annotated";
|
|
30
|
-
})(HatchBoundaryAnnotation || (exports.HatchBoundaryAnnotation = HatchBoundaryAnnotation = {}));
|
|
31
|
-
var HatchGradientFlag;
|
|
32
|
-
(function (HatchGradientFlag) {
|
|
33
|
-
HatchGradientFlag[HatchGradientFlag["Solid"] = 0] = "Solid";
|
|
34
|
-
HatchGradientFlag[HatchGradientFlag["Gradient"] = 1] = "Gradient";
|
|
35
|
-
})(HatchGradientFlag || (exports.HatchGradientFlag = HatchGradientFlag = {}));
|
|
36
|
-
var HatchGradientColorFlag;
|
|
37
|
-
(function (HatchGradientColorFlag) {
|
|
38
|
-
HatchGradientColorFlag[HatchGradientColorFlag["TwoColor"] = 0] = "TwoColor";
|
|
39
|
-
HatchGradientColorFlag[HatchGradientColorFlag["OneColor"] = 1] = "OneColor";
|
|
40
|
-
})(HatchGradientColorFlag || (exports.HatchGradientColorFlag = HatchGradientColorFlag = {}));
|
|
41
|
-
var BoundaryPathTypeFlag;
|
|
42
|
-
(function (BoundaryPathTypeFlag) {
|
|
43
|
-
BoundaryPathTypeFlag[BoundaryPathTypeFlag["Default"] = 0] = "Default";
|
|
44
|
-
BoundaryPathTypeFlag[BoundaryPathTypeFlag["External"] = 1] = "External";
|
|
45
|
-
BoundaryPathTypeFlag[BoundaryPathTypeFlag["Polyline"] = 2] = "Polyline";
|
|
46
|
-
BoundaryPathTypeFlag[BoundaryPathTypeFlag["Derived"] = 4] = "Derived";
|
|
47
|
-
BoundaryPathTypeFlag[BoundaryPathTypeFlag["Textbox"] = 8] = "Textbox";
|
|
48
|
-
BoundaryPathTypeFlag[BoundaryPathTypeFlag["Outermost"] = 16] = "Outermost";
|
|
49
|
-
})(BoundaryPathTypeFlag || (exports.BoundaryPathTypeFlag = BoundaryPathTypeFlag = {}));
|
|
50
|
-
var BoundaryPathEdgeType;
|
|
51
|
-
(function (BoundaryPathEdgeType) {
|
|
52
|
-
BoundaryPathEdgeType[BoundaryPathEdgeType["Line"] = 1] = "Line";
|
|
53
|
-
BoundaryPathEdgeType[BoundaryPathEdgeType["Circular"] = 2] = "Circular";
|
|
54
|
-
BoundaryPathEdgeType[BoundaryPathEdgeType["Elliptic"] = 3] = "Elliptic";
|
|
55
|
-
BoundaryPathEdgeType[BoundaryPathEdgeType["Spline"] = 4] = "Spline";
|
|
56
|
-
})(BoundaryPathEdgeType || (exports.BoundaryPathEdgeType = BoundaryPathEdgeType = {}));
|
|
57
|
-
//# sourceMappingURL=hatch.js.map
|
package/dist/consts/hatch.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hatch.js","sourceRoot":"","sources":["../../src/consts/hatch.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAGX;AAHD,WAAY,cAAc;IACtB,iEAAe,CAAA;IACf,6DAAa,CAAA;AACjB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,+EAAkB,CAAA;IAClB,yEAAe,CAAA;AACnB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,+CAAU,CAAA;IACV,6CAAS,CAAA;IACT,+CAAU,CAAA;AACd,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,qEAAe,CAAA;IACf,mEAAc,CAAA;IACd,2DAAU,CAAA;AACd,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAC/B,qFAAgB,CAAA;IAChB,+EAAa,CAAA;AACjB,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,2DAAS,CAAA;IACT,iEAAY,CAAA;AAChB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAC9B,2EAAY,CAAA;IACZ,2EAAY,CAAA;AAChB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC;AAED,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC5B,qEAAW,CAAA;IACX,uEAAY,CAAA;IACZ,uEAAY,CAAA;IACZ,qEAAW,CAAA;IACX,qEAAW,CAAA;IACX,0EAAc,CAAA;AAClB,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,QAO/B;AAED,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC5B,+DAAQ,CAAA;IACR,uEAAY,CAAA;IACZ,uEAAY,CAAA;IACZ,mEAAU,CAAA;AACd,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B"}
|
package/dist/consts/header.d.ts
DELETED
package/dist/consts/header.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DefaultDxfHeaderVariables = void 0;
|
|
4
|
-
const obscuredLineTypes_1 = require("./obscuredLineTypes");
|
|
5
|
-
exports.DefaultDxfHeaderVariables = {
|
|
6
|
-
DRAGVS: 'NULL',
|
|
7
|
-
INTERFERECOLOR: 1,
|
|
8
|
-
INTERFEREOBJVS: 'Conceptual',
|
|
9
|
-
INTERFEREVPVS: '3d Wireframe',
|
|
10
|
-
OBSLTYPE: obscuredLineTypes_1.ObscuredLineTypes.Off,
|
|
11
|
-
SHADEDIF: 70,
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"header.js","sourceRoot":"","sources":["../../src/consts/header.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAE3C,QAAA,yBAAyB,GAAG;IACrC,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,YAAY;IAC5B,aAAa,EAAE,cAAc;IAC7B,QAAQ,EAAE,qCAAiB,CAAC,GAAG;IAC/B,QAAQ,EAAE,EAAE;CACf,CAAC"}
|
package/dist/consts/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './color';
|
|
2
|
-
export * from './config';
|
|
3
|
-
export * from './dimension';
|
|
4
|
-
export * from './hatch';
|
|
5
|
-
export * from './measurement';
|
|
6
|
-
export * from './obscuredLineTypes';
|
|
7
|
-
export * from './lineweight';
|
|
8
|
-
export * from './scene';
|
|
9
|
-
export * from './viewport';
|
package/dist/consts/index.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./color"), exports);
|
|
18
|
-
__exportStar(require("./config"), exports);
|
|
19
|
-
__exportStar(require("./dimension"), exports);
|
|
20
|
-
__exportStar(require("./hatch"), exports);
|
|
21
|
-
__exportStar(require("./measurement"), exports);
|
|
22
|
-
__exportStar(require("./obscuredLineTypes"), exports);
|
|
23
|
-
__exportStar(require("./lineweight"), exports);
|
|
24
|
-
__exportStar(require("./scene"), exports);
|
|
25
|
-
__exportStar(require("./viewport"), exports);
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
package/dist/consts/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,gDAA8B;AAC9B,sDAAoC;AACpC,+CAA6B;AAC7B,0CAAwB;AACxB,6CAA2B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReservedLineweight = void 0;
|
|
4
|
-
var ReservedLineweight;
|
|
5
|
-
(function (ReservedLineweight) {
|
|
6
|
-
ReservedLineweight[ReservedLineweight["Standard"] = -3] = "Standard";
|
|
7
|
-
ReservedLineweight[ReservedLineweight["ByLayer"] = -2] = "ByLayer";
|
|
8
|
-
ReservedLineweight[ReservedLineweight["ByBlock"] = -1] = "ByBlock";
|
|
9
|
-
})(ReservedLineweight || (exports.ReservedLineweight = ReservedLineweight = {}));
|
|
10
|
-
//# sourceMappingURL=lineweight.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lineweight.js","sourceRoot":"","sources":["../../src/consts/lineweight.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,oEAAa,CAAA;IACb,kEAAY,CAAA;IACZ,kEAAY,CAAA;AAChB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Measurement = void 0;
|
|
4
|
-
var Measurement;
|
|
5
|
-
(function (Measurement) {
|
|
6
|
-
Measurement[Measurement["English"] = 0] = "English";
|
|
7
|
-
Measurement[Measurement["Metric"] = 1] = "Metric";
|
|
8
|
-
})(Measurement || (exports.Measurement = Measurement = {}));
|
|
9
|
-
//# sourceMappingURL=measurement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"measurement.js","sourceRoot":"","sources":["../../src/consts/measurement.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,mDAAW,CAAA;IACX,iDAAU,CAAA;AACd,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Specifies the linetype of obscured lines.
|
|
3
|
-
* Obscured linetypes are independent of zoom level,
|
|
4
|
-
* unlike standard object linetypes.
|
|
5
|
-
*
|
|
6
|
-
* Value 0 turns off display of obscured lines and is the default
|
|
7
|
-
* */
|
|
8
|
-
export declare enum ObscuredLineTypes {
|
|
9
|
-
Off = 0,
|
|
10
|
-
Solid = 1,
|
|
11
|
-
Dashed = 2,
|
|
12
|
-
Dotted = 3,
|
|
13
|
-
ShotDash = 4,
|
|
14
|
-
MediumDash = 5,
|
|
15
|
-
LongDash = 6,
|
|
16
|
-
DoubleShortDash = 7,
|
|
17
|
-
DoubleMediumDash = 8,
|
|
18
|
-
DoubleLongDash = 9,
|
|
19
|
-
DoubleMediumLongDash = 10,
|
|
20
|
-
SparseDot = 11
|
|
21
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObscuredLineTypes = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Specifies the linetype of obscured lines.
|
|
6
|
-
* Obscured linetypes are independent of zoom level,
|
|
7
|
-
* unlike standard object linetypes.
|
|
8
|
-
*
|
|
9
|
-
* Value 0 turns off display of obscured lines and is the default
|
|
10
|
-
* */
|
|
11
|
-
var ObscuredLineTypes;
|
|
12
|
-
(function (ObscuredLineTypes) {
|
|
13
|
-
ObscuredLineTypes[ObscuredLineTypes["Off"] = 0] = "Off";
|
|
14
|
-
ObscuredLineTypes[ObscuredLineTypes["Solid"] = 1] = "Solid";
|
|
15
|
-
ObscuredLineTypes[ObscuredLineTypes["Dashed"] = 2] = "Dashed";
|
|
16
|
-
ObscuredLineTypes[ObscuredLineTypes["Dotted"] = 3] = "Dotted";
|
|
17
|
-
ObscuredLineTypes[ObscuredLineTypes["ShotDash"] = 4] = "ShotDash";
|
|
18
|
-
ObscuredLineTypes[ObscuredLineTypes["MediumDash"] = 5] = "MediumDash";
|
|
19
|
-
ObscuredLineTypes[ObscuredLineTypes["LongDash"] = 6] = "LongDash";
|
|
20
|
-
ObscuredLineTypes[ObscuredLineTypes["DoubleShortDash"] = 7] = "DoubleShortDash";
|
|
21
|
-
ObscuredLineTypes[ObscuredLineTypes["DoubleMediumDash"] = 8] = "DoubleMediumDash";
|
|
22
|
-
ObscuredLineTypes[ObscuredLineTypes["DoubleLongDash"] = 9] = "DoubleLongDash";
|
|
23
|
-
ObscuredLineTypes[ObscuredLineTypes["DoubleMediumLongDash"] = 10] = "DoubleMediumLongDash";
|
|
24
|
-
ObscuredLineTypes[ObscuredLineTypes["SparseDot"] = 11] = "SparseDot";
|
|
25
|
-
})(ObscuredLineTypes || (exports.ObscuredLineTypes = ObscuredLineTypes = {}));
|
|
26
|
-
//# sourceMappingURL=obscuredLineTypes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"obscuredLineTypes.js","sourceRoot":"","sources":["../../src/consts/obscuredLineTypes.ts"],"names":[],"mappings":";;;AAAA;;;;;;KAMK;AACL,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IACzB,uDAAO,CAAA;IACP,2DAAS,CAAA;IACT,6DAAU,CAAA;IACV,6DAAU,CAAA;IACV,iEAAY,CAAA;IACZ,qEAAc,CAAA;IACd,iEAAY,CAAA;IACZ,+EAAmB,CAAA;IACnB,iFAAoB,CAAA;IACpB,6EAAkB,CAAA;IAClB,0FAAyB,CAAA;IACzB,oEAAc,CAAA;AAClB,CAAC,EAbW,iBAAiB,iCAAjB,iBAAiB,QAa5B"}
|
package/dist/consts/scene.d.ts
DELETED
package/dist/consts/scene.js
DELETED
package/dist/consts/scene.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../src/consts/scene.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAClC,QAAA,kBAAkB,GAAG,OAAO,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export declare enum ViewportStatusFlag {
|
|
2
|
-
PERSPECTIVE_MODE = 1,
|
|
3
|
-
FRONT_CLIPPING = 2,
|
|
4
|
-
BACK_CLIPPING = 4,
|
|
5
|
-
UCS_FOLLOW = 8,
|
|
6
|
-
FRONT_CLIP_NOT_AT_EYE = 16,
|
|
7
|
-
UCS_ICON_VISIBILITY = 32,
|
|
8
|
-
UCS_ICON_AT_ORIGIN = 64,
|
|
9
|
-
FAST_ZOOM = 128,
|
|
10
|
-
SNAP_MODE = 256,
|
|
11
|
-
GRID_MODE = 512,
|
|
12
|
-
ISOMETRIC_SNAP_STYLE = 1024,
|
|
13
|
-
HIDE_PLOT_MODE = 2048,
|
|
14
|
-
K_ISO_PAIR_TOP = 4096,
|
|
15
|
-
K_ISO_PAIR_RIGHT = 8192,
|
|
16
|
-
VIEWPORT_ZOOM_LOCKING = 16384,
|
|
17
|
-
UNUSED = 32768,
|
|
18
|
-
NON_RECTANGULAR_CLIPPING = 65536,
|
|
19
|
-
VIEWPORT_OFF = 131072,
|
|
20
|
-
GRID_BEYOND_DRAWING_LIMITS = 262144,
|
|
21
|
-
ADAPTIVE_GRID_DISPLAY = 524288,
|
|
22
|
-
SUBDIVISION_BELOW_SPACING = 1048576,
|
|
23
|
-
GRID_FOLLOWS_WORKPLANE = 2097152
|
|
24
|
-
}
|
|
25
|
-
export declare enum RenderMode {
|
|
26
|
-
OPTIMIZED_2D = 0,// classic 2D
|
|
27
|
-
WIREFRAME = 1,
|
|
28
|
-
HIDDEN_LINE = 2,
|
|
29
|
-
FLAT_SHADED = 3,
|
|
30
|
-
GOURAUD_SHADED = 4,
|
|
31
|
-
FLAT_SHADED_WITH_WIREFRAME = 5,
|
|
32
|
-
GOURAUD_SHADED_WITH_WIREFRAME = 6
|
|
33
|
-
}
|
|
34
|
-
export declare enum UCSPerViewport {
|
|
35
|
-
UCS_UNCHANGED = 0,
|
|
36
|
-
HAS_OWN_UCS = 1
|
|
37
|
-
}
|
|
38
|
-
export declare enum OrthographicType {
|
|
39
|
-
NON_ORTHOGRAPHIC = 0,
|
|
40
|
-
TOP = 1,
|
|
41
|
-
BOTTOM = 2,
|
|
42
|
-
FRONT = 3,
|
|
43
|
-
BACK = 4,
|
|
44
|
-
LEFT = 5,
|
|
45
|
-
RIGHT = 6
|
|
46
|
-
}
|
|
47
|
-
export declare enum ShadePlotMode {
|
|
48
|
-
AS_DISPLAYED = 0,
|
|
49
|
-
WIREFRAME = 1,
|
|
50
|
-
HIDDEN = 2,
|
|
51
|
-
RENDERED = 3
|
|
52
|
-
}
|
|
53
|
-
export declare enum DefaultLightingType {
|
|
54
|
-
ONE_DISTANT_LIGHT = 0,
|
|
55
|
-
TWO_DISTANT_LIGHTS = 1
|
|
56
|
-
}
|