dxf-json 0.0.7 → 0.0.9

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.
Files changed (468) hide show
  1. package/.github/workflows/npm-publish.yml +1 -1
  2. package/dist/bundle.js +2 -0
  3. package/dist/bundle.js.LICENSE.txt +5 -0
  4. package/dist/consts/block.d.ts +10 -0
  5. package/dist/consts/block.js +22 -0
  6. package/dist/consts/block.js.map +1 -0
  7. package/dist/consts/color.d.ts +5 -0
  8. package/dist/consts/color.js +10 -0
  9. package/dist/consts/color.js.map +1 -0
  10. package/dist/consts/config.d.ts +2 -0
  11. package/dist/consts/config.js +6 -0
  12. package/dist/consts/config.js.map +1 -0
  13. package/dist/consts/dimension.d.ts +61 -0
  14. package/dist/consts/dimension.js +74 -0
  15. package/dist/consts/dimension.js.map +1 -0
  16. package/dist/consts/hatch.d.ts +44 -0
  17. package/dist/consts/hatch.js +57 -0
  18. package/dist/consts/hatch.js.map +1 -0
  19. package/dist/consts/header.d.ts +9 -0
  20. package/dist/consts/header.js +13 -0
  21. package/dist/consts/header.js.map +1 -0
  22. package/dist/consts/index.d.ts +9 -0
  23. package/dist/consts/index.js +26 -0
  24. package/dist/consts/index.js.map +1 -0
  25. package/dist/consts/lineweight.d.ts +5 -0
  26. package/dist/consts/lineweight.js +10 -0
  27. package/dist/consts/lineweight.js.map +1 -0
  28. package/dist/consts/measurement.d.ts +4 -0
  29. package/dist/consts/measurement.js +9 -0
  30. package/dist/consts/measurement.js.map +1 -0
  31. package/dist/consts/obscuredLineTypes.d.ts +21 -0
  32. package/dist/consts/obscuredLineTypes.js +26 -0
  33. package/dist/consts/obscuredLineTypes.js.map +1 -0
  34. package/dist/consts/scene.d.ts +2 -0
  35. package/dist/consts/scene.js +6 -0
  36. package/dist/consts/scene.js.map +1 -0
  37. package/dist/consts/viewport.d.ts +56 -0
  38. package/dist/consts/viewport.js +67 -0
  39. package/dist/consts/viewport.js.map +1 -0
  40. package/dist/index.d.ts +2 -0
  41. package/dist/index.js +9 -0
  42. package/dist/index.js.map +1 -0
  43. package/dist/parser/AutoCadColorIndex.d.ts +8 -0
  44. package/dist/parser/AutoCadColorIndex.js +267 -0
  45. package/dist/parser/AutoCadColorIndex.js.map +1 -0
  46. package/dist/parser/DxfArrayScanner.d.ts +38 -0
  47. package/dist/parser/DxfArrayScanner.js +159 -0
  48. package/dist/parser/DxfArrayScanner.js.map +1 -0
  49. package/dist/parser/DxfParser.d.ts +9 -0
  50. package/dist/parser/DxfParser.js +108 -0
  51. package/dist/parser/DxfParser.js.map +1 -0
  52. package/dist/parser/ParseHelpers.d.ts +21 -0
  53. package/dist/parser/ParseHelpers.js +129 -0
  54. package/dist/parser/ParseHelpers.js.map +1 -0
  55. package/dist/parser/blocks/blocks.test.d.ts +1 -0
  56. package/dist/parser/blocks/blocks.test.js +86 -0
  57. package/dist/parser/blocks/blocks.test.js.map +1 -0
  58. package/dist/parser/blocks/index.d.ts +4 -0
  59. package/dist/parser/blocks/index.js +83 -0
  60. package/dist/parser/blocks/index.js.map +1 -0
  61. package/dist/parser/blocks/types.d.ts +14 -0
  62. package/dist/parser/blocks/types.js +3 -0
  63. package/dist/parser/blocks/types.js.map +1 -0
  64. package/dist/parser/entities/3dface.js +106 -0
  65. package/dist/parser/entities/3dface.js.map +1 -0
  66. package/dist/parser/entities/arc/index.d.ts +2 -0
  67. package/dist/parser/entities/arc/index.js +19 -0
  68. package/dist/parser/entities/arc/index.js.map +1 -0
  69. package/dist/parser/entities/arc/parser.d.ts +7 -0
  70. package/dist/parser/entities/arc/parser.js +63 -0
  71. package/dist/parser/entities/arc/parser.js.map +1 -0
  72. package/dist/parser/entities/arc/types.d.ts +12 -0
  73. package/dist/parser/entities/arc/types.js +3 -0
  74. package/dist/parser/entities/arc/types.js.map +1 -0
  75. package/dist/parser/entities/attdef/consts.d.ts +11 -0
  76. package/dist/parser/entities/attdef/consts.js +17 -0
  77. package/dist/parser/entities/attdef/consts.js.map +1 -0
  78. package/dist/parser/entities/attdef/index.d.ts +3 -0
  79. package/dist/parser/entities/attdef/index.js +20 -0
  80. package/dist/parser/entities/attdef/index.js.map +1 -0
  81. package/dist/parser/entities/attdef/parser.d.ts +8 -0
  82. package/dist/parser/entities/attdef/parser.js +108 -0
  83. package/dist/parser/entities/attdef/parser.js.map +1 -0
  84. package/dist/parser/entities/attdef/types.d.ts +17 -0
  85. package/dist/parser/entities/attdef/types.js +3 -0
  86. package/dist/parser/entities/attdef/types.js.map +1 -0
  87. package/dist/parser/entities/attribute/consts.d.ts +6 -0
  88. package/dist/parser/entities/attribute/consts.js +11 -0
  89. package/dist/parser/entities/attribute/consts.js.map +1 -0
  90. package/dist/parser/entities/attribute/index.d.ts +3 -0
  91. package/dist/parser/entities/attribute/index.js +20 -0
  92. package/dist/parser/entities/attribute/index.js.map +1 -0
  93. package/dist/parser/entities/attribute/parser.d.ts +8 -0
  94. package/dist/parser/entities/attribute/parser.js +185 -0
  95. package/dist/parser/entities/attribute/parser.js.map +1 -0
  96. package/dist/parser/entities/attribute/types.d.ts +30 -0
  97. package/dist/parser/entities/attribute/types.js +3 -0
  98. package/dist/parser/entities/attribute/types.js.map +1 -0
  99. package/dist/parser/entities/circle/index.d.ts +2 -0
  100. package/dist/parser/entities/circle/index.js +19 -0
  101. package/dist/parser/entities/circle/index.js.map +1 -0
  102. package/dist/parser/entities/circle/parser.d.ts +8 -0
  103. package/dist/parser/entities/circle/parser.js +50 -0
  104. package/dist/parser/entities/circle/parser.js.map +1 -0
  105. package/dist/parser/entities/circle/types.d.ts +10 -0
  106. package/dist/parser/entities/circle/types.js +3 -0
  107. package/dist/parser/entities/circle/types.js.map +1 -0
  108. package/dist/parser/entities/dimension/common.d.ts +6 -0
  109. package/dist/parser/entities/dimension/common.js +122 -0
  110. package/dist/parser/entities/dimension/common.js.map +1 -0
  111. package/dist/parser/entities/dimension/index.d.ts +6 -0
  112. package/dist/parser/entities/dimension/index.js +21 -0
  113. package/dist/parser/entities/dimension/index.js.map +1 -0
  114. package/dist/parser/entities/dimension/types.d.ts +48 -0
  115. package/dist/parser/entities/dimension/types.js +3 -0
  116. package/dist/parser/entities/dimension/types.js.map +1 -0
  117. package/dist/parser/entities/ellipse/index.d.ts +2 -0
  118. package/dist/parser/entities/ellipse/index.js +19 -0
  119. package/dist/parser/entities/ellipse/index.js.map +1 -0
  120. package/dist/parser/entities/ellipse/parser.d.ts +7 -0
  121. package/dist/parser/entities/ellipse/parser.js +59 -0
  122. package/dist/parser/entities/ellipse/parser.js.map +1 -0
  123. package/dist/parser/entities/ellipse/types.d.ts +12 -0
  124. package/dist/parser/entities/ellipse/types.js +3 -0
  125. package/dist/parser/entities/ellipse/types.js.map +1 -0
  126. package/dist/parser/entities/entities.test.d.ts +1 -0
  127. package/dist/parser/entities/entities.test.js +81 -0
  128. package/dist/parser/entities/entities.test.js.map +1 -0
  129. package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +6 -0
  130. package/dist/parser/entities/hatch/boundaryPathData/edge.js +178 -0
  131. package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +1 -0
  132. package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +5 -0
  133. package/dist/parser/entities/hatch/boundaryPathData/index.js +23 -0
  134. package/dist/parser/entities/hatch/boundaryPathData/index.js.map +1 -0
  135. package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +2 -0
  136. package/dist/parser/entities/hatch/boundaryPathData/polyline.js +41 -0
  137. package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +1 -0
  138. package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +2 -0
  139. package/dist/parser/entities/hatch/boundaryPathData/shared.js +19 -0
  140. package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +1 -0
  141. package/dist/parser/entities/hatch/index.d.ts +8 -0
  142. package/dist/parser/entities/hatch/index.js +183 -0
  143. package/dist/parser/entities/hatch/index.js.map +1 -0
  144. package/dist/parser/entities/hatch/patternData.d.ts +3 -0
  145. package/dist/parser/entities/hatch/patternData.js +54 -0
  146. package/dist/parser/entities/hatch/patternData.js.map +1 -0
  147. package/dist/parser/entities/hatch/types/boundaryPath.d.ts +59 -0
  148. package/dist/parser/entities/hatch/types/boundaryPath.js +3 -0
  149. package/dist/parser/entities/hatch/types/boundaryPath.js.map +1 -0
  150. package/dist/parser/entities/hatch/types/definitionLine.d.ts +8 -0
  151. package/dist/parser/entities/hatch/types/definitionLine.js +3 -0
  152. package/dist/parser/entities/hatch/types/definitionLine.js.map +1 -0
  153. package/dist/parser/entities/hatch/types/hatch.d.ts +38 -0
  154. package/dist/parser/entities/hatch/types/hatch.js +3 -0
  155. package/dist/parser/entities/hatch/types/hatch.js.map +1 -0
  156. package/dist/parser/entities/hatch/types/index.d.ts +3 -0
  157. package/dist/parser/entities/hatch/types/index.js +20 -0
  158. package/dist/parser/entities/hatch/types/index.js.map +1 -0
  159. package/dist/parser/entities/index.d.ts +8 -0
  160. package/dist/parser/entities/index.js +81 -0
  161. package/dist/parser/entities/index.js.map +1 -0
  162. package/dist/parser/entities/insert/index.d.ts +2 -0
  163. package/dist/parser/entities/insert/index.js +19 -0
  164. package/dist/parser/entities/insert/index.js.map +1 -0
  165. package/dist/parser/entities/insert/parser.d.ts +8 -0
  166. package/dist/parser/entities/insert/parser.js +97 -0
  167. package/dist/parser/entities/insert/parser.js.map +1 -0
  168. package/dist/parser/entities/insert/types.d.ts +18 -0
  169. package/dist/parser/entities/insert/types.js +3 -0
  170. package/dist/parser/entities/insert/types.js.map +1 -0
  171. package/dist/parser/entities/leader/consts.d.ts +6 -0
  172. package/dist/parser/entities/leader/consts.js +11 -0
  173. package/dist/parser/entities/leader/consts.js.map +1 -0
  174. package/dist/parser/entities/leader/index.d.ts +3 -0
  175. package/dist/parser/entities/leader/index.js +20 -0
  176. package/dist/parser/entities/leader/index.js.map +1 -0
  177. package/dist/parser/entities/leader/parser.d.ts +8 -0
  178. package/dist/parser/entities/leader/parser.js +110 -0
  179. package/dist/parser/entities/leader/parser.js.map +1 -0
  180. package/dist/parser/entities/leader/types.d.ts +23 -0
  181. package/dist/parser/entities/leader/types.js +3 -0
  182. package/dist/parser/entities/leader/types.js.map +1 -0
  183. package/dist/parser/entities/line/index.d.ts +2 -0
  184. package/dist/parser/entities/line/index.js +19 -0
  185. package/dist/parser/entities/line/index.js.map +1 -0
  186. package/dist/parser/entities/line/parser.d.ts +8 -0
  187. package/dist/parser/entities/line/parser.js +50 -0
  188. package/dist/parser/entities/line/parser.js.map +1 -0
  189. package/dist/parser/entities/line/types.d.ts +10 -0
  190. package/dist/parser/entities/line/types.js +3 -0
  191. package/dist/parser/entities/line/types.js.map +1 -0
  192. package/dist/parser/entities/lwpolyline/consts.d.ts +4 -0
  193. package/dist/parser/entities/lwpolyline/consts.js +9 -0
  194. package/dist/parser/entities/lwpolyline/consts.js.map +1 -0
  195. package/dist/parser/entities/lwpolyline/index.d.ts +3 -0
  196. package/dist/parser/entities/lwpolyline/index.js +20 -0
  197. package/dist/parser/entities/lwpolyline/index.js.map +1 -0
  198. package/dist/parser/entities/lwpolyline/parser.d.ts +7 -0
  199. package/dist/parser/entities/lwpolyline/parser.js +105 -0
  200. package/dist/parser/entities/lwpolyline/parser.js.map +1 -0
  201. package/dist/parser/entities/lwpolyline/types.d.ts +19 -0
  202. package/dist/parser/entities/lwpolyline/types.js +3 -0
  203. package/dist/parser/entities/lwpolyline/types.js.map +1 -0
  204. package/dist/parser/entities/mtext/consts.d.ts +5 -0
  205. package/dist/parser/entities/mtext/consts.js +10 -0
  206. package/dist/parser/entities/mtext/consts.js.map +1 -0
  207. package/dist/parser/entities/mtext/index.d.ts +3 -0
  208. package/dist/parser/entities/mtext/index.js +20 -0
  209. package/dist/parser/entities/mtext/index.js.map +1 -0
  210. package/dist/parser/entities/mtext/parser.d.ts +10 -0
  211. package/dist/parser/entities/mtext/parser.js +188 -0
  212. package/dist/parser/entities/mtext/parser.js.map +1 -0
  213. package/dist/parser/entities/mtext/types.d.ts +33 -0
  214. package/dist/parser/entities/mtext/types.js +3 -0
  215. package/dist/parser/entities/mtext/types.js.map +1 -0
  216. package/dist/parser/entities/point/index.d.ts +2 -0
  217. package/dist/parser/entities/point/index.js +19 -0
  218. package/dist/parser/entities/point/index.js.map +1 -0
  219. package/dist/parser/entities/point/parser.d.ts +6 -0
  220. package/dist/parser/entities/point/parser.js +54 -0
  221. package/dist/parser/entities/point/parser.js.map +1 -0
  222. package/dist/parser/entities/point/types.d.ts +9 -0
  223. package/dist/parser/entities/point/types.js +3 -0
  224. package/dist/parser/entities/point/types.js.map +1 -0
  225. package/dist/parser/entities/polyline/consts.d.ts +16 -0
  226. package/dist/parser/entities/polyline/consts.js +22 -0
  227. package/dist/parser/entities/polyline/consts.js.map +1 -0
  228. package/dist/parser/entities/polyline/index.d.ts +3 -0
  229. package/dist/parser/entities/polyline/index.js +20 -0
  230. package/dist/parser/entities/polyline/index.js.map +1 -0
  231. package/dist/parser/entities/polyline/parser.d.ts +7 -0
  232. package/dist/parser/entities/polyline/parser.js +118 -0
  233. package/dist/parser/entities/polyline/parser.js.map +1 -0
  234. package/dist/parser/entities/polyline/types.d.ts +19 -0
  235. package/dist/parser/entities/polyline/types.js +3 -0
  236. package/dist/parser/entities/polyline/types.js.map +1 -0
  237. package/dist/parser/entities/section/index.d.ts +2 -0
  238. package/dist/parser/entities/section/index.js +19 -0
  239. package/dist/parser/entities/section/index.js.map +1 -0
  240. package/dist/parser/entities/section/parser.d.ts +7 -0
  241. package/dist/parser/entities/section/parser.js +97 -0
  242. package/dist/parser/entities/section/parser.js.map +1 -0
  243. package/dist/parser/entities/section/types.d.ts +19 -0
  244. package/dist/parser/entities/section/types.js +3 -0
  245. package/dist/parser/entities/section/types.js.map +1 -0
  246. package/dist/parser/entities/shared.d.ts +35 -0
  247. package/dist/parser/entities/shared.js +136 -0
  248. package/dist/parser/entities/shared.js.map +1 -0
  249. package/dist/parser/entities/solid/index.d.ts +2 -0
  250. package/dist/parser/entities/solid/index.js +19 -0
  251. package/dist/parser/entities/solid/index.js.map +1 -0
  252. package/dist/parser/entities/solid/parser.d.ts +8 -0
  253. package/dist/parser/entities/solid/parser.js +48 -0
  254. package/dist/parser/entities/solid/parser.js.map +1 -0
  255. package/dist/parser/entities/solid/types.d.ts +9 -0
  256. package/dist/parser/entities/solid/types.js +3 -0
  257. package/dist/parser/entities/solid/types.js.map +1 -0
  258. package/dist/parser/entities/spline/consts.d.ts +8 -0
  259. package/dist/parser/entities/spline/consts.js +13 -0
  260. package/dist/parser/entities/spline/consts.js.map +1 -0
  261. package/dist/parser/entities/spline/index.d.ts +3 -0
  262. package/dist/parser/entities/spline/index.js +20 -0
  263. package/dist/parser/entities/spline/index.js.map +1 -0
  264. package/dist/parser/entities/spline/parser.d.ts +8 -0
  265. package/dist/parser/entities/spline/parser.js +113 -0
  266. package/dist/parser/entities/spline/parser.js.map +1 -0
  267. package/dist/parser/entities/spline/types.d.ts +21 -0
  268. package/dist/parser/entities/spline/types.js +3 -0
  269. package/dist/parser/entities/spline/types.js.map +1 -0
  270. package/dist/parser/entities/text/consts.d.ts +19 -0
  271. package/dist/parser/entities/text/consts.js +26 -0
  272. package/dist/parser/entities/text/consts.js.map +1 -0
  273. package/dist/parser/entities/text/index.d.ts +3 -0
  274. package/dist/parser/entities/text/index.js +20 -0
  275. package/dist/parser/entities/text/index.js.map +1 -0
  276. package/dist/parser/entities/text/parser.d.ts +26 -0
  277. package/dist/parser/entities/text/parser.js +112 -0
  278. package/dist/parser/entities/text/parser.js.map +1 -0
  279. package/dist/parser/entities/text/types.d.ts +20 -0
  280. package/dist/parser/entities/text/types.js +3 -0
  281. package/dist/parser/entities/text/types.js.map +1 -0
  282. package/dist/parser/entities/vertex/consts.d.ts +10 -0
  283. package/dist/parser/entities/vertex/consts.js +15 -0
  284. package/dist/parser/entities/vertex/consts.js.map +1 -0
  285. package/dist/parser/entities/vertex/index.d.ts +3 -0
  286. package/dist/parser/entities/vertex/index.js +20 -0
  287. package/dist/parser/entities/vertex/index.js.map +1 -0
  288. package/dist/parser/entities/vertex/parser.d.ts +8 -0
  289. package/dist/parser/entities/vertex/parser.js +86 -0
  290. package/dist/parser/entities/vertex/parser.js.map +1 -0
  291. package/dist/parser/entities/vertex/types.d.ts +16 -0
  292. package/dist/parser/entities/vertex/types.js +3 -0
  293. package/dist/parser/entities/vertex/types.js.map +1 -0
  294. package/dist/parser/entities/viewport/index.d.ts +5 -0
  295. package/dist/parser/entities/viewport/index.js +195 -0
  296. package/dist/parser/entities/viewport/index.js.map +1 -0
  297. package/dist/parser/entities/viewport/types.d.ts +51 -0
  298. package/dist/parser/entities/viewport/types.js +3 -0
  299. package/dist/parser/entities/viewport/types.js.map +1 -0
  300. package/dist/parser/filterDummyBlocks.d.ts +2 -0
  301. package/dist/parser/filterDummyBlocks.js +37 -0
  302. package/dist/parser/filterDummyBlocks.js.map +1 -0
  303. package/dist/parser/header/index.d.ts +3 -0
  304. package/dist/parser/header/index.js +32 -0
  305. package/dist/parser/header/index.js.map +1 -0
  306. package/dist/parser/objects/common.d.ts +8 -0
  307. package/dist/parser/objects/common.js +51 -0
  308. package/dist/parser/objects/common.js.map +1 -0
  309. package/dist/parser/objects/dictionary.d.ts +20 -0
  310. package/dist/parser/objects/dictionary.js +50 -0
  311. package/dist/parser/objects/dictionary.js.map +1 -0
  312. package/dist/parser/objects/index.d.ts +6 -0
  313. package/dist/parser/objects/index.js +43 -0
  314. package/dist/parser/objects/index.js.map +1 -0
  315. package/dist/parser/objects/layout.d.ts +30 -0
  316. package/dist/parser/objects/layout.js +110 -0
  317. package/dist/parser/objects/layout.js.map +1 -0
  318. package/dist/parser/objects/plotSettings.d.ts +64 -0
  319. package/dist/parser/objects/plotSettings.js +198 -0
  320. package/dist/parser/objects/plotSettings.js.map +1 -0
  321. package/dist/parser/objects/treefy.d.ts +2 -0
  322. package/dist/parser/objects/treefy.js +37 -0
  323. package/dist/parser/objects/treefy.js.map +1 -0
  324. package/dist/parser/objects/types.d.ts +15 -0
  325. package/dist/parser/objects/types.js +3 -0
  326. package/dist/parser/objects/types.js.map +1 -0
  327. package/dist/parser/shared/index.d.ts +7 -0
  328. package/dist/parser/shared/index.js +22 -0
  329. package/dist/parser/shared/index.js.map +1 -0
  330. package/dist/parser/shared/parsePoint.d.ts +7 -0
  331. package/dist/parser/shared/parsePoint.js +33 -0
  332. package/dist/parser/shared/parsePoint.js.map +1 -0
  333. package/dist/parser/shared/parserGenerator.d.ts +15 -0
  334. package/dist/parser/shared/parserGenerator.js +114 -0
  335. package/dist/parser/shared/parserGenerator.js.map +1 -0
  336. package/dist/parser/shared/parserGenerator.test.d.ts +1 -0
  337. package/dist/parser/shared/parserGenerator.test.js +153 -0
  338. package/dist/parser/shared/parserGenerator.test.js.map +1 -0
  339. package/dist/parser/shared/xdata/index.d.ts +3 -0
  340. package/dist/parser/shared/xdata/index.js +20 -0
  341. package/dist/parser/shared/xdata/index.js.map +1 -0
  342. package/dist/parser/shared/xdata/interpreter.d.ts +20 -0
  343. package/dist/parser/shared/xdata/interpreter.js +43 -0
  344. package/dist/parser/shared/xdata/interpreter.js.map +1 -0
  345. package/dist/parser/shared/xdata/interpreter.test.d.ts +1 -0
  346. package/dist/parser/shared/xdata/interpreter.test.js +83 -0
  347. package/dist/parser/shared/xdata/interpreter.test.js.map +1 -0
  348. package/dist/parser/shared/xdata/parser.d.ts +6 -0
  349. package/dist/parser/shared/xdata/parser.js +133 -0
  350. package/dist/parser/shared/xdata/parser.js.map +1 -0
  351. package/dist/parser/shared/xdata/parser.test.d.ts +1 -0
  352. package/dist/parser/shared/xdata/parser.test.js +64 -0
  353. package/dist/parser/shared/xdata/parser.test.js.map +1 -0
  354. package/dist/parser/shared/xdata/types.d.ts +9 -0
  355. package/dist/parser/shared/xdata/types.js +3 -0
  356. package/dist/parser/shared/xdata/types.js.map +1 -0
  357. package/dist/parser/tables/blockRecord/index.d.ts +2 -0
  358. package/dist/parser/tables/blockRecord/index.js +19 -0
  359. package/dist/parser/tables/blockRecord/index.js.map +1 -0
  360. package/dist/parser/tables/blockRecord/parser.d.ts +1 -0
  361. package/dist/parser/tables/blockRecord/parser.js +45 -0
  362. package/dist/parser/tables/blockRecord/parser.js.map +1 -0
  363. package/dist/parser/tables/blockRecord/types.d.ts +10 -0
  364. package/dist/parser/tables/blockRecord/types.js +3 -0
  365. package/dist/parser/tables/blockRecord/types.js.map +1 -0
  366. package/dist/parser/tables/dimStyle/consts.d.ts +2 -0
  367. package/dist/parser/tables/dimStyle/consts.js +424 -0
  368. package/dist/parser/tables/dimStyle/consts.js.map +1 -0
  369. package/dist/parser/tables/dimStyle/index.d.ts +3 -0
  370. package/dist/parser/tables/dimStyle/index.js +20 -0
  371. package/dist/parser/tables/dimStyle/index.js.map +1 -0
  372. package/dist/parser/tables/dimStyle/parser.d.ts +1 -0
  373. package/dist/parser/tables/dimStyle/parser.js +35 -0
  374. package/dist/parser/tables/dimStyle/parser.js.map +1 -0
  375. package/dist/parser/tables/dimStyle/types.d.ts +83 -0
  376. package/dist/parser/tables/dimStyle/types.js +3 -0
  377. package/dist/parser/tables/dimStyle/types.js.map +1 -0
  378. package/dist/parser/tables/index.d.ts +2 -0
  379. package/dist/parser/tables/index.js +19 -0
  380. package/dist/parser/tables/index.js.map +1 -0
  381. package/dist/parser/tables/layer/index.d.ts +2 -0
  382. package/dist/parser/tables/layer/index.js +19 -0
  383. package/dist/parser/tables/layer/index.js.map +1 -0
  384. package/dist/parser/tables/layer/parser.d.ts +1 -0
  385. package/dist/parser/tables/layer/parser.js +55 -0
  386. package/dist/parser/tables/layer/parser.js.map +1 -0
  387. package/dist/parser/tables/layer/types.d.ts +13 -0
  388. package/dist/parser/tables/layer/types.js +3 -0
  389. package/dist/parser/tables/layer/types.js.map +1 -0
  390. package/dist/parser/tables/ltype/consts.d.ts +6 -0
  391. package/dist/parser/tables/ltype/consts.js +11 -0
  392. package/dist/parser/tables/ltype/consts.js.map +1 -0
  393. package/dist/parser/tables/ltype/index.d.ts +3 -0
  394. package/dist/parser/tables/ltype/index.js +20 -0
  395. package/dist/parser/tables/ltype/index.js.map +1 -0
  396. package/dist/parser/tables/ltype/parser.d.ts +1 -0
  397. package/dist/parser/tables/ltype/parser.js +105 -0
  398. package/dist/parser/tables/ltype/parser.js.map +1 -0
  399. package/dist/parser/tables/ltype/types.d.ts +21 -0
  400. package/dist/parser/tables/ltype/types.js +3 -0
  401. package/dist/parser/tables/ltype/types.js.map +1 -0
  402. package/dist/parser/tables/parser.d.ts +2 -0
  403. package/dist/parser/tables/parser.js +90 -0
  404. package/dist/parser/tables/parser.js.map +1 -0
  405. package/dist/parser/tables/shared.d.ts +2 -0
  406. package/dist/parser/tables/shared.js +32 -0
  407. package/dist/parser/tables/shared.js.map +1 -0
  408. package/dist/parser/tables/style/index.d.ts +2 -0
  409. package/dist/parser/tables/style/index.js +19 -0
  410. package/dist/parser/tables/style/index.js.map +1 -0
  411. package/dist/parser/tables/style/parser.d.ts +1 -0
  412. package/dist/parser/tables/style/parser.js +68 -0
  413. package/dist/parser/tables/style/parser.js.map +1 -0
  414. package/dist/parser/tables/style/types.d.ts +14 -0
  415. package/dist/parser/tables/style/types.js +3 -0
  416. package/dist/parser/tables/style/types.js.map +1 -0
  417. package/dist/parser/tables/types.d.ts +14 -0
  418. package/dist/parser/tables/types.js +3 -0
  419. package/dist/parser/tables/types.js.map +1 -0
  420. package/dist/parser/tables/vport/index.d.ts +2 -0
  421. package/dist/parser/tables/vport/index.js +19 -0
  422. package/dist/parser/tables/vport/index.js.map +1 -0
  423. package/dist/parser/tables/vport/parser.d.ts +1 -0
  424. package/dist/parser/tables/vport/parser.js +201 -0
  425. package/dist/parser/tables/vport/parser.js.map +1 -0
  426. package/dist/parser/tables/vport/types.d.ts +43 -0
  427. package/dist/parser/tables/vport/types.js +3 -0
  428. package/dist/parser/tables/vport/types.js.map +1 -0
  429. package/dist/parser/types.d.ts +29 -0
  430. package/dist/parser/types.js +3 -0
  431. package/dist/parser/types.js.map +1 -0
  432. package/dist/types/color.d.ts +3 -0
  433. package/dist/types/color.js +3 -0
  434. package/dist/types/color.js.map +1 -0
  435. package/dist/types/dxfHeader.d.ts +16 -0
  436. package/dist/types/dxfHeader.js +3 -0
  437. package/dist/types/dxfHeader.js.map +1 -0
  438. package/dist/types/entity.d.ts +6 -0
  439. package/dist/types/entity.js +3 -0
  440. package/dist/types/entity.js.map +1 -0
  441. package/dist/types/index.d.ts +24 -0
  442. package/dist/types/index.js +20 -0
  443. package/dist/types/index.js.map +1 -0
  444. package/dist/utils/binarySearch.d.ts +1 -0
  445. package/dist/utils/binarySearch.js +23 -0
  446. package/dist/utils/binarySearch.js.map +1 -0
  447. package/dist/utils/disjointSet.d.ts +6 -0
  448. package/dist/utils/disjointSet.js +52 -0
  449. package/dist/utils/disjointSet.js.map +1 -0
  450. package/dist/utils/flooding.d.ts +8 -0
  451. package/dist/utils/flooding.js +26 -0
  452. package/dist/utils/flooding.js.map +1 -0
  453. package/dist/utils/functional.d.ts +17 -0
  454. package/dist/utils/functional.js +111 -0
  455. package/dist/utils/functional.js.map +1 -0
  456. package/dist/utils/graph.d.ts +19 -0
  457. package/dist/utils/graph.js +47 -0
  458. package/dist/utils/graph.js.map +1 -0
  459. package/dist/utils/index.d.ts +30 -0
  460. package/dist/utils/index.js +106 -0
  461. package/dist/utils/index.js.map +1 -0
  462. package/dist/utils/queue.d.ts +19 -0
  463. package/dist/utils/queue.js +71 -0
  464. package/dist/utils/queue.js.map +1 -0
  465. package/dist/utils/triangle.d.ts +2 -0
  466. package/dist/utils/triangle.js +19 -0
  467. package/dist/utils/triangle.js.map +1 -0
  468. package/package.json +2 -2
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DefaultLightingType = exports.ShadePlotMode = exports.OrthographicType = exports.UCSPerViewport = exports.RenderMode = exports.ViewportStatusFlag = void 0;
4
+ var ViewportStatusFlag;
5
+ (function (ViewportStatusFlag) {
6
+ ViewportStatusFlag[ViewportStatusFlag["PERSPECTIVE_MODE"] = 1] = "PERSPECTIVE_MODE";
7
+ ViewportStatusFlag[ViewportStatusFlag["FRONT_CLIPPING"] = 2] = "FRONT_CLIPPING";
8
+ ViewportStatusFlag[ViewportStatusFlag["BACK_CLIPPING"] = 4] = "BACK_CLIPPING";
9
+ ViewportStatusFlag[ViewportStatusFlag["UCS_FOLLOW"] = 8] = "UCS_FOLLOW";
10
+ ViewportStatusFlag[ViewportStatusFlag["FRONT_CLIP_NOT_AT_EYE"] = 16] = "FRONT_CLIP_NOT_AT_EYE";
11
+ ViewportStatusFlag[ViewportStatusFlag["UCS_ICON_VISIBILITY"] = 32] = "UCS_ICON_VISIBILITY";
12
+ ViewportStatusFlag[ViewportStatusFlag["UCS_ICON_AT_ORIGIN"] = 64] = "UCS_ICON_AT_ORIGIN";
13
+ ViewportStatusFlag[ViewportStatusFlag["FAST_ZOOM"] = 128] = "FAST_ZOOM";
14
+ ViewportStatusFlag[ViewportStatusFlag["SNAP_MODE"] = 256] = "SNAP_MODE";
15
+ ViewportStatusFlag[ViewportStatusFlag["GRID_MODE"] = 512] = "GRID_MODE";
16
+ ViewportStatusFlag[ViewportStatusFlag["ISOMETRIC_SNAP_STYLE"] = 1024] = "ISOMETRIC_SNAP_STYLE";
17
+ ViewportStatusFlag[ViewportStatusFlag["HIDE_PLOT_MODE"] = 2048] = "HIDE_PLOT_MODE";
18
+ ViewportStatusFlag[ViewportStatusFlag["K_ISO_PAIR_TOP"] = 4096] = "K_ISO_PAIR_TOP";
19
+ ViewportStatusFlag[ViewportStatusFlag["K_ISO_PAIR_RIGHT"] = 8192] = "K_ISO_PAIR_RIGHT";
20
+ ViewportStatusFlag[ViewportStatusFlag["VIEWPORT_ZOOM_LOCKING"] = 16384] = "VIEWPORT_ZOOM_LOCKING";
21
+ ViewportStatusFlag[ViewportStatusFlag["UNUSED"] = 32768] = "UNUSED";
22
+ ViewportStatusFlag[ViewportStatusFlag["NON_RECTANGULAR_CLIPPING"] = 65536] = "NON_RECTANGULAR_CLIPPING";
23
+ ViewportStatusFlag[ViewportStatusFlag["VIEWPORT_OFF"] = 131072] = "VIEWPORT_OFF";
24
+ ViewportStatusFlag[ViewportStatusFlag["GRID_BEYOND_DRAWING_LIMITS"] = 262144] = "GRID_BEYOND_DRAWING_LIMITS";
25
+ ViewportStatusFlag[ViewportStatusFlag["ADAPTIVE_GRID_DISPLAY"] = 524288] = "ADAPTIVE_GRID_DISPLAY";
26
+ ViewportStatusFlag[ViewportStatusFlag["SUBDIVISION_BELOW_SPACING"] = 1048576] = "SUBDIVISION_BELOW_SPACING";
27
+ ViewportStatusFlag[ViewportStatusFlag["GRID_FOLLOWS_WORKPLANE"] = 2097152] = "GRID_FOLLOWS_WORKPLANE";
28
+ })(ViewportStatusFlag || (exports.ViewportStatusFlag = ViewportStatusFlag = {}));
29
+ var RenderMode;
30
+ (function (RenderMode) {
31
+ RenderMode[RenderMode["OPTIMIZED_2D"] = 0] = "OPTIMIZED_2D";
32
+ RenderMode[RenderMode["WIREFRAME"] = 1] = "WIREFRAME";
33
+ RenderMode[RenderMode["HIDDEN_LINE"] = 2] = "HIDDEN_LINE";
34
+ RenderMode[RenderMode["FLAT_SHADED"] = 3] = "FLAT_SHADED";
35
+ RenderMode[RenderMode["GOURAUD_SHADED"] = 4] = "GOURAUD_SHADED";
36
+ RenderMode[RenderMode["FLAT_SHADED_WITH_WIREFRAME"] = 5] = "FLAT_SHADED_WITH_WIREFRAME";
37
+ RenderMode[RenderMode["GOURAUD_SHADED_WITH_WIREFRAME"] = 6] = "GOURAUD_SHADED_WITH_WIREFRAME";
38
+ })(RenderMode || (exports.RenderMode = RenderMode = {}));
39
+ // viewport가 개별 ucs를 가지고 있는지 여부
40
+ var UCSPerViewport;
41
+ (function (UCSPerViewport) {
42
+ UCSPerViewport[UCSPerViewport["UCS_UNCHANGED"] = 0] = "UCS_UNCHANGED";
43
+ UCSPerViewport[UCSPerViewport["HAS_OWN_UCS"] = 1] = "HAS_OWN_UCS";
44
+ })(UCSPerViewport || (exports.UCSPerViewport = UCSPerViewport = {}));
45
+ var OrthographicType;
46
+ (function (OrthographicType) {
47
+ OrthographicType[OrthographicType["NON_ORTHOGRAPHIC"] = 0] = "NON_ORTHOGRAPHIC";
48
+ OrthographicType[OrthographicType["TOP"] = 1] = "TOP";
49
+ OrthographicType[OrthographicType["BOTTOM"] = 2] = "BOTTOM";
50
+ OrthographicType[OrthographicType["FRONT"] = 3] = "FRONT";
51
+ OrthographicType[OrthographicType["BACK"] = 4] = "BACK";
52
+ OrthographicType[OrthographicType["LEFT"] = 5] = "LEFT";
53
+ OrthographicType[OrthographicType["RIGHT"] = 6] = "RIGHT";
54
+ })(OrthographicType || (exports.OrthographicType = OrthographicType = {}));
55
+ var ShadePlotMode;
56
+ (function (ShadePlotMode) {
57
+ ShadePlotMode[ShadePlotMode["AS_DISPLAYED"] = 0] = "AS_DISPLAYED";
58
+ ShadePlotMode[ShadePlotMode["WIREFRAME"] = 1] = "WIREFRAME";
59
+ ShadePlotMode[ShadePlotMode["HIDDEN"] = 2] = "HIDDEN";
60
+ ShadePlotMode[ShadePlotMode["RENDERED"] = 3] = "RENDERED";
61
+ })(ShadePlotMode || (exports.ShadePlotMode = ShadePlotMode = {}));
62
+ var DefaultLightingType;
63
+ (function (DefaultLightingType) {
64
+ DefaultLightingType[DefaultLightingType["ONE_DISTANT_LIGHT"] = 0] = "ONE_DISTANT_LIGHT";
65
+ DefaultLightingType[DefaultLightingType["TWO_DISTANT_LIGHTS"] = 1] = "TWO_DISTANT_LIGHTS";
66
+ })(DefaultLightingType || (exports.DefaultLightingType = DefaultLightingType = {}));
67
+ //# sourceMappingURL=viewport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewport.js","sourceRoot":"","sources":["../../src/consts/viewport.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAuBX;AAvBD,WAAY,kBAAkB;IAC1B,mFAAsB,CAAA;IACtB,+EAAoB,CAAA;IACpB,6EAAmB,CAAA;IACnB,uEAAg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A;AAC1B,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B"}
@@ -0,0 +1,2 @@
1
+ import DxfParser from './parser/DxfParser';
2
+ export { DxfParser, };
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DxfParser = void 0;
7
+ const DxfParser_1 = __importDefault(require("./parser/DxfParser"));
8
+ exports.DxfParser = DxfParser_1.default;
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,mEAA0C;AAItC,oBAJG,mBAAS,CAIH"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * AutoCad files sometimes use an indexed color value between 1 and 255 inclusive.
3
+ * Each value corresponds to a color. index 1 is red, that is 16711680 or 0xFF0000.
4
+ * index 0 and 256, while included in this array, are actually reserved for inheritance
5
+ * values in AutoCad so they should not be used for index color lookups.
6
+ */
7
+ declare const _default: number[];
8
+ export default _default;
@@ -0,0 +1,267 @@
1
+ "use strict";
2
+ /**
3
+ * AutoCad files sometimes use an indexed color value between 1 and 255 inclusive.
4
+ * Each value corresponds to a color. index 1 is red, that is 16711680 or 0xFF0000.
5
+ * index 0 and 256, while included in this array, are actually reserved for inheritance
6
+ * values in AutoCad so they should not be used for index color lookups.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.default = [
10
+ 0,
11
+ 16711680,
12
+ 16776960,
13
+ 65280,
14
+ 65535,
15
+ 255,
16
+ 16711935,
17
+ 16777215,
18
+ 8421504,
19
+ 12632256,
20
+ 16711680,
21
+ 16744319,
22
+ 13369344,
23
+ 13395558,
24
+ 10027008,
25
+ 10046540,
26
+ 8323072,
27
+ 8339263,
28
+ 4980736,
29
+ 4990502,
30
+ 16727808,
31
+ 16752511,
32
+ 13382400,
33
+ 13401958,
34
+ 10036736,
35
+ 10051404,
36
+ 8331008,
37
+ 8343359,
38
+ 4985600,
39
+ 4992806,
40
+ 16744192,
41
+ 16760703,
42
+ 13395456,
43
+ 13408614,
44
+ 10046464,
45
+ 10056268,
46
+ 8339200,
47
+ 8347455,
48
+ 4990464,
49
+ 4995366,
50
+ 16760576,
51
+ 16768895,
52
+ 13408512,
53
+ 13415014,
54
+ 10056192,
55
+ 10061132,
56
+ 8347392,
57
+ 8351551,
58
+ 4995328,
59
+ 4997670,
60
+ 16776960,
61
+ 16777087,
62
+ 13421568,
63
+ 13421670,
64
+ 10000384,
65
+ 10000460,
66
+ 8355584,
67
+ 8355647,
68
+ 5000192,
69
+ 5000230,
70
+ 12582656,
71
+ 14679935,
72
+ 10079232,
73
+ 11717734,
74
+ 7510016,
75
+ 8755276,
76
+ 6258432,
77
+ 7307071,
78
+ 3755008,
79
+ 4344870,
80
+ 8388352,
81
+ 12582783,
82
+ 6736896,
83
+ 10079334,
84
+ 5019648,
85
+ 7510092,
86
+ 4161280,
87
+ 6258495,
88
+ 2509824,
89
+ 3755046,
90
+ 4194048,
91
+ 10485631,
92
+ 3394560,
93
+ 8375398,
94
+ 2529280,
95
+ 6264908,
96
+ 2064128,
97
+ 5209919,
98
+ 1264640,
99
+ 3099686,
100
+ 65280,
101
+ 8388479,
102
+ 52224,
103
+ 6736998,
104
+ 38912,
105
+ 5019724,
106
+ 32512,
107
+ 4161343,
108
+ 19456,
109
+ 2509862,
110
+ 65343,
111
+ 8388511,
112
+ 52275,
113
+ 6737023,
114
+ 38950,
115
+ 5019743,
116
+ 32543,
117
+ 4161359,
118
+ 19475,
119
+ 2509871,
120
+ 65407,
121
+ 8388543,
122
+ 52326,
123
+ 6737049,
124
+ 38988,
125
+ 5019762,
126
+ 32575,
127
+ 4161375,
128
+ 19494,
129
+ 2509881,
130
+ 65471,
131
+ 8388575,
132
+ 52377,
133
+ 6737074,
134
+ 39026,
135
+ 5019781,
136
+ 32607,
137
+ 4161391,
138
+ 19513,
139
+ 2509890,
140
+ 65535,
141
+ 8388607,
142
+ 52428,
143
+ 6737100,
144
+ 39064,
145
+ 5019800,
146
+ 32639,
147
+ 4161407,
148
+ 19532,
149
+ 2509900,
150
+ 49151,
151
+ 8380415,
152
+ 39372,
153
+ 6730444,
154
+ 29336,
155
+ 5014936,
156
+ 24447,
157
+ 4157311,
158
+ 14668,
159
+ 2507340,
160
+ 32767,
161
+ 8372223,
162
+ 26316,
163
+ 6724044,
164
+ 19608,
165
+ 5010072,
166
+ 16255,
167
+ 4153215,
168
+ 9804,
169
+ 2505036,
170
+ 16383,
171
+ 8364031,
172
+ 13260,
173
+ 6717388,
174
+ 9880,
175
+ 5005208,
176
+ 8063,
177
+ 4149119,
178
+ 4940,
179
+ 2502476,
180
+ 255,
181
+ 8355839,
182
+ 204,
183
+ 6710988,
184
+ 152,
185
+ 5000344,
186
+ 127,
187
+ 4145023,
188
+ 76,
189
+ 2500172,
190
+ 4129023,
191
+ 10452991,
192
+ 3342540,
193
+ 8349388,
194
+ 2490520,
195
+ 6245528,
196
+ 2031743,
197
+ 5193599,
198
+ 1245260,
199
+ 3089996,
200
+ 8323327,
201
+ 12550143,
202
+ 6684876,
203
+ 10053324,
204
+ 4980888,
205
+ 7490712,
206
+ 4128895,
207
+ 6242175,
208
+ 2490444,
209
+ 3745356,
210
+ 12517631,
211
+ 14647295,
212
+ 10027212,
213
+ 11691724,
214
+ 7471256,
215
+ 8735896,
216
+ 6226047,
217
+ 7290751,
218
+ 3735628,
219
+ 4335180,
220
+ 16711935,
221
+ 16744447,
222
+ 13369548,
223
+ 13395660,
224
+ 9961624,
225
+ 9981080,
226
+ 8323199,
227
+ 8339327,
228
+ 4980812,
229
+ 4990540,
230
+ 16711871,
231
+ 16744415,
232
+ 13369497,
233
+ 13395634,
234
+ 9961586,
235
+ 9981061,
236
+ 8323167,
237
+ 8339311,
238
+ 4980793,
239
+ 4990530,
240
+ 16711807,
241
+ 16744383,
242
+ 13369446,
243
+ 13395609,
244
+ 9961548,
245
+ 9981042,
246
+ 8323135,
247
+ 8339295,
248
+ 4980774,
249
+ 4990521,
250
+ 16711743,
251
+ 16744351,
252
+ 13369395,
253
+ 13395583,
254
+ 9961510,
255
+ 9981023,
256
+ 8323103,
257
+ 8339279,
258
+ 4980755,
259
+ 4990511,
260
+ 3355443,
261
+ 5987163,
262
+ 8684676,
263
+ 11382189,
264
+ 14079702,
265
+ 16777215
266
+ ];
267
+ //# sourceMappingURL=AutoCadColorIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoCadColorIndex.js","sourceRoot":"","sources":["../../src/parser/AutoCadColorIndex.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,38 @@
1
+ export interface ScannerGroup {
2
+ code: number;
3
+ value: any;
4
+ }
5
+ /**
6
+ * DxfArrayScanner
7
+ *
8
+ * Based off the AutoCad 2012 DXF Reference
9
+ * http://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
10
+ *
11
+ * Reads through an array representing lines of a dxf file. Takes an array and
12
+ * provides an easy interface to extract group code and value pairs.
13
+ * @param data - an array where each element represents a line in the dxf file
14
+ * @constructor
15
+ */
16
+ export default class DxfArrayScanner {
17
+ private _pointer;
18
+ private _data;
19
+ private _eof;
20
+ lastReadGroup: ScannerGroup;
21
+ constructor(data: string[]);
22
+ next(): {
23
+ code: number;
24
+ value: string | number | boolean;
25
+ };
26
+ peek(): ScannerGroup;
27
+ rewind(numberOfGroups?: number | undefined): void;
28
+ /**
29
+ * Returns true if there is another code/value pair (2 elements in the array).
30
+ * @returns {boolean}
31
+ */
32
+ hasNext(): boolean;
33
+ /**
34
+ * Returns true if the scanner is at the end of the array
35
+ * @returns {boolean}
36
+ */
37
+ isEOF(): boolean;
38
+ }
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const shared_1 = require("./shared");
4
+ /**
5
+ * DxfArrayScanner
6
+ *
7
+ * Based off the AutoCad 2012 DXF Reference
8
+ * http://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
9
+ *
10
+ * Reads through an array representing lines of a dxf file. Takes an array and
11
+ * provides an easy interface to extract group code and value pairs.
12
+ * @param data - an array where each element represents a line in the dxf file
13
+ * @constructor
14
+ */
15
+ class DxfArrayScanner {
16
+ constructor(data) {
17
+ this.lastReadGroup = { code: 0, value: 0 };
18
+ this._pointer = 0;
19
+ this._data = data;
20
+ this._eof = false;
21
+ }
22
+ next() {
23
+ if (!this.hasNext()) {
24
+ if (!this._eof) {
25
+ console.warn('Unexpected end of input: EOF group not read before end of file. Ended on code ' +
26
+ this._data[this._pointer]);
27
+ }
28
+ else {
29
+ console.warn("Cannot call 'next' after EOF group has been read");
30
+ }
31
+ return {
32
+ code: 0,
33
+ value: 'EOF',
34
+ };
35
+ }
36
+ const code = parseInt(this._data[this._pointer++], 10);
37
+ const value = parseGroupValue(code, this._data[this._pointer++]);
38
+ const group = { code, value };
39
+ if ((0, shared_1.isMatched)(group, 0, 'EOF')) {
40
+ this._eof = true;
41
+ }
42
+ this.lastReadGroup = group;
43
+ return group;
44
+ }
45
+ peek() {
46
+ if (!this.hasNext()) {
47
+ if (!this._eof)
48
+ throw new Error('Unexpected end of input: EOF group not read before end of file. Ended on code ' +
49
+ this._data[this._pointer]);
50
+ else
51
+ throw new Error("Cannot call 'next' after EOF group has been read");
52
+ }
53
+ let group = {
54
+ code: parseInt(this._data[this._pointer]),
55
+ value: 0
56
+ };
57
+ group.value = parseGroupValue(group.code, this._data[this._pointer + 1]);
58
+ return group;
59
+ }
60
+ rewind(numberOfGroups) {
61
+ numberOfGroups = numberOfGroups || 1;
62
+ this._pointer = this._pointer - numberOfGroups * 2;
63
+ }
64
+ /**
65
+ * Returns true if there is another code/value pair (2 elements in the array).
66
+ * @returns {boolean}
67
+ */
68
+ hasNext() {
69
+ if (this._eof) {
70
+ return false;
71
+ }
72
+ if (this._pointer > this._data.length - 2) {
73
+ return false;
74
+ }
75
+ return true;
76
+ }
77
+ /**
78
+ * Returns true if the scanner is at the end of the array
79
+ * @returns {boolean}
80
+ */
81
+ isEOF() {
82
+ return this._eof;
83
+ }
84
+ }
85
+ exports.default = DxfArrayScanner;
86
+ /**
87
+ * Parse a value to its proper type.
88
+ * See pages 3 - 10 of the AutoCad DXF 2012 reference given at the top of this file
89
+ *
90
+ * @param code
91
+ * @param value
92
+ * @returns {*}
93
+ */
94
+ function parseGroupValue(code, value) {
95
+ if (code <= 9)
96
+ return value;
97
+ if (code >= 10 && code <= 59)
98
+ return parseFloat(value.trim());
99
+ if (code >= 60 && code <= 99)
100
+ return parseInt(value.trim());
101
+ if (code >= 100 && code <= 109)
102
+ return value;
103
+ if (code >= 110 && code <= 149)
104
+ return parseFloat(value.trim());
105
+ if (code >= 160 && code <= 179)
106
+ return parseInt(value.trim());
107
+ if (code >= 210 && code <= 239)
108
+ return parseFloat(value.trim());
109
+ if (code >= 270 && code <= 289)
110
+ return parseInt(value.trim());
111
+ if (code >= 290 && code <= 299)
112
+ return parseBoolean(value.trim());
113
+ if (code >= 300 && code <= 369)
114
+ return value;
115
+ if (code >= 370 && code <= 389)
116
+ return parseInt(value.trim());
117
+ if (code >= 390 && code <= 399)
118
+ return value;
119
+ if (code >= 400 && code <= 409)
120
+ return parseInt(value.trim());
121
+ if (code >= 410 && code <= 419)
122
+ return value;
123
+ if (code >= 420 && code <= 429)
124
+ return parseInt(value.trim());
125
+ if (code >= 430 && code <= 439)
126
+ return value;
127
+ if (code >= 440 && code <= 459)
128
+ return parseInt(value.trim());
129
+ if (code >= 460 && code <= 469)
130
+ return parseFloat(value.trim());
131
+ if (code >= 470 && code <= 481)
132
+ return value;
133
+ if (code === 999)
134
+ return value;
135
+ if (code >= 1000 && code <= 1009)
136
+ return value;
137
+ if (code >= 1010 && code <= 1059)
138
+ return parseFloat(value.trim());
139
+ if (code >= 1060 && code <= 1071)
140
+ return parseInt(value.trim());
141
+ console.log('WARNING: Group code does not have a defined type: %j', {
142
+ code: code,
143
+ value: value,
144
+ });
145
+ return value;
146
+ }
147
+ /**
148
+ * Parse a boolean according to a 1 or 0 value
149
+ * @param str
150
+ * @returns {boolean}
151
+ */
152
+ function parseBoolean(str) {
153
+ if (str === '0')
154
+ return false;
155
+ if (str === '1')
156
+ return true;
157
+ throw TypeError("String '" + str + "' cannot be cast to Boolean type");
158
+ }
159
+ //# sourceMappingURL=DxfArrayScanner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DxfArrayScanner.js","sourceRoot":"","sources":["../../src/parser/DxfArrayScanner.ts"],"names":[],"mappings":";;AAAA,qCAAqC;AASrC;;;;;;;;;;GAUG;AAEH,MAAqB,eAAe;IAOhC,YAAY,IAAc;QAF1B,kBAAa,GAAiB,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAA;QAG/C,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,IAAI;QACA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YAClB,IA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AAE,CAAC,CAAC;IAC9D,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG;QAAE,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IAChE,IAAI,IAAI,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG;QAAE,OAAO,KAAK,CAAC;IAC7C,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,KAAK,CAAC;IAC/B,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAC/C,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;QAAE,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IAClE,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI;QAAE,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;IAEhE,OAAO,CAAC,GAAG,CAAC,sDAAsD,EAAE;QAChE,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,KAAK;KACf,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,SAAS,YAAY,CAAC,GAAW;IAC7B,IAAI,GAAG,KAAK,GAAG;QAAE,OAAO,KAAK,CAAC;IAC9B,IAAI,GAAG,KAAK,GAAG;QAAE,OAAO,IAAI,CAAC;IAC7B,MAAM,SAAS,CAAC,UAAU,GAAG,GAAG,GAAG,kCAAkC,CAAC,CAAC;AAC3E,CAAC"}
@@ -0,0 +1,9 @@
1
+ import DxfArrayScanner from './DxfArrayScanner';
2
+ import type { ParsedDxf } from './types';
3
+ import { Readable } from 'readable-stream';
4
+ export default class DxfParser {
5
+ parseSync(dxfString: string): ParsedDxf;
6
+ parseStream(stream: Readable): Promise<ParsedDxf>;
7
+ parseFromUrl(url: string, encoding?: string, init?: RequestInit | undefined): Promise<ParsedDxf | null>;
8
+ parseAll(scanner: DxfArrayScanner): ParsedDxf;
9
+ }