abstract-3d 2.6.19 → 2.7.0

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 (142) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/abstract-3d.d.ts +13 -1
  3. package/lib/abstract-3d.d.ts.map +1 -1
  4. package/lib/abstract-3d.js +77 -0
  5. package/lib/abstract-3d.js.map +1 -1
  6. package/lib/renderers/dxf/dxf-encoding/dxf-color.d.ts +5 -0
  7. package/lib/renderers/dxf/dxf-encoding/dxf-color.d.ts.map +1 -0
  8. package/lib/renderers/dxf/{color.js → dxf-encoding/dxf-color.js} +24 -19
  9. package/lib/renderers/dxf/dxf-encoding/dxf-color.js.map +1 -0
  10. package/lib/renderers/dxf/dxf-encoding/dxf-common.d.ts +13 -0
  11. package/lib/renderers/dxf/dxf-encoding/dxf-common.d.ts.map +1 -0
  12. package/lib/renderers/dxf/dxf-encoding/dxf-common.js +23 -0
  13. package/lib/renderers/dxf/dxf-encoding/dxf-common.js.map +1 -0
  14. package/lib/renderers/dxf/dxf-encoding/dxf-dimension.d.ts +6 -0
  15. package/lib/renderers/dxf/dxf-encoding/dxf-dimension.d.ts.map +1 -0
  16. package/lib/renderers/dxf/dxf-encoding/dxf-dimension.js +50 -0
  17. package/lib/renderers/dxf/dxf-encoding/dxf-dimension.js.map +1 -0
  18. package/lib/renderers/dxf/dxf-encoding/dxf-footer.d.ts +2 -0
  19. package/lib/renderers/dxf/dxf-encoding/dxf-footer.d.ts.map +1 -0
  20. package/lib/renderers/dxf/{dxf-encoding.js → dxf-encoding/dxf-footer.js} +3 -1819
  21. package/lib/renderers/dxf/{dxf-encoding.js.map → dxf-encoding/dxf-footer.js.map} +1 -1
  22. package/lib/renderers/dxf/dxf-encoding/dxf-header.d.ts +3 -0
  23. package/lib/renderers/dxf/dxf-encoding/dxf-header.d.ts.map +1 -0
  24. package/lib/renderers/dxf/dxf-encoding/dxf-header.js +1653 -0
  25. package/lib/renderers/dxf/dxf-encoding/dxf-header.js.map +1 -0
  26. package/lib/renderers/dxf/dxf-encoding/dxf-line.d.ts +5 -0
  27. package/lib/renderers/dxf/dxf-encoding/dxf-line.d.ts.map +1 -0
  28. package/lib/renderers/dxf/dxf-encoding/dxf-line.js +29 -0
  29. package/lib/renderers/dxf/dxf-encoding/dxf-line.js.map +1 -0
  30. package/lib/renderers/dxf/dxf-encoding/dxf-polyline.d.ts +5 -0
  31. package/lib/renderers/dxf/dxf-encoding/dxf-polyline.d.ts.map +1 -0
  32. package/lib/renderers/dxf/dxf-encoding/dxf-polyline.js +73 -0
  33. package/lib/renderers/dxf/dxf-encoding/dxf-polyline.js.map +1 -0
  34. package/lib/renderers/dxf/dxf-encoding/dxf-quad.d.ts +5 -0
  35. package/lib/renderers/dxf/dxf-encoding/dxf-quad.d.ts.map +1 -0
  36. package/lib/renderers/dxf/dxf-encoding/dxf-quad.js +39 -0
  37. package/lib/renderers/dxf/dxf-encoding/dxf-quad.js.map +1 -0
  38. package/lib/renderers/dxf/dxf-encoding/dxf-text.d.ts +19 -0
  39. package/lib/renderers/dxf/dxf-encoding/dxf-text.d.ts.map +1 -0
  40. package/lib/renderers/dxf/dxf-encoding/dxf-text.js +70 -0
  41. package/lib/renderers/dxf/dxf-encoding/dxf-text.js.map +1 -0
  42. package/lib/renderers/dxf/dxf-encoding/dxf-triangle.d.ts +5 -0
  43. package/lib/renderers/dxf/dxf-encoding/dxf-triangle.d.ts.map +1 -0
  44. package/lib/renderers/dxf/dxf-encoding/dxf-triangle.js +3 -0
  45. package/lib/renderers/dxf/dxf-encoding/dxf-triangle.js.map +1 -0
  46. package/lib/renderers/dxf/dxf-geometries/dxf-box.d.ts +2 -2
  47. package/lib/renderers/dxf/dxf-geometries/dxf-box.d.ts.map +1 -1
  48. package/lib/renderers/dxf/dxf-geometries/dxf-box.js +8 -8
  49. package/lib/renderers/dxf/dxf-geometries/dxf-box.js.map +1 -1
  50. package/lib/renderers/dxf/dxf-geometries/dxf-cone.d.ts +2 -2
  51. package/lib/renderers/dxf/dxf-geometries/dxf-cone.d.ts.map +1 -1
  52. package/lib/renderers/dxf/dxf-geometries/dxf-cone.js +4 -4
  53. package/lib/renderers/dxf/dxf-geometries/dxf-cone.js.map +1 -1
  54. package/lib/renderers/dxf/dxf-geometries/dxf-cylinder.d.ts +2 -2
  55. package/lib/renderers/dxf/dxf-geometries/dxf-cylinder.d.ts.map +1 -1
  56. package/lib/renderers/dxf/dxf-geometries/dxf-cylinder.js +6 -5
  57. package/lib/renderers/dxf/dxf-geometries/dxf-cylinder.js.map +1 -1
  58. package/lib/renderers/dxf/dxf-geometries/dxf-dimension.d.ts +4 -0
  59. package/lib/renderers/dxf/dxf-geometries/dxf-dimension.d.ts.map +1 -0
  60. package/lib/renderers/dxf/dxf-geometries/dxf-dimension.js +13 -0
  61. package/lib/renderers/dxf/dxf-geometries/dxf-dimension.js.map +1 -0
  62. package/lib/renderers/dxf/dxf-geometries/dxf-image.d.ts +2 -2
  63. package/lib/renderers/dxf/dxf-geometries/dxf-image.d.ts.map +1 -1
  64. package/lib/renderers/dxf/dxf-geometries/dxf-image.js +8 -7
  65. package/lib/renderers/dxf/dxf-geometries/dxf-image.js.map +1 -1
  66. package/lib/renderers/dxf/dxf-geometries/dxf-plane.d.ts +2 -2
  67. package/lib/renderers/dxf/dxf-geometries/dxf-plane.d.ts.map +1 -1
  68. package/lib/renderers/dxf/dxf-geometries/dxf-plane.js +3 -3
  69. package/lib/renderers/dxf/dxf-geometries/dxf-plane.js.map +1 -1
  70. package/lib/renderers/dxf/dxf-geometries/dxf-polygon.d.ts +2 -2
  71. package/lib/renderers/dxf/dxf-geometries/dxf-polygon.d.ts.map +1 -1
  72. package/lib/renderers/dxf/dxf-geometries/dxf-polygon.js +7 -6
  73. package/lib/renderers/dxf/dxf-geometries/dxf-polygon.js.map +1 -1
  74. package/lib/renderers/dxf/dxf-geometries/dxf-shape.d.ts +2 -2
  75. package/lib/renderers/dxf/dxf-geometries/dxf-shape.d.ts.map +1 -1
  76. package/lib/renderers/dxf/dxf-geometries/dxf-shape.js +6 -5
  77. package/lib/renderers/dxf/dxf-geometries/dxf-shape.js.map +1 -1
  78. package/lib/renderers/dxf/dxf-geometries/dxf-text.d.ts +4 -0
  79. package/lib/renderers/dxf/dxf-geometries/dxf-text.d.ts.map +1 -0
  80. package/lib/renderers/dxf/dxf-geometries/dxf-text.js +8 -0
  81. package/lib/renderers/dxf/dxf-geometries/dxf-text.js.map +1 -0
  82. package/lib/renderers/dxf/dxf.d.ts +4 -3
  83. package/lib/renderers/dxf/dxf.d.ts.map +1 -1
  84. package/lib/renderers/dxf/dxf.js +36 -22
  85. package/lib/renderers/dxf/dxf.js.map +1 -1
  86. package/lib/renderers/dxf/index.d.ts +1 -1
  87. package/lib/renderers/dxf/index.d.ts.map +1 -1
  88. package/lib/renderers/react/react-dimension.d.ts +4 -3
  89. package/lib/renderers/react/react-dimension.d.ts.map +1 -1
  90. package/lib/renderers/react/react-dimension.js +4 -3
  91. package/lib/renderers/react/react-dimension.js.map +1 -1
  92. package/lib/renderers/step/step-encoding.d.ts +2 -0
  93. package/lib/renderers/step/step-encoding.d.ts.map +1 -1
  94. package/lib/renderers/step/step-encoding.js +16 -3
  95. package/lib/renderers/step/step-encoding.js.map +1 -1
  96. package/lib/renderers/step/step-geometries/step-box.d.ts.map +1 -1
  97. package/lib/renderers/step/step-geometries/step-box.js +3 -0
  98. package/lib/renderers/step/step-geometries/step-box.js.map +1 -1
  99. package/lib/renderers/step/step-geometries/step-cylinder.d.ts.map +1 -1
  100. package/lib/renderers/step/step-geometries/step-cylinder.js +67 -21
  101. package/lib/renderers/step/step-geometries/step-cylinder.js.map +1 -1
  102. package/lib/renderers/svg/svg.d.ts.map +1 -1
  103. package/lib/renderers/svg/svg.js +6 -27
  104. package/lib/renderers/svg/svg.js.map +1 -1
  105. package/lib/utils.d.ts +3 -0
  106. package/lib/utils.d.ts.map +1 -1
  107. package/lib/utils.js +30 -0
  108. package/lib/utils.js.map +1 -1
  109. package/package.json +2 -2
  110. package/src/abstract-3d.ts +127 -7
  111. package/src/renderers/dxf/{color.ts → dxf-encoding/dxf-color.ts} +27 -20
  112. package/src/renderers/dxf/dxf-encoding/dxf-common.ts +31 -0
  113. package/src/renderers/dxf/dxf-encoding/dxf-dimension.ts +60 -0
  114. package/src/renderers/dxf/{dxf-encoding.ts → dxf-encoding/dxf-footer.ts} +4 -1870
  115. package/src/renderers/dxf/dxf-encoding/dxf-header.ts +1657 -0
  116. package/src/renderers/dxf/dxf-encoding/dxf-line.ts +35 -0
  117. package/src/renderers/dxf/dxf-encoding/dxf-polyline.ts +83 -0
  118. package/src/renderers/dxf/dxf-encoding/dxf-quad.ts +47 -0
  119. package/src/renderers/dxf/dxf-encoding/dxf-text.ts +71 -0
  120. package/src/renderers/dxf/dxf-encoding/dxf-triangle.ts +12 -0
  121. package/src/renderers/dxf/dxf-geometries/dxf-box.ts +18 -8
  122. package/src/renderers/dxf/dxf-geometries/dxf-cone.ts +13 -4
  123. package/src/renderers/dxf/dxf-geometries/dxf-cylinder.ts +13 -11
  124. package/src/renderers/dxf/dxf-geometries/dxf-dimension.ts +14 -0
  125. package/src/renderers/dxf/dxf-geometries/dxf-image.ts +11 -9
  126. package/src/renderers/dxf/dxf-geometries/dxf-plane.ts +7 -6
  127. package/src/renderers/dxf/dxf-geometries/dxf-polygon.ts +8 -6
  128. package/src/renderers/dxf/dxf-geometries/dxf-shape.ts +8 -6
  129. package/src/renderers/dxf/dxf-geometries/dxf-text.ts +9 -0
  130. package/src/renderers/dxf/dxf.ts +57 -39
  131. package/src/renderers/dxf/index.ts +1 -1
  132. package/src/renderers/react/react-dimension.tsx +8 -4
  133. package/src/renderers/step/step-encoding.ts +24 -5
  134. package/src/renderers/step/step-geometries/step-box.ts +6 -0
  135. package/src/renderers/step/step-geometries/step-cylinder.ts +303 -101
  136. package/src/renderers/svg/svg.ts +6 -34
  137. package/src/utils.ts +39 -0
  138. package/lib/renderers/dxf/color.d.ts +0 -7
  139. package/lib/renderers/dxf/color.d.ts.map +0 -1
  140. package/lib/renderers/dxf/color.js.map +0 -1
  141. package/lib/renderers/dxf/dxf-encoding.d.ts +0 -17
  142. package/lib/renderers/dxf/dxf-encoding.d.ts.map +0 -1
@@ -0,0 +1,1657 @@
1
+ /* eslint-disable max-lines */
2
+ import type { Bounds3, Vec3 } from "../../../abstract-3d.js";
3
+ import { DXF_MODEL_SPACE_HANDLE } from "./dxf-common.js";
4
+
5
+ const DXF_MAKER = "DXF Generated from Divid Abstract 3D";
6
+ const DXF_STANDARD = "AC1015";
7
+
8
+ export const dxfEncHeader = (bounds: Bounds3, center: Vec3, blockId: string, size: Vec3, dimScale: number = 44.0, dimArrowSize: number = 1.0, dimTextHeight: number = 1.0): string =>
9
+ ` 999
10
+ ${DXF_MAKER}
11
+ 0
12
+ SECTION
13
+ 2
14
+ HEADER
15
+ 9
16
+ $ACADVER
17
+ 1
18
+ ${DXF_STANDARD}
19
+ 9
20
+ $ACADMAINTVER
21
+ 70
22
+ 6
23
+ 9
24
+ $DWGCODEPAGE
25
+ 3
26
+ ANSI_1252
27
+ 9
28
+ $INSBASE
29
+ 10
30
+ 0.0
31
+ 20
32
+ 0.0
33
+ 30
34
+ 0.0
35
+ 9
36
+ $EXTMIN
37
+ 10
38
+ ${bounds.min.x}
39
+ 20
40
+ ${bounds.min.y}
41
+ 30
42
+ ${bounds.min.z}
43
+ 9
44
+ $EXTMAX
45
+ 10
46
+ ${bounds.max.x}
47
+ 20
48
+ ${bounds.max.y}
49
+ 30
50
+ ${bounds.max.z}
51
+ 9
52
+ $LIMMIN
53
+ 10
54
+ 0.0
55
+ 20
56
+ 0.0
57
+ 9
58
+ $LIMMAX
59
+ 10
60
+ 12.0
61
+ 20
62
+ 9.0
63
+ 9
64
+ $ORTHOMODE
65
+ 70
66
+ 0
67
+ 9
68
+ $REGENMODE
69
+ 70
70
+ 1
71
+ 9
72
+ $FILLMODE
73
+ 70
74
+ 1
75
+ 9
76
+ $QTEXTMODE
77
+ 70
78
+ 0
79
+ 9
80
+ $MIRRTEXT
81
+ 70
82
+ 1
83
+ 9
84
+ $LTSCALE
85
+ 40
86
+ 1.0
87
+ 9
88
+ $ATTMODE
89
+ 70
90
+ 1
91
+ 9
92
+ $TEXTSIZE
93
+ 40
94
+ 0.2
95
+ 9
96
+ $TRACEWID
97
+ 40
98
+ 0.05
99
+ 9
100
+ $TEXTSTYLE
101
+ 7
102
+ Standard
103
+ 9
104
+ $CLAYER
105
+ 8
106
+ 0
107
+ 9
108
+ $CELTYPE
109
+ 6
110
+ ByBlock
111
+ 9
112
+ $CECOLOR
113
+ 62
114
+ 256
115
+ 9
116
+ $CELTSCALE
117
+ 40
118
+ 1.0
119
+ 9
120
+ $DISPSILH
121
+ 70
122
+ 0
123
+ 9
124
+ $DIMSCALE
125
+ 40
126
+ ${dimScale}
127
+ 9
128
+ $DIMASZ
129
+ 40
130
+ ${dimArrowSize}
131
+ 9
132
+ $DIMEXO
133
+ 40
134
+ 0.0625
135
+ 9
136
+ $DIMDLI
137
+ 40
138
+ 0.38
139
+ 9
140
+ $DIMRND
141
+ 40
142
+ 0.0
143
+ 9
144
+ $DIMDLE
145
+ 40
146
+ 0.0
147
+ 9
148
+ $DIMEXE
149
+ 40
150
+ 0.18
151
+ 9
152
+ $DIMTP
153
+ 40
154
+ 0.0
155
+ 9
156
+ $DIMTM
157
+ 40
158
+ 0.0
159
+ 9
160
+ $DIMTXT
161
+ 40
162
+ ${dimTextHeight}
163
+ 9
164
+ $DIMCEN
165
+ 40
166
+ 0.09
167
+ 9
168
+ $DIMTSZ
169
+ 40
170
+ 0.0
171
+ 9
172
+ $DIMTOL
173
+ 70
174
+ 0
175
+ 9
176
+ $DIMLIM
177
+ 70
178
+ 0
179
+ 9
180
+ $DIMTIH
181
+ 70
182
+ 1
183
+ 9
184
+ $DIMTOH
185
+ 70
186
+ 1
187
+ 9
188
+ $DIMSE1
189
+ 70
190
+ 0
191
+ 9
192
+ $DIMSE2
193
+ 70
194
+ 0
195
+ 9
196
+ $DIMTAD
197
+ 70
198
+ 0
199
+ 9
200
+ $DIMZIN
201
+ 70
202
+ 0
203
+ 9
204
+ $DIMBLK
205
+ 1
206
+
207
+ 9
208
+ $DIMASO
209
+ 70
210
+ 1
211
+ 9
212
+ $DIMSHO
213
+ 70
214
+ 1
215
+ 9
216
+ $DIMPOST
217
+ 1
218
+
219
+ 9
220
+ $DIMAPOST
221
+ 1
222
+
223
+ 9
224
+ $DIMALT
225
+ 70
226
+ 0
227
+ 9
228
+ $DIMALTD
229
+ 70
230
+ 2
231
+ 9
232
+ $DIMALTF
233
+ 40
234
+ 25.4
235
+ 9
236
+ $DIMLFAC
237
+ 40
238
+ 1.0
239
+ 9
240
+ $DIMTOFL
241
+ 70
242
+ 0
243
+ 9
244
+ $DIMTVP
245
+ 40
246
+ 0.0
247
+ 9
248
+ $DIMTIX
249
+ 70
250
+ 0
251
+ 9
252
+ $DIMSOXD
253
+ 70
254
+ 0
255
+ 9
256
+ $DIMSAH
257
+ 70
258
+ 0
259
+ 9
260
+ $DIMBLK1
261
+ 1
262
+
263
+ 9
264
+ $DIMBLK2
265
+ 1
266
+
267
+ 9
268
+ $DIMSTYLE
269
+ 2
270
+ Standard
271
+ 9
272
+ $DIMCLRD
273
+ 70
274
+ 0
275
+ 9
276
+ $DIMCLRE
277
+ 70
278
+ 0
279
+ 9
280
+ $DIMCLRT
281
+ 70
282
+ 0
283
+ 9
284
+ $DIMTFAC
285
+ 40
286
+ 1.0
287
+ 9
288
+ $DIMGAP
289
+ 40
290
+ 0.09
291
+ 9
292
+ $DIMJUST
293
+ 70
294
+ 0
295
+ 9
296
+ $DIMSD1
297
+ 70
298
+ 0
299
+ 9
300
+ $DIMSD2
301
+ 70
302
+ 0
303
+ 9
304
+ $DIMTOLJ
305
+ 70
306
+ 1
307
+ 9
308
+ $DIMTZIN
309
+ 70
310
+ 0
311
+ 9
312
+ $DIMALTZ
313
+ 70
314
+ 0
315
+ 9
316
+ $DIMALTTZ
317
+ 70
318
+ 0
319
+ 9
320
+ $DIMUPT
321
+ 70
322
+ 0
323
+ 9
324
+ $DIMDEC
325
+ 70
326
+ 4
327
+ 9
328
+ $DIMTDEC
329
+ 70
330
+ 4
331
+ 9
332
+ $DIMALTU
333
+ 70
334
+ 2
335
+ 9
336
+ $DIMALTTD
337
+ 70
338
+ 2
339
+ 9
340
+ $DIMTXSTY
341
+ 7
342
+ Standard
343
+ 9
344
+ $DIMAUNIT
345
+ 70
346
+ 0
347
+ 9
348
+ $DIMADEC
349
+ 70
350
+ 0
351
+ 9
352
+ $DIMALTRND
353
+ 40
354
+ 0.0
355
+ 9
356
+ $DIMAZIN
357
+ 70
358
+ 0
359
+ 9
360
+ $DIMDSEP
361
+ 70
362
+ 46
363
+ 9
364
+ $DIMATFIT
365
+ 70
366
+ 3
367
+ 9
368
+ $DIMFRAC
369
+ 70
370
+ 0
371
+ 9
372
+ $DIMLDRBLK
373
+ 1
374
+
375
+ 9
376
+ $DIMLUNIT
377
+ 70
378
+ 2
379
+ 9
380
+ $DIMLWD
381
+ 70
382
+ -2
383
+ 9
384
+ $DIMLWE
385
+ 70
386
+ -2
387
+ 9
388
+ $DIMTMOVE
389
+ 70
390
+ 2
391
+ 9
392
+ $LUNITS
393
+ 70
394
+ 2
395
+ 9
396
+ $LUPREC
397
+ 70
398
+ 4
399
+ 9
400
+ $SKETCHINC
401
+ 40
402
+ 0.1
403
+ 9
404
+ $FILLETRAD
405
+ 40
406
+ 0.5
407
+ 9
408
+ $AUNITS
409
+ 70
410
+ 0
411
+ 9
412
+ $AUPREC
413
+ 70
414
+ 0
415
+ 9
416
+ $MENU
417
+ 1
418
+ .
419
+ 9
420
+ $ELEVATION
421
+ 40
422
+ 0.0
423
+ 9
424
+ $PELEVATION
425
+ 40
426
+ 0.0
427
+ 9
428
+ $THICKNESS
429
+ 40
430
+ 0.0
431
+ 9
432
+ $LIMCHECK
433
+ 70
434
+ 0
435
+ 9
436
+ $CHAMFERA
437
+ 40
438
+ 0.0
439
+ 9
440
+ $CHAMFERB
441
+ 40
442
+ 0.0
443
+ 9
444
+ $CHAMFERC
445
+ 40
446
+ 0.0
447
+ 9
448
+ $CHAMFERD
449
+ 40
450
+ 0.0
451
+ 9
452
+ $SKPOLY
453
+ 70
454
+ 0
455
+ 9
456
+ $TDCREATE
457
+ 40
458
+ 2460088.335051192
459
+ 9
460
+ $TDUCREATE
461
+ 40
462
+ 2460088.293384525
463
+ 9
464
+ $TDUPDATE
465
+ 40
466
+ 2460088.335052731
467
+ 9
468
+ $TDUUPDATE
469
+ 40
470
+ 2460088.293386065
471
+ 9
472
+ $TDINDWG
473
+ 40
474
+ 0.0000000116
475
+ 9
476
+ $TDUSRTIMER
477
+ 40
478
+ 0.0000000116
479
+ 9
480
+ $USRTIMER
481
+ 70
482
+ 1
483
+ 9
484
+ $ANGBASE
485
+ 50
486
+ 0.0
487
+ 9
488
+ $ANGDIR
489
+ 70
490
+ 0
491
+ 9
492
+ $PDMODE
493
+ 70
494
+ 0
495
+ 9
496
+ $PDSIZE
497
+ 40
498
+ 0.0
499
+ 9
500
+ $PLINEWID
501
+ 40
502
+ 0.0
503
+ 9
504
+ $SPLFRAME
505
+ 70
506
+ 0
507
+ 9
508
+ $SPLINETYPE
509
+ 70
510
+ 6
511
+ 9
512
+ $SPLINESEGS
513
+ 70
514
+ 8
515
+ 9
516
+ $HANDSEED
517
+ 5
518
+ B1C
519
+ 9
520
+ $SURFTAB1
521
+ 70
522
+ 6
523
+ 9
524
+ $SURFTAB2
525
+ 70
526
+ 6
527
+ 9
528
+ $SURFTYPE
529
+ 70
530
+ 6
531
+ 9
532
+ $SURFU
533
+ 70
534
+ 6
535
+ 9
536
+ $SURFV
537
+ 70
538
+ 6
539
+ 9
540
+ $UCSBASE
541
+ 2
542
+
543
+ 9
544
+ $UCSNAME
545
+ 2
546
+
547
+ 9
548
+ $UCSORG
549
+ 10
550
+ 0.0
551
+ 20
552
+ 0.0
553
+ 30
554
+ 0.0
555
+ 9
556
+ $UCSXDIR
557
+ 10
558
+ 1.0
559
+ 20
560
+ 0.0
561
+ 30
562
+ 0.0
563
+ 9
564
+ $UCSYDIR
565
+ 10
566
+ 0.0
567
+ 20
568
+ 1.0
569
+ 30
570
+ 0.0
571
+ 9
572
+ $UCSORTHOREF
573
+ 2
574
+
575
+ 9
576
+ $UCSORTHOVIEW
577
+ 70
578
+ 0
579
+ 9
580
+ $UCSORGTOP
581
+ 10
582
+ 0.0
583
+ 20
584
+ 0.0
585
+ 30
586
+ 0.0
587
+ 9
588
+ $UCSORGBOTTOM
589
+ 10
590
+ 0.0
591
+ 20
592
+ 0.0
593
+ 30
594
+ 0.0
595
+ 9
596
+ $UCSORGLEFT
597
+ 10
598
+ 0.0
599
+ 20
600
+ 0.0
601
+ 30
602
+ 0.0
603
+ 9
604
+ $UCSORGRIGHT
605
+ 10
606
+ 0.0
607
+ 20
608
+ 0.0
609
+ 30
610
+ 0.0
611
+ 9
612
+ $UCSORGFRONT
613
+ 10
614
+ 0.0
615
+ 20
616
+ 0.0
617
+ 30
618
+ 0.0
619
+ 9
620
+ $UCSORGBACK
621
+ 10
622
+ 0.0
623
+ 20
624
+ 0.0
625
+ 30
626
+ 0.0
627
+ 9
628
+ $PUCSBASE
629
+ 2
630
+
631
+ 9
632
+ $PUCSNAME
633
+ 2
634
+
635
+ 9
636
+ $PUCSORG
637
+ 10
638
+ 0.0
639
+ 20
640
+ 0.0
641
+ 30
642
+ 0.0
643
+ 9
644
+ $PUCSXDIR
645
+ 10
646
+ 1.0
647
+ 20
648
+ 0.0
649
+ 30
650
+ 0.0
651
+ 9
652
+ $PUCSYDIR
653
+ 10
654
+ 0.0
655
+ 20
656
+ 1.0
657
+ 30
658
+ 0.0
659
+ 9
660
+ $PUCSORTHOREF
661
+ 2
662
+
663
+ 9
664
+ $PUCSORTHOVIEW
665
+ 70
666
+ 0
667
+ 9
668
+ $PUCSORGTOP
669
+ 10
670
+ 0.0
671
+ 20
672
+ 0.0
673
+ 30
674
+ 0.0
675
+ 9
676
+ $PUCSORGBOTTOM
677
+ 10
678
+ 0.0
679
+ 20
680
+ 0.0
681
+ 30
682
+ 0.0
683
+ 9
684
+ $PUCSORGLEFT
685
+ 10
686
+ 0.0
687
+ 20
688
+ 0.0
689
+ 30
690
+ 0.0
691
+ 9
692
+ $PUCSORGRIGHT
693
+ 10
694
+ 0.0
695
+ 20
696
+ 0.0
697
+ 30
698
+ 0.0
699
+ 9
700
+ $PUCSORGFRONT
701
+ 10
702
+ 0.0
703
+ 20
704
+ 0.0
705
+ 30
706
+ 0.0
707
+ 9
708
+ $PUCSORGBACK
709
+ 10
710
+ 0.0
711
+ 20
712
+ 0.0
713
+ 30
714
+ 0.0
715
+ 9
716
+ $USERI1
717
+ 70
718
+ 0
719
+ 9
720
+ $USERI2
721
+ 70
722
+ 0
723
+ 9
724
+ $USERI3
725
+ 70
726
+ 0
727
+ 9
728
+ $USERI4
729
+ 70
730
+ 0
731
+ 9
732
+ $USERI5
733
+ 70
734
+ 0
735
+ 9
736
+ $USERR1
737
+ 40
738
+ 0.0
739
+ 9
740
+ $USERR2
741
+ 40
742
+ 0.0
743
+ 9
744
+ $USERR3
745
+ 40
746
+ 0.0
747
+ 9
748
+ $USERR4
749
+ 40
750
+ 0.0
751
+ 9
752
+ $USERR5
753
+ 40
754
+ 0.0
755
+ 9
756
+ $WORLDVIEW
757
+ 70
758
+ 1
759
+ 9
760
+ $SHADEDGE
761
+ 70
762
+ 3
763
+ 9
764
+ $SHADEDIF
765
+ 70
766
+ 70
767
+ 9
768
+ $TILEMODE
769
+ 70
770
+ 1
771
+ 9
772
+ $MAXACTVP
773
+ 70
774
+ 64
775
+ 9
776
+ $PINSBASE
777
+ 10
778
+ 0.0
779
+ 20
780
+ 0.0
781
+ 30
782
+ 0.0
783
+ 9
784
+ $PLIMCHECK
785
+ 70
786
+ 0
787
+ 9
788
+ $PEXTMIN
789
+ 10
790
+ 1.000000000000000E+20
791
+ 20
792
+ 1.000000000000000E+20
793
+ 30
794
+ 1.000000000000000E+20
795
+ 9
796
+ $PEXTMAX
797
+ 10
798
+ -1.000000000000000E+20
799
+ 20
800
+ -1.000000000000000E+20
801
+ 30
802
+ -1.000000000000000E+20
803
+ 9
804
+ $PLIMMIN
805
+ 10
806
+ 0.0
807
+ 20
808
+ 0.0
809
+ 9
810
+ $PLIMMAX
811
+ 10
812
+ 12.0
813
+ 20
814
+ 9.0
815
+ 9
816
+ $UNITMODE
817
+ 70
818
+ 0
819
+ 9
820
+ $VISRETAIN
821
+ 70
822
+ 1
823
+ 9
824
+ $PLINEGEN
825
+ 70
826
+ 0
827
+ 9
828
+ $PSLTSCALE
829
+ 70
830
+ 1
831
+ 9
832
+ $TREEDEPTH
833
+ 70
834
+ 3020
835
+ 9
836
+ $CMLSTYLE
837
+ 2
838
+ Standard
839
+ 9
840
+ $CMLJUST
841
+ 70
842
+ 0
843
+ 9
844
+ $CMLSCALE
845
+ 40
846
+ 1.0
847
+ 9
848
+ $PROXYGRAPHICS
849
+ 70
850
+ 1
851
+ 9
852
+ $MEASUREMENT
853
+ 70
854
+ 4
855
+ 9
856
+ $CELWEIGHT
857
+ 370
858
+ -1
859
+ 9
860
+ $ENDCAPS
861
+ 280
862
+ 0
863
+ 9
864
+ $JOINSTYLE
865
+ 280
866
+ 0
867
+ 9
868
+ $LWDISPLAY
869
+ 290
870
+ 0
871
+ 9
872
+ $INSUNITS
873
+ 70
874
+ 4
875
+ 9
876
+ $HYPERLINKBASE
877
+ 1
878
+
879
+ 9
880
+ $STYLESHEET
881
+ 1
882
+
883
+ 9
884
+ $XEDIT
885
+ 290
886
+ 1
887
+ 9
888
+ $CEPSNTYPE
889
+ 380
890
+ 0
891
+ 9
892
+ $PSTYLEMODE
893
+ 290
894
+ 1
895
+ 9
896
+ $FINGERPRINTGUID
897
+ 2
898
+ {76617678-3430-7374-f538-786538643361}
899
+ 9
900
+ $VERSIONGUID
901
+ 2
902
+ {FAEB1C32-E019-11D5-929B-00C0DF256EC4}
903
+ 9
904
+ $EXTNAMES
905
+ 290
906
+ 1
907
+ 9
908
+ $PSVPSCALE
909
+ 40
910
+ 0.0
911
+ 9
912
+ $OLESTARTUP
913
+ 290
914
+ 0
915
+ 0
916
+ ENDSEC
917
+ 0
918
+ SECTION
919
+ 2
920
+ CLASSES
921
+ 0
922
+ CLASS
923
+ 1
924
+ ACDBDICTIONARYWDFLT
925
+ 2
926
+ AcDbDictionaryWithDefault
927
+ 3
928
+ ObjectDBX Classes
929
+ 90
930
+ 0
931
+ 280
932
+ 0
933
+ 281
934
+ 0
935
+ 0
936
+ CLASS
937
+ 1
938
+ MATERIAL
939
+ 2
940
+ AcDbMaterial
941
+ 3
942
+ ObjectDBX Classes
943
+ 90
944
+ 1153
945
+ 280
946
+ 0
947
+ 281
948
+ 0
949
+ 0
950
+ CLASS
951
+ 1
952
+ SCALE
953
+ 2
954
+ AcDbScale
955
+ 3
956
+ ObjectDBX Classes
957
+ 90
958
+ 1153
959
+ 280
960
+ 0
961
+ 281
962
+ 0
963
+ 0
964
+ CLASS
965
+ 1
966
+ VISUALSTYLE
967
+ 2
968
+ AcDbVisualStyle
969
+ 3
970
+ ObjectDBX Classes
971
+ 90
972
+ 4095
973
+ 280
974
+ 0
975
+ 281
976
+ 0
977
+ 0
978
+ CLASS
979
+ 1
980
+ TABLESTYLE
981
+ 2
982
+ AcDbTableStyle
983
+ 3
984
+ ObjectDBX Classes
985
+ 90
986
+ 4095
987
+ 280
988
+ 0
989
+ 281
990
+ 0
991
+ 0
992
+ CLASS
993
+ 1
994
+ MLEADERSTYLE
995
+ 2
996
+ AcDbMLeaderStyle
997
+ 3
998
+ ACDB_MLEADERSTYLE_CLASS
999
+ 90
1000
+ 4095
1001
+ 280
1002
+ 0
1003
+ 281
1004
+ 0
1005
+ 0
1006
+ CLASS
1007
+ 1
1008
+ DICTIONARYVAR
1009
+ 2
1010
+ AcDbDictionaryVar
1011
+ 3
1012
+ ObjectDBX Classes
1013
+ 90
1014
+ 0
1015
+ 280
1016
+ 0
1017
+ 281
1018
+ 0
1019
+ 0
1020
+ CLASS
1021
+ 1
1022
+ ACDBPLACEHOLDER
1023
+ 2
1024
+ AcDbPlaceHolder
1025
+ 3
1026
+ ObjectDBX Classes
1027
+ 90
1028
+ 0
1029
+ 280
1030
+ 0
1031
+ 281
1032
+ 0
1033
+ 0
1034
+ CLASS
1035
+ 1
1036
+ LAYOUT
1037
+ 2
1038
+ AcDbLayout
1039
+ 3
1040
+ ObjectDBX Classes
1041
+ 90
1042
+ 0
1043
+ 280
1044
+ 0
1045
+ 281
1046
+ 0
1047
+ 0
1048
+ ENDSEC
1049
+ 0
1050
+ SECTION
1051
+ 2
1052
+ TABLES
1053
+ 0
1054
+ TABLE
1055
+ 2
1056
+ VPORT
1057
+ 5
1058
+ 8
1059
+ 102
1060
+ {ACAD_XDICTIONARY
1061
+ 360
1062
+ AE0
1063
+ 102
1064
+ }
1065
+ 330
1066
+ 0
1067
+ 100
1068
+ AcDbSymbolTable
1069
+ 70
1070
+ 1
1071
+ 0
1072
+ VPORT
1073
+ 5
1074
+ 2A
1075
+ 330
1076
+ 8
1077
+ 100
1078
+ AcDbSymbolTableRecord
1079
+ 100
1080
+ AcDbViewportTableRecord
1081
+ 2
1082
+ *ACTIVE
1083
+ 70
1084
+ 0
1085
+ 10
1086
+ 0.0
1087
+ 20
1088
+ 0.0
1089
+ 11
1090
+ 1.0
1091
+ 21
1092
+ 1.0
1093
+ 12
1094
+ ${-size.x / 2}
1095
+ 22
1096
+ ${0}
1097
+ 13
1098
+ 0.0
1099
+ 23
1100
+ 0.0
1101
+ 14
1102
+ 1.0
1103
+ 24
1104
+ 1.0
1105
+ 15
1106
+ 0.0
1107
+ 25
1108
+ 0.0
1109
+ 16
1110
+ 0
1111
+ 26
1112
+ 0
1113
+ 36
1114
+ 1
1115
+ 17
1116
+ ${center.x}
1117
+ 27
1118
+ ${center.y}
1119
+ 37
1120
+ 0
1121
+ 40
1122
+ ${size.y}
1123
+ 41
1124
+ ${size.x / size.y}
1125
+ 42
1126
+ 50.0
1127
+ 43
1128
+ 0.0
1129
+ 44
1130
+ 0.0
1131
+ 50
1132
+ 0.0
1133
+ 51
1134
+ 0.0
1135
+ 71
1136
+ 0
1137
+ 72
1138
+ 0
1139
+ 73
1140
+ 0
1141
+ 74
1142
+ 0
1143
+ 75
1144
+ 0
1145
+ 76
1146
+ 0
1147
+ 77
1148
+ 0
1149
+ 78
1150
+ 0
1151
+ 281
1152
+ 0
1153
+ 65
1154
+ 0
1155
+ 110
1156
+ 0.0
1157
+ 120
1158
+ 0.0
1159
+ 130
1160
+ 0.0
1161
+ 111
1162
+ 1.0
1163
+ 121
1164
+ 0.0
1165
+ 131
1166
+ 0.0
1167
+ 112
1168
+ 0.0
1169
+ 122
1170
+ 1.0
1171
+ 132
1172
+ 0.0
1173
+ 79
1174
+ 0
1175
+ 146
1176
+ 0.0
1177
+ 0
1178
+ ENDTAB
1179
+ 0
1180
+ TABLE
1181
+ 2
1182
+ LTYPE
1183
+ 5
1184
+ 5
1185
+ 330
1186
+ 0
1187
+ 100
1188
+ AcDbSymbolTable
1189
+ 70
1190
+ 1
1191
+ 0
1192
+ LTYPE
1193
+ 5
1194
+ 14
1195
+ 330
1196
+ 5
1197
+ 100
1198
+ AcDbSymbolTableRecord
1199
+ 100
1200
+ AcDbLinetypeTableRecord
1201
+ 2
1202
+ ByBlock
1203
+ 70
1204
+ 0
1205
+ 3
1206
+
1207
+ 72
1208
+ 65
1209
+ 73
1210
+ 0
1211
+ 40
1212
+ 0.0
1213
+ 0
1214
+ LTYPE
1215
+ 5
1216
+ 15
1217
+ 330
1218
+ 5
1219
+ 100
1220
+ AcDbSymbolTableRecord
1221
+ 100
1222
+ AcDbLinetypeTableRecord
1223
+ 2
1224
+ ByLayer
1225
+ 70
1226
+ 0
1227
+ 3
1228
+
1229
+ 72
1230
+ 65
1231
+ 73
1232
+ 0
1233
+ 40
1234
+ 0.0
1235
+ 0
1236
+ LTYPE
1237
+ 5
1238
+ 16
1239
+ 330
1240
+ 5
1241
+ 100
1242
+ AcDbSymbolTableRecord
1243
+ 100
1244
+ AcDbLinetypeTableRecord
1245
+ 2
1246
+ CONTINUOUS
1247
+ 70
1248
+ 0
1249
+ 3
1250
+ Solid line
1251
+ 72
1252
+ 65
1253
+ 73
1254
+ 0
1255
+ 40
1256
+ 0.0
1257
+ 0
1258
+ ENDTAB
1259
+ 0
1260
+ TABLE
1261
+ 2
1262
+ LAYER
1263
+ 5
1264
+ 2
1265
+ 330
1266
+ 0
1267
+ 100
1268
+ AcDbSymbolTable
1269
+ 70
1270
+ 2
1271
+ 0
1272
+ LAYER
1273
+ 5
1274
+ 10
1275
+ 330
1276
+ 2
1277
+ 100
1278
+ AcDbSymbolTableRecord
1279
+ 100
1280
+ AcDbLayerTableRecord
1281
+ 2
1282
+ 0
1283
+ 70
1284
+ 0
1285
+ 62
1286
+ 7
1287
+ 6
1288
+ CONTINUOUS
1289
+ 370
1290
+ -3
1291
+ 390
1292
+ F
1293
+ 0
1294
+ LAYER
1295
+ 5
1296
+ 28
1297
+ 330
1298
+ 2
1299
+ 100
1300
+ AcDbSymbolTableRecord
1301
+ 100
1302
+ AcDbLayerTableRecord
1303
+ 2
1304
+ A3D
1305
+ 70
1306
+ 0
1307
+ 62
1308
+ 7
1309
+ 6
1310
+ CONTINUOUS
1311
+ 370
1312
+ -3
1313
+ 390
1314
+ F
1315
+ 0
1316
+ ENDTAB
1317
+ 0
1318
+ TABLE
1319
+ 2
1320
+ STYLE
1321
+ 5
1322
+ 3
1323
+ 330
1324
+ 0
1325
+ 100
1326
+ AcDbSymbolTable
1327
+ 70
1328
+ 1
1329
+ 0
1330
+ STYLE
1331
+ 5
1332
+ 11
1333
+ 330
1334
+ 3
1335
+ 100
1336
+ AcDbSymbolTableRecord
1337
+ 100
1338
+ AcDbTextStyleTableRecord
1339
+ 2
1340
+ Standard
1341
+ 70
1342
+ 0
1343
+ 40
1344
+ 0.0
1345
+ 41
1346
+ 1.0
1347
+ 50
1348
+ 0.0
1349
+ 71
1350
+ 0
1351
+ 42
1352
+ 0.2
1353
+ 3
1354
+ txt
1355
+ 4
1356
+
1357
+ 0
1358
+ ENDTAB
1359
+ 0
1360
+ TABLE
1361
+ 2
1362
+ VIEW
1363
+ 5
1364
+ 6
1365
+ 330
1366
+ 0
1367
+ 100
1368
+ AcDbSymbolTable
1369
+ 70
1370
+ 0
1371
+ 0
1372
+ ENDTAB
1373
+ 0
1374
+ TABLE
1375
+ 2
1376
+ UCS
1377
+ 5
1378
+ 7
1379
+ 330
1380
+ 0
1381
+ 100
1382
+ AcDbSymbolTable
1383
+ 70
1384
+ 0
1385
+ 0
1386
+ ENDTAB
1387
+ 0
1388
+ TABLE
1389
+ 2
1390
+ APPID
1391
+ 5
1392
+ 9
1393
+ 330
1394
+ 0
1395
+ 100
1396
+ AcDbSymbolTable
1397
+ 70
1398
+ 3
1399
+ 0
1400
+ APPID
1401
+ 5
1402
+ 12
1403
+ 330
1404
+ 9
1405
+ 100
1406
+ AcDbSymbolTableRecord
1407
+ 100
1408
+ AcDbRegAppTableRecord
1409
+ 2
1410
+ ACAD
1411
+ 70
1412
+ 1
1413
+ 0
1414
+ APPID
1415
+ 5
1416
+ 21
1417
+ 330
1418
+ 9
1419
+ 100
1420
+ AcDbSymbolTableRecord
1421
+ 100
1422
+ AcDbRegAppTableRecord
1423
+ 2
1424
+ A3D
1425
+ 70
1426
+ 1
1427
+ 0
1428
+ APPID
1429
+ 5
1430
+ B19
1431
+ 330
1432
+ 9
1433
+ 100
1434
+ AcDbSymbolTableRecord
1435
+ 100
1436
+ AcDbRegAppTableRecord
1437
+ 2
1438
+ ACAD_MLEADERVER
1439
+ 70
1440
+ 0
1441
+ 0
1442
+ ENDTAB
1443
+ 0
1444
+ TABLE
1445
+ 2
1446
+ DIMSTYLE
1447
+ 5
1448
+ A
1449
+ 330
1450
+ 0
1451
+ 100
1452
+ AcDbSymbolTable
1453
+ 70
1454
+ 1
1455
+ 100
1456
+ AcDbDimStyleTable
1457
+ 0
1458
+ DIMSTYLE
1459
+ 105
1460
+ 2B
1461
+ 330
1462
+ A
1463
+ 100
1464
+ AcDbSymbolTableRecord
1465
+ 100
1466
+ AcDbDimStyleTableRecord
1467
+ 2
1468
+ Standard
1469
+ 70
1470
+ 0
1471
+ 40
1472
+ ${dimScale}
1473
+ 41
1474
+ ${dimArrowSize}
1475
+ 140
1476
+ ${dimTextHeight}
1477
+ 178
1478
+ 0
1479
+ 340
1480
+ 11
1481
+ 0
1482
+ ENDTAB
1483
+ 0
1484
+ TABLE
1485
+ 2
1486
+ BLOCK_RECORD
1487
+ 5
1488
+ 1
1489
+ 330
1490
+ 0
1491
+ 100
1492
+ AcDbSymbolTable
1493
+ 70
1494
+ 1
1495
+ 0
1496
+ BLOCK_RECORD
1497
+ 5
1498
+ ${DXF_MODEL_SPACE_HANDLE}
1499
+ 330
1500
+ 1
1501
+ 100
1502
+ AcDbSymbolTableRecord
1503
+ 100
1504
+ AcDbBlockTableRecord
1505
+ 2
1506
+ *Model_Space
1507
+ 340
1508
+ 1E
1509
+ 0
1510
+ BLOCK_RECORD
1511
+ 5
1512
+ 1B
1513
+ 330
1514
+ 1
1515
+ 100
1516
+ AcDbSymbolTableRecord
1517
+ 100
1518
+ AcDbBlockTableRecord
1519
+ 2
1520
+ *Paper_Space
1521
+ 340
1522
+ 1C
1523
+ 0
1524
+ BLOCK_RECORD
1525
+ 5
1526
+ 2D
1527
+ 330
1528
+ 1
1529
+ 100
1530
+ AcDbSymbolTableRecord
1531
+ 100
1532
+ AcDbBlockTableRecord
1533
+ 2
1534
+ ${blockId}
1535
+ 340
1536
+ 0
1537
+ 102
1538
+ {BLKREFS
1539
+ 331
1540
+ AA3
1541
+ 102
1542
+ }
1543
+ 0
1544
+ ENDTAB
1545
+ 0
1546
+ ENDSEC
1547
+ 0
1548
+ SECTION
1549
+ 2
1550
+ BLOCKS
1551
+ 0
1552
+ BLOCK
1553
+ 5
1554
+ AB6
1555
+ 330
1556
+ ${DXF_MODEL_SPACE_HANDLE}
1557
+ 100
1558
+ AcDbEntity
1559
+ 8
1560
+ 0
1561
+ 100
1562
+ AcDbBlockBegin
1563
+ 2
1564
+ *Model_Space
1565
+ 70
1566
+ 0
1567
+ 10
1568
+ 0.0
1569
+ 20
1570
+ 0.0
1571
+ 30
1572
+ 0.0
1573
+ 3
1574
+ *Model_Space
1575
+ 1
1576
+
1577
+ 0
1578
+ ENDBLK
1579
+ 5
1580
+ AB7
1581
+ 330
1582
+ ${DXF_MODEL_SPACE_HANDLE}
1583
+ 100
1584
+ AcDbEntity
1585
+ 8
1586
+ 0
1587
+ 100
1588
+ AcDbBlockEnd
1589
+ 0
1590
+ BLOCK
1591
+ 5
1592
+ AB8
1593
+ 330
1594
+ 1B
1595
+ 100
1596
+ AcDbEntity
1597
+ 67
1598
+ 1
1599
+ 8
1600
+ 0
1601
+ 100
1602
+ AcDbBlockBegin
1603
+ 2
1604
+ *Paper_Space
1605
+ 70
1606
+ 0
1607
+ 10
1608
+ 0.0
1609
+ 20
1610
+ 0.0
1611
+ 30
1612
+ 0.0
1613
+ 3
1614
+ *Paper_Space
1615
+ 1
1616
+
1617
+ 0
1618
+ ENDBLK
1619
+ 5
1620
+ AB9
1621
+ 330
1622
+ 1B
1623
+ 100
1624
+ AcDbEntity
1625
+ 67
1626
+ 1
1627
+ 8
1628
+ 0
1629
+ 100
1630
+ AcDbBlockEnd
1631
+ 0
1632
+ BLOCK
1633
+ 5
1634
+ 2C
1635
+ 330
1636
+ 2D
1637
+ 100
1638
+ AcDbEntity
1639
+ 8
1640
+ A3D
1641
+ 100
1642
+ AcDbBlockBegin
1643
+ 2
1644
+ ${blockId}
1645
+ 70
1646
+ 0
1647
+ 10
1648
+ 0.0
1649
+ 20
1650
+ 0.0
1651
+ 30
1652
+ 0.0
1653
+ 3
1654
+ ${blockId}
1655
+ 1
1656
+
1657
+ `;