-
Notifications
You must be signed in to change notification settings - Fork 0
/
dwg_ac1009.ksy
3573 lines (3573 loc) · 84.2 KB
/
dwg_ac1009.ksy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
meta:
id: dwg_ac1009
title: AutoCAD drawing (AC1009)
application: AutoCAD
file-extension:
- dwg
xref:
justsolve: DWG
pronom:
fmt: 32
mime:
- application/x-dwg
- image/vnd.dwg
wikidata: Q27863127
license: CC0-1.0
endian: le
seq:
- id: header
type: header
- id: entities
type: entities
- id: table_blocks
type: table_blocks
- id: unknown1
size: header.table_layer.begin - _io.pos - 16
- id: table_layers
type: table_layers
- id: unknown2
size: header.table_style.begin - _io.pos - 16
- id: table_styles
type: table_styles
- id: unknown3
size: header.table_linetype.begin - _io.pos - 16
- id: table_linetypes
type: table_linetypes
- id: unknown4
size: header.table_view.begin - _io.pos - 16
- id: table_views
type: table_views
- id: unknown5
size: header.variables.table_ucs.begin - _io.pos - 16
- id: table_ucss
type: table_ucss
- id: unknown6
size: header.variables.table_vport.begin - _io.pos - 16
- id: table_vports
type: table_vports
- id: unknown7
size: header.variables.table_appid.begin - _io.pos - 16
- id: table_appids
type: table_appids
- id: unknown8
size: header.variables.table_dimstyle.begin - _io.pos - 16
- id: table_dimstyles
type: table_dimstyles
- id: unknown9
size: header.variables.table_vx.begin - _io.pos - 16
- id: table_vxs
type: table_vxs
- id: entities_block
type: entities_block
- id: entities_extra
type: entities_extra
- id: aux_header
type: aux_header
size: 170
- id: todo
size-eos: true
repeat: eos
if: not _io.eof
types:
aux_header:
seq:
- id: aux_header_sentinel_begin
contents: [0x29, 0x8D, 0xD1, 0x49, 0xA9, 0x73, 0x1F, 0xEA, 0x99, 0xDE, 0x32, 0xF9, 0x4D, 0x0A, 0xE0, 0x19]
- id: num_aux_header_variables
type: s2
- id: aux_header_size
type: s2
- id: entities_start
type: s4
- id: entities_end
type: s4
- id: block_entities_start
type: s4
- id: extra_entities_start
type: s4
- id: handling
type: u2
- id: handseed
size: 8
- id: num_aux_tables
type: u2
- id: aux_tables
type: aux_header_table
repeat: expr
repeat-expr: num_aux_tables
- id: aux_header_address
type: s4
- id: crc16
size: 2
- id: aux_header_sentinel_end
contents: [0xD6, 0x72, 0x2E, 0xB6, 0x56, 0x8C, 0xE0, 0x15, 0x66, 0x21, 0xCD, 0x06, 0xB2, 0xF5, 0x1F, 0xE6]
aux_header_table:
seq:
- id: table_num
type: u2
enum: aux_table
- id: item_size
type: u2
- id: items
type: u2
- id: begin
type: u4
block:
seq:
- id: flag
type: block_flag
doc: BLOCK/70
- id: block_name
size: 32
type: str
encoding: ASCII
terminator: 0x00
doc: BLOCK/2
- id: used
type: s2
- id: begin_address_in_block_table_raw
type: u4
- id: block_entity
type: s2
- id: flag2
type: block_flag2
- id: u1
type: s1
- id: crc16
size: 2
instances:
begin_address_in_block_table_unknown:
value: (begin_address_in_block_table_raw & 0xff000000) >> 24
begin_address_in_block_table:
value: (begin_address_in_block_table_raw & 0x00ffffff)
block_flag:
seq:
- id: references_external_reference
type: b1
- id: resolved_external_reference
type: b1
- id: flag3
type: b1
- id: flag4
type: b1
- id: flag5
type: b1
- id: flag6
type: b1
- id: none
type: b1
- id: anonymous
type: b1
block_flag2:
seq:
- id: flag1
type: b1
- id: flag2
type: b1
- id: flag3
type: b1
- id: flag4
type: b1
- id: flag5
type: b1
- id: flag6
type: b1
- id: flag7
type: b1
- id: flag8
type: b1
entities:
seq:
- id: entities_sentinel_begin
contents: [0xC4, 0x6E, 0x68, 0x54, 0xF8, 0x6E, 0x33, 0x30, 0x63, 0x3E, 0xC1, 0x85, 0x2A, 0xDC, 0x94, 0x01]
- id: entities
type: real_entities
size: _parent.header.entities_size
- id: entities_sentinel_end
contents: [0x3B, 0x91, 0x97, 0xAB, 0x07, 0x91, 0xCC, 0xCF, 0x9C, 0xC1, 0x3E, 0x7A, 0xD5, 0x23, 0x6B, 0xFE]
entities_block:
seq:
- id: entities_block_sentinel_begin
contents: [0x72, 0x2B, 0x7D, 0xEC, 0x3E, 0x8C, 0x88, 0x6C, 0x7A, 0x72, 0x0A, 0xFD, 0xC8, 0x6C, 0x84, 0x26]
- id: entities_block
type: real_entities
size: _parent.header.block_entities_size
- id: entities_block_sentinel_end
contents: [0x8D, 0xD4, 0x82, 0x13, 0xC1, 0x73, 0x77, 0x93, 0x85, 0x8D, 0xF5, 0x02, 0x37, 0x93, 0x7B, 0xD9]
entities_extra:
seq:
- id: entities_extra_sentinel_begin
contents: [0xD5, 0xF9, 0xD3, 0xBB, 0x0A, 0xA9, 0x69, 0xA6, 0xCD, 0x1C, 0x87, 0xC7, 0xEE, 0x80, 0x4B, 0x17]
- id: entities_extra
type: real_entities
size: _parent.header.extra_entities_size
- id: entities_extra_sentinel_end
contents: [0x2A, 0x06, 0x2C, 0x44, 0xF5, 0x56, 0x96, 0x59, 0x32, 0xE3, 0x78, 0x38, 0x11, 0x7F, 0xB4, 0xE8]
extra_flag:
seq:
- id: flag1
type: b1
- id: flag2
type: b1
- id: flag3
type: b1
- id: flag4
type: b1
- id: flag5
type: b1
- id: has_viewport
type: b1
- id: has_eed
type: b1
- id: flag8
type: b1
header:
seq:
- id: magic
size: 12
type: str
encoding: ASCII
terminator: 0x00
doc: 0x0000-0x000b, $ACADVER/1
- id: zero_one_or_three
type: s1
- id: num_entity_sections
type: s2
- id: num_sections
type: s2
- id: num_header_vars
type: s2
- id: dwg_version
type: s1
- id: entities_start
type: s4
- id: entities_end
type: s4
- id: block_entities_start
type: s4
- id: block_entities_size_raw
type: u4
- id: extra_entities_start
type: s4
- id: extra_entities_size_raw
type: u4
- id: table_block
type: header_table
- id: table_layer
type: header_table
- id: table_style
type: header_table
- id: table_linetype
type: header_table
- id: table_view
type: header_table
- id: variables
type: header_variables
- id: crc16
size: 2
instances:
entities_size:
value: entities_end - entities_start
extra_entities_size_unknown:
value: (extra_entities_size_raw & 0xff000000) >> 24
extra_entities_size:
value: (extra_entities_size_raw & 0x00ffffff)
block_entities_size_unknown:
value: (block_entities_size_raw & 0xff000000) >> 24
block_entities_size:
value: (block_entities_size_raw & 0x00ffffff)
header_table:
seq:
- id: item_size
type: u2
- id: items
type: u2
- id: unknown
size: 2
- id: begin
type: u4
header_variables:
seq:
- id: insertion_base
type: point_3d
doc: 0x005e-0x0075, $INSBASE/10|20|30
- id: plinegen
type: s2
doc: 0x0076-0x0077, $PLINEGEN/70
- id: drawing_first
type: point_3d
doc: 0x0078-0x008f, $EXTMIN/10|20|30
- id: drawing_second
type: point_3d
doc: 0x0090-0x00a7, $EXTMAX/10|20|30
- id: limits_min
type: point_2d
doc: 0x00a8-0x00b7, $LIMMIN/10|20
- id: limits_max
type: point_2d
doc: 0x00b8-0x00c7, $LIMMAX/10|20
- id: view_ctrl
type: point_3d
doc: 0x00c8-0x00da, $VIEWCTRL/10|20|30
- id: view_size
type: f8
doc: 0x00e0-0x00e7, $VIEWSIZE/40
- id: snap
type: s2
doc: 0x00e8-0x00e9, $SNAPMODE
- id: snap_resolution
type: point_2d
doc: 0x00ea-0x00f9, $SNAPUNIT/10|20
- id: snap_base
type: point_2d
doc: 0x00fa-0x0109, $SNAPBASE/10|20
- id: snap_angle
type: f8
doc: 0x010a-0x0111, $SNAPANG
- id: snap_style
type: s2
doc: 0x0112-0x0113, $SNAPSTYLE
- id: snap_iso_pair
type: s2
enum: iso_plane
doc: 0x0114-0x0115, $SNAPISOPAIR
- id: grid
type: s2
doc: 0x0116-0x0117, $GRIDMODE
- id: grid_unit
type: point_2d
doc: 0x0118-0x0127, $GRIDUNIT/10|20
- id: ortho
type: s2
doc: 0x0128-0x0129, $ORTHOMODE
- id: regen
type: s2
doc: 0x012a-0x012b, $REGENMODE
- id: fill
type: s2
doc: 0x012c-0x012d, $FILLMODE
- id: qtext
type: s2
doc: 0x012e-0x012f, $QTEXTMODE
- id: drag
type: s2
doc: 0x0130-0x0131, $DRAGMODE
- id: linetype_scale
type: f8
doc: 0x0132-0x0139, $LTSCALE
- id: text_size
type: f8
doc: 0x013a-0x0141, $TEXTSIZE
- id: trace_width
type: f8
doc: 0x0142-0x0149, $TRACEWID
- id: current_layer_index
type: s2
doc: 0x014a-0x014b, $CLAYER
- id: current_color_convert_lo
type: s4
doc: 0x014c-0x014f
- id: current_color_convert_hi
type: s4
doc: 0x0150-0x0153
- id: unknown1
type: u2
doc: 0x0154-0x0155
- id: psltscale
type: u2
doc: 0x0156-0x0157, $PSLTSCALE/70
- id: tree_depth
type: u2
doc: 0x0158-0x0159, $TREEDEPTH/70
- id: unknown7d
size: 2
doc: 0x015a-0x015b
- id: aspect_ratio
type: f8
doc: 0x015c-0x0163
- id: linear_units_format
enum: unit_types
type: s2
doc: 0x0164-0x0165, $LUNITS
- id: linear_units_precision
type: s2
doc: 0x0166-0x0167, $LUPREC
- id: axis
type: s2
doc: 0x0168-0x0169, $AXISMODE/70
- id: axis_value
type: point_2d
doc: 0x016a-0x0179, $AXISUNIT/10|20
- id: sketch_increment
type: f8
doc: 0x017a-0x0181, $SKETCHINC
- id: fillet_radius
type: f8
doc: $FILLETRAD/40
- id: units_for_angles
enum: units_for_angles
type: s2
doc: $AUNITS
- id: angular_precision
type: s2
doc: $AUPREC
- id: text_style_index
type: s2
doc: 0x018e-0x018f, $TEXTSTYLE (index)
- id: osnap
enum: osnap_modes
type: s2
doc: 0x0190-0x0191, $OSMODE
- id: att_visibility
enum: att_visibility
type: s2
doc: 0x0192-0x0193, $ATTMODE/70
- id: menu
size: 15
type: str
encoding: ASCII
terminator: 0x00
doc: 0x0194-0x01a2, $MENU
- id: dim_scale
type: f8
doc: 0x01a3-0x01aa, $DIMSCALE
- id: dim_arrowhead_size
type: f8
doc: $DIMASZ
- id: dim_extension_line_offset
type: f8
doc: $DIMEXO
- id: dim_baseline_spacing
type: f8
doc: $DIMDLI
- id: dim_extension_line_extend
type: f8
doc: $DIMEXE
- id: dim_maximum_tolerance_limit
type: f8
doc: 0x01cb-0x01d2, $DIMTP
- id: dim_minimum_tolerance_limit
type: f8
doc: 0x01d3-0x01da, $DIMTM
- id: dim_text_height
type: f8
doc: 0x01db-0x01e2, $DIMTXT
- id: dim_center_mark_control
type: f8
doc: 0x01e3-0x01ea, $DIMCEN
- id: dim_oblique_stroke_size
type: f8
doc: 0x01eb-0x01f2, $DIMTSZ
- id: dim_tolerances
type: s1
doc: 0x01f3, $DIMTOL
- id: dim_limits_default_text
type: s1
doc: 0x01f4, $DIMLIM
- id: dim_text_ext_inside_line_position
type: s1
doc: 0x01f5, $DIMTIH
- id: dim_text_ext_outside_line_position
type: s1
doc: 0x01f6, $DIMTOH
- id: dim_extension_line_first_suppress
type: s1
doc: 0x01f7, $DIMSE1
- id: dim_extension_line_second_suppress
type: s1
doc: 0x01f8, $DIMSE2
- id: dim_text_vertical_position
type: s1
doc: 0x01f9, $DIMTAD
- id: limits_check
enum: limits_check
type: s2
doc: 0x01fa-0x01fb, $LIMCHECK
- id: menu2
size: 45
type: str
encoding: ASCII
terminator: 0x00
doc: 0x01fc-0x0228, $MENU continues
- id: elevation
type: f8
doc: 0x0229-0x0230, $ELEVATION
- id: thickness
type: f8
doc: 0x0231-0x0238, $THICKNESS
- id: view_dir
type: point_3d
doc: 0x0239-0x0251, $VIEWDIR/10|20|30
- id: view_point_x
type: point_3d
- id: view_point_y
type: point_3d
- id: view_point_z
type: point_3d
- id: view_point_x_alt
type: point_3d
- id: view_point_y_alt
type: point_3d
- id: view_point_z_alt
type: point_3d
- id: flag_3d
type: s2
doc: 0x02e1-0x02e2
- id: blip
type: s2
doc: 0x02e3-0x02e4, $BLIPMODE
- id: dim_suppression_of_zeros
type: s1
doc: 0x02e5, $DIMZIN
- id: dim_rounding
type: f8
doc: 0x02e6-0x02ed, $DIMRND
- id: dim_extension_line_extend2
type: f8
doc: 0x02ee-0x02f5, $DIMDLE
- id: dim_arrowhead_block
size: 33
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMBLK
- id: circle_zoom_percent
type: s2
doc: 0x0317-0x0318
- id: coordinates
enum: coordinates
type: s2
doc: 0x0319-0x031a, $COORDS
- id: current_color
enum: current_color
type: s2
doc: 256d - bylayer, 0d - byblock, other index (1-255), $CECOLOR
- id: current_linetype
enum: current_linetype
type: s2
doc: 256d - bylayer, 255d - byblock, other index, $CELTYPE
- id: create_date_days
type: u4
doc: $TDCREATE/days
- id: create_date_ms
type: u4
doc: $TDCREATE/ms
- id: update_date_days
type: u4
doc: $TDUPDATE/days
- id: update_date_ms
type: u4
doc: $TDUPDATE/ms
- id: total_editing_time_days
type: u4
doc: $TDINDWG/days
- id: total_editing_time_ms
type: u4
doc: $TDINDWG/ms
- id: user_elapsed_timer_days
type: u4
doc: $TDUSRTIMER/days
- id: user_elapsed_timer_ms
type: u4
doc: $TDUSRTIMER/ms
- id: user_timer
type: s2
doc: 0x033f-0x0340, $USRTIMER/70
- id: fast_zoom
type: u2
doc: 0x0341-0x0342, $FASTZOOM/70
- id: sketch_type
type: u2
doc: 0x0343-0x0344, $SKPOLY/70
- id: unknown_date
type: unknown_date
- id: angle_base
type: f8
doc: 0x0353-0x035a, $ANGBASE/50
- id: angle_direction
enum: angle_direction
type: s2
doc: 0x035b-0x035c, $ANGDIR/70
- id: point_mode
type: s2
doc: 0x035d-0x035e, $PDMODE/70
- id: point_size
type: f8
doc: $PDSIZE/40
- id: polyline_width
type: f8
doc: $PLINEWID/40
- id: user_integer_1
type: s2
doc: 0x035f-0x0360, $USERI1/70
- id: user_integer_2
type: s2
doc: 0x0361-0x0362, $USERI2/70
- id: user_integer_3
type: s2
doc: 0x0363-0x0364, $USERI3/70
- id: user_integer_4
type: s2
doc: 0x0365-0x0366, $USERI4/70
- id: user_integer_5
type: s2
doc: 0x0367-0x0368, $USERI5/70
- id: user_real_1
type: f8
doc: $USERR1/40
- id: user_real_2
type: f8
doc: $USERR2/40
- id: user_real_3
type: f8
doc: $USERR3/40
- id: user_real_4
type: f8
doc: $USERR4/40
- id: user_real_5
type: f8
doc: $USERR5/40
- id: dim_alternate_units
type: s1
doc: 0x03a1, $DIMALT/70
- id: dim_alternate_units_decimal_places
type: s1
doc: 0x03a2, $DIMALTD/70
- id: dim_associative
type: s1
doc: 0x03a3, $DIMASO/70
- id: dim_sho
type: s1
doc: 0x03a4, $DIMSHO/70
- id: dim_measurement_postfix
size: 16
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMPOST/1
- id: dim_alternate_measurement_postfix
size: 16
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMAPOST/1
- id: dim_alternate_units_multiplier
type: f8
doc: 0x03c5-0x03cc, $DIMALTF/40
- id: dim_linear_measurements_scale_factor
type: f8
doc: 0x03cd-0x03d4, $DIMLFAC/40
- id: spline_segs
type: s2
doc: 0x03d5-0x03d6, $SPLINESEGS/70
- id: spline_frame
type: s2
doc: 0x03d7-0x03d8, $SPLFRAME/70
- id: attreq
type: u2
doc: 0x03d9-0x03da, $ATTREQ/70
- id: attdia
type: u2
doc: 0x03db-0x03dc, $ATTDIA/70
- id: chamfera
type: f8
doc: 0x03dd-0x04e4, $CHAMFERA/40
- id: chamferb
type: f8
doc: 0x04e5-0x04ec, $CHAMFERB/40
- id: mirror_text
type: s2
doc: 0x03ed-0x03ee, $MIRRTEXT/70
- id: table_ucs
type: header_table
- id: dwgcodepage
type: u2
enum: dwgcodepage
- id: ucs_origin_point
type: point_3d
doc: $UCSORG/10|20|30
- id: ucs_x_dir
type: point_3d
doc: $UCSXDIR/11|21|31 ~ $UCSXORI
- id: ucs_y_dir
type: point_3d
doc: $UCSYDIR/12|22|32 ~ $UCSYORI
- id: target
type: point_3d
doc: $TARGET
- id: lens_length
type: f8
doc: $LENSLENGTH
- id: view_rotation_angle_radians
type: f8
doc: $VIEWTWIST
- id: frontz_z
type: f8
doc: $FRONTZ
- id: backz_z
type: f8
doc: $BACKZ
- id: view_mode
type: u2
doc: $VIEWMODE
- id: dim_tofl
type: u1
doc: 0x047d, $DIMTOFL/70
- id: dim_arrowhead_block1
size: 33
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMBLK1/1
- id: dim_arrowhead_block2
size: 33
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMBLK2/1
- id: dim_arrowhead_blocks_control
type: u1
doc: $DIMSAH/70
- id: dim_text_between_ext_lines
type: u1
doc: $DIMTIX/70
- id: dim_arrowhead_suppress
type: u1
doc: $DIMSOXD/70
- id: dim_text_vertical_position_size
type: f8
doc: $DIMTVP/40
- id: unknown_string
size: 33
type: str
encoding: ASCII
terminator: 0x00
- id: handling
type: u2
doc: $HANDLING/70
- id: handseed
size: 8
doc: 0x04ee-0x04f5, $HANDSEED/5, in hex
- id: surfu
type: u2
doc: $SURFU/70
- id: surfv
type: u2
doc: $SURFV/70
- id: surftype
type: u2
doc: $SURFTYPE/70
- id: surftab1
type: u2
doc: $SURFTAB1/70
- id: surftab2
type: u2
doc: $SURFTAB2/70
- id: table_vport
type: header_table
- id: flatland
type: u2
doc: 0x050a-0x050b, $FLATLAND
- id: spline_type
type: u2
enum: spline_type
doc: 0x050c-0x050d, $SPLINETYPE/70
- id: ucs_icon
type: u2
doc: $UCSICON
- id: ucs_name_index
type: u2
doc: $UCSNAME/2
- id: table_appid
type: header_table
doc: 0x0512-0x051c
- id: world_view
type: u2
doc: 0x051d-0x051e, $WORLDVIEW/70
- id: unknown49a
type: u2
- id: unknown49b
type: u2
- id: table_dimstyle
type: header_table
- id: unknown49c
size: 5
- id: dim_line_color
type: u2
doc: $DIMCLRD_C/70
- id: dim_clre_c
type: u2
doc: $DIMCLRE_C/70
- id: dim_clrt_c
type: u2
doc: $DIMCLRT_C/70
- id: shade_edge
type: u2
doc: $SHADEDGE/70
- id: shade_dif
type: u2
doc: $SHADEDIF/70
- id: unknown_pre50
size: 2
- id: unit_mode
type: u2
doc: $UNITMODE/70
- id: unit1_ratio
type: f8
- id: unit2_ratio
type: f8
- id: unit3_ratio
type: f8
- id: unit4_ratio
type: f8
- id: unit1_name
size: 32
type: str
encoding: ASCII
terminator: 0x00
- id: unit2_name
size: 32
type: str
encoding: ASCII
terminator: 0x00
- id: unit3_name
size: 32
type: str
encoding: ASCII
terminator: 0x00
- id: unit4_name
size: 32
type: str
encoding: ASCII
terminator: 0x00
- id: dim_tfac
type: f8
doc: $DIMTFAC/40
- id: p_ucs_org
type: point_3d
doc: $PUCSORG/10
- id: p_ucs_xdir
type: point_3d
doc: $PUCSXDIR/11
- id: p_ucs_ydir
type: point_3d
doc: $PUCSXDIR/12
- id: p_ucs_name_index
type: u2
doc: $PUCSNAME/2
- id: tile_mode
type: u2
doc: $TILEMODE/70
- id: plim_check
type: u2
doc: $PLIMCHECK/70
- id: unknown57
type: u2
- id: p_ext_min
type: point_3d
doc: $PEXTMIN/10
- id: p_ext_max
type: point_3d
doc: $PEXTMAX/10
- id: p_lim_min
type: point_2d
doc: $PLIMMIN/10
- id: p_lim_max
type: point_2d
doc: $PLIMMAX/10
- id: p_insertion_base
type: point_3d
doc: $PINSBASE/10|20|30
- id: table_vx
type: header_table
doc: 0x069f-0x06a8
- id: max_actvp
type: u2
doc: $MAXACTVP/70
- id: dim_gap
type: f8
doc: $DIMGAP/40
- id: p_elevation
type: f8
doc: $PELEVATION/40
- id: vis_retain
type: u2
doc: $VISRETAIN/70
if: _parent.num_header_vars == 205
instances:
create_date:
value: create_date_days + (create_date_ms / 86400000.0)
update_date:
value: update_date_days + (update_date_ms / 86400000.0)
unknown_repeating:
seq:
- id: unknown_repeating1
type: f8
- id: unknown_repeating2
type: f8
- id: unknown_repeating3
type: f8
- id: unknown_repeating4
type: f8
- id: unknown_repeating5
type: f8
- id: unknown_repeating6
type: f8
- id: unknown_repeating7
type: f8
- id: unknown_repeating8
type: f8
- id: unknown_repeating9
type: f8
- id: unknown_repeating10
type: f8
- id: unknown_repeating11
type: f8
- id: unknown_repeating12
type: f8
- id: unknown_repeating13
type: f8
- id: unknown_repeating14
type: f8
- id: unknown_repeating15
type: f8
- id: unknown_repeating16
type: f8
- id: unknown_repeating17
type: f8
- id: unknown_repeating18
type: f8
unknown_date:
seq:
- id: month
type: u2
- id: day
type: u2
- id: year
type: u2
- id: hour
type: u2
- id: minute
type: u2
- id: second
type: u2
- id: ms
type: u2
entity:
seq:
- id: entity_type
type: s1
enum: entities
- id: data
type:
switch-on: entity_type
cases:
'entities::arc': entity_arc
'entities::attdef': entity_attdef
'entities::attrib': entity_attrib
'entities::block_begin': entity_block_begin
'entities::block_end': entity_block_end
'entities::insert' : entity_insert
'entities::circle': entity_circle
'entities::dim': entity_dim
'entities::face3d': entity_face3d
'entities::jump': entity_jump
'entities::line': entity_line
'entities::point': entity_point
'entities::polyline': entity_polyline
'entities::seqend': entity_seqend
'entities::shape': entity_shape
'entities::solid': entity_solid
'entities::text': entity_text
'entities::trace': entity_trace
'entities::vertex': entity_vertex
'entities::vport': entity_vport
_: entity_tmp
entity_mode:
seq:
- id: has_attributes
type: b1
- id: has_pspace
type: b1
- id: has_handling
type: b1
- id: entity_mode4
type: b1
- id: has_thickness
type: b1
- id: has_elevation
type: b1
- id: has_linetype