-
Notifications
You must be signed in to change notification settings - Fork 0
/
dwg_ac1004.ksy
1542 lines (1542 loc) · 33.4 KB
/
dwg_ac1004.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_ac1004
title: AutoCAD r9 drawing (AC1004)
application: AutoCAD
file-extension:
- dwg
xref:
justsolve: DWG
mime:
- application/x-dwg
- image/vnd.dwg
pronom:
fmt: 30
wikidata: Q27863122
license: CC0-1.0
endian: le
seq:
- id: header
type: header
- id: entities
type: real_entities
size: header.entities_end - header.entities_start
- id: blocks
type: block
repeat: expr
repeat-expr: header.table_block.numitems
- id: layers
type: layer
repeat: expr
repeat-expr: header.table_layer.numitems
- id: styles
type: style
repeat: expr
repeat-expr: header.table_style.numitems
- id: linetypes
type: linetype
repeat: expr
repeat-expr: header.table_linetype.numitems
- id: views
type: view
repeat: expr
repeat-expr: header.table_view.numitems
- id: block_entities
type: real_entities
size: header.blocks_size
- id: todo
size-eos: true
repeat: eos
if: not _io.eof
types:
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: u2
type: s1
- id: u3
type: s1
- id: u4
type: s1
- id: u5
type: s1
block_flag:
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
header:
seq:
- id: magic
contents: AC1004
# [0x41, 0x43, 0x31, 0x30, 0x30, 0x34]
doc: 0x0000-0x0005, $ACADVER
- id: zeros
size: 6
- id: zero_one_or_three
type: s1
- id: unknown_3
type: s2
- id: num_sections
type: s2
- id: num_header_vars
type: s2
- id: dwg_version
type: s1
- id: entities_start
type: u4
- id: entities_end
type: u4
- id: blocks_start
type: u4
- id: blocks_offset
type: u4
# contents: 0x40000000
- id: blocks_end
type: u4
- id: blocks_max
type: u4
# contents: 0x80000000
- id: table_block
type: table
- id: table_layer
type: table
- id: table_style
type: table
- id: table_linetype
type: table
- id: table_view
type: table
- id: variables
type: header_variables
instances:
#blocks_size_unknown:
# value: (blocks_offset & 0xff000000) >> 24
blocks_size:
value: (blocks_offset & 0x00ffffff)
table:
seq:
- id: size
type: u2
- id: numitems
type: u2
- id: flags
type: u2
- id: start
type: u4
header_variables:
seq:
- id: insertion_base
type: point_3d
doc: 0x005e-0x0075, $INSBASE/10|20|30
- id: num_entities
type: u2
doc: 0x0076-0x0077
- 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
- id: snap_mode
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_mode
type: s2
doc: 0x0116-0x0117, $GRIDMODE
- id: grid_unit
type: point_2d
doc: 0x0118-0x0127, $GRIDUNIT/10|20
- id: ortho_mode
type: s2
doc: 0x0128-0x0129, $ORTHOMODE
- id: regen_mode
type: s2
doc: 0x012a-0x012b, $REGENMODE
- id: fill_mode
type: s2
doc: 0x012c-0x012d, $FILLMODE
- id: qtext_mode
type: s2
doc: 0x012e-0x012f, $QTEXTMODE
- id: drag_mode
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: celayer
type: s2
doc: 0x014a-0x014b, $CLAYER
- id: old_cecolor_lo
type: u4
doc: 0x014c-
- id: old_cecolor_hi
type: u4
doc: -0x0153
- id: psltscale
size: 2
doc: 0x0154-0x0155, $PSLTSCALE
- id: tree_depth
size: 2
doc: 0x0156-0x0157, $TREEDEPTH
- id: unknown_5
size: 2
doc: 0x0158-0x0159
- id: unknown_6
size: 2
doc: 0x015a-0x015b
- id: unknown_7
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_mode
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
- 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_mode
enum: osnap_modes
type: s2
doc: 0x0190-0x0191, $OSMODE
- id: att_mode
enum: attributes
type: u2
doc: 0x0192-0x0193, $ATTMODE
- 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: unknown10
size: 45
- id: elevation
type: f8
doc: 0x0229-0x0230, $ELEVATION
- id: thickness
type: f8
doc: 0x0231-0x0238, $THICKNESS
- id: view_point
type: point_3d
doc: 0x0239-0x0251, $VIEWDIR/10|20|30
- id: unknown_repeating
type: unknown_repeating
doc: 0x0252-0x02e0
- id: unknown29
type: s2
doc: 0x02e1-0x02e2
- id: blip_mode
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: 32
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMBLK
- id: unknown30
type: s1
- id: circle_zoom_percent
type: s2
doc: 0x0317-0x0318
- id: coordinates
enum: coordinates
type: s2
doc: 0x0319-0x031a, $COORDS
- id: cecolor
enum: cecolor
type: s2
doc: 256d - bylayer, 0d - byblock, other index (1-255), $CECOLOR
- id: 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
- id: fast_zoom
type: u2
doc: 0x0341, $FASTZOOM
- id: sketch_type
type: u2
doc: 0x0343, $SKPOLY
- id: unknown33a
type: u2
- id: unknown33b
type: u2
- id: unknown33c
type: u2
- id: unknown33d
type: u2
- id: unknown33e
type: u2
- id: unknown33f
type: u2
- id: unknown33g
type: u2
- id: angle_base
type: f8
doc: 0x0353-0x035a, $ANGBASE
- id: angle_direction
enum: angle_direction
type: s2
doc: 0x035b-0x035c, $ANGDIR
- id: point_mode
type: s2
doc: 0x035d-0x035e, $PDMODE
- id: point_size
type: f8
doc: $PDSIZE
- id: polyline_width
type: f8
doc: $PLINEWID
- id: user_integer_1
type: s2
doc: 0x035f-0x0360, $USERI1
- id: user_integer_2
type: s2
doc: 0x0361-0x0362, $USERI2
- id: user_integer_3
type: s2
doc: 0x0363-0x0364, $USERI3
- id: user_integer_4
type: s2
doc: 0x0365-0x0366, $USERI4
- id: user_integer_5
type: s2
doc: 0x0367-0x0368, $USERI5
- id: user_real_1
type: f8
doc: $USERR1
- id: user_real_2
type: f8
doc: $USERR2
- id: user_real_3
type: f8
doc: $USERR3
- id: user_real_4
type: f8
doc: $USERR4
- id: user_real_5
type: f8
doc: $USERR5
- id: dim_alternate_units
type: s1
doc: 0x03a1, $DIMALT
- id: dim_alternate_units_decimal_places
type: s1
doc: 0x03a2, $DIMALTD
- id: dim_associative
type: s1
doc: 0x03a3, $DIMASO
- id: dim_sho
type: s1
doc: 0x03a4, $DIMSHO
- id: dim_measurement_postfix
size: 16
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMPOST, TODO And prefix?
- id: dim_alternate_measurement_postfix
size: 16
type: str
encoding: ASCII
terminator: 0x00
doc: $DIMAPOST, TODO And prefix
- id: dim_alternate_units_multiplier
type: f8
doc: 0x03c5-0x03cc, $DIMALTF
- id: dim_linear_measurements_scale_factor
type: f8
doc: 0x03cd-0x03d4, $DIMLFAC
- id: spline_segs
type: s2
doc: 0x03d5-0x03d6, $SPLINESEGS
- id: spline_frame
type: s2
doc: 0x03d7-0x03d8, $SPLFRAME
- id: attreq
type: u2
doc: 0x03d9-0x03da, $ATTREQ
- id: attdia
type: u2
doc: 0x03db-0x03dc, $ATTDIA
- 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
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
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::line': entity_line
'entities::line3d': entity_line3d
'entities::point': entity_point
'entities::polyline': entity_polyline
'entities::polyline2': 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
_: entity_tmp
entity_mode:
seq:
- id: entity_xdata
type: b1
- id: entity_xref_resolved
type: b1
- id: entity_xref_ref
type: b1
- id: entity_xref_dep
type: b1
- id: entity_thickness_flag
type: b1
- id: entity_elevation_flag
type: b1
- id: entity_linetype_flag
type: b1
- id: entity_color_flag
type: b1
entity_common:
seq:
- id: entity_mode
type: entity_mode
- id: entity_size
type: s2
- id: entity_layer_index
type: s1
- id: flag1
type: s1
- id: opt2_128
type: b1
- id: opt2_64
type: b1
- id: opt2_32
type: b1
- id: opt2_16
type: b1
- id: opt2_8
type: b1
- id: opt2_4
type: b1
- id: opt2_2
type: b1
- id: opt2_1
type: b1
- id: opt3_128
type: b1
- id: opt3_64
type: b1
- id: opt3_32
type: b1
- id: opt3_16
type: b1
- id: opt3_8
type: b1
- id: opt3_4
type: b1
- id: opt3_2
type: b1
- id: opt3_1
type: b1
- id: entity_color
type: s1
if: entity_mode.entity_color_flag
- id: entity_linetype_index
type: s1
if: entity_mode.entity_linetype_flag
- id: entity_elevation
type: f8
if: entity_mode.entity_elevation_flag
- id: entity_thickness
type: f8
if: entity_mode.entity_thickness_flag
entity_arc:
seq:
- id: entity_common
type: entity_common
- id: x
type: f8
doc: ARC/10
- id: y
type: f8
doc: ARC/20
- id: radius
type: f8
doc: ARC/40
- id: angle_from
type: f8
doc: ARC/50
- id: angle_to
type: f8
doc: ARC/51
entity_attdef:
seq:
- id: entity_common
type: entity_common
- id: start_point
type: point_2d
doc: ATTDEF/10|20
- id: height
type: f8
doc: ATTDEF/40
- id: default_size
type: s2
- id: default
size: default_size
type: str
encoding: ASCII
terminator: 0x00
doc: ATTDEF/1
- id: prompt_size
type: s2
- id: prompt
size: prompt_size
type: str
encoding: ASCII
terminator: 0x00
doc: ATTDEF/3
- id: tag_size
type: s2
- id: tag
size: tag_size
type: str
encoding: ASCII
terminator: 0x00
doc: ATTDEF/2
- id: flags
type: attdef_flags
doc: ATTDEF/70
- id: rotation_angle_in_radians
type: f8
if: entity_common.opt2_2
doc: ATTDEF/50
- id: width_scale_factor
type: f8
if: entity_common.opt2_4
doc: ATTDEF/41
- id: unknown_index
type: u1
if: entity_common.opt2_16
- id: flags2
type: attdef_flags2
if: entity_common.opt2_64
doc: ATTDEF/72
- id: end_point
type: point_2d
if: entity_common.opt2_128
doc: ATTDEF/11|21
entity_attrib:
seq:
- id: entity_common
type: entity_common
- id: u1
type: f8
doc: ATTRIB/10
- id: u2
type: f8
doc: ATTRIB/20
- id: u3
type: f8
doc: ATRRIB/40
- id: size
type: s2
- id: text
size: size
doc: ATRRIB/1
- id: size2
type: s2
- id: text2
size: size2
doc: ATRRIB/2
- id: u4
type: u1
- id: u5
type: f8
if: entity_common.opt2_2
doc: ATRRIB/50
- id: u6
type: u1
if: entity_common.opt2_16
- id: u7
type: u1
if: entity_common.opt2_64
# 1, 2 nebo 7?
- id: aligned_to
type: point_2d
if: entity_common.opt2_128
doc: ATTRIB/11|21
entity_block_begin:
seq:
- id: entity_common
type: entity_common
- id: x
type: f8
- id: y
type: f8
entity_block_end:
seq:
- id: entity_common
type: entity_common
entity_insert:
seq:
- id: entity_common
type: entity_common
- id: block_index
type: s2
doc: INSERT/2
- id: x
type: f8
doc: INSERT/10
- id: y
type: f8
doc: INSERT/20
- id: x_scale
type: f8
if: entity_common.opt2_1
doc: INSERT/41
- id: y_scale
type: f8
if: entity_common.opt2_2
doc: INSERT/42
- id: rotation_angle_in_radians
type: f8
if: entity_common.opt2_4
doc: INSERT/50
- id: z_scale
type: f8
if: entity_common.opt2_8
doc: INSERT/43
- id: columns
type: u2
if: entity_common.opt2_16
doc: INSERT/70
- id: rows
type: u2
if: entity_common.opt2_32
doc: INSERT/71
- id: column_spacing
type: f8
if: entity_common.opt2_64
doc: INSERT/44
- id: row_spacing
type: f8
if: entity_common.opt2_128
doc: INSERT/45
entity_circle:
seq:
- id: entity_common
type: entity_common
- id: x
type: f8
doc: CIRCLE/10
- id: y
type: f8
doc: CIRCLE/20
- id: radius
type: f8
doc: CIRCLE/40
entity_dim:
seq:
- id: entity_common
type: entity_common
- id: block_index
type: s2
- id: dimension_line_defining_point
type: point_2d
doc: DIMENSION/10|20
- id: default_text_position
type: point_2d
doc: DIMENSION/11|21
- id: unknown1
type: u1
if: entity_common.opt2_2
doc: DIMENSION/70
- id: text_size
type: s2
if: entity_common.opt2_4
- id: text
size: text_size
if: entity_common.opt2_4
doc: DIMENSION/1
- id: extension_defining_point1
type: point_2d
if: entity_common.opt2_8
doc: DIMENSION/13|23
- id: extension_defining_point2
type: point_2d
if: entity_common.opt2_16
doc: DIMENSION/14|24
- id: defining_point
type: point_2d
if: entity_common.opt2_32
doc: DIMENSION/15|25
- id: dimension_line_arc_definition_point
type: point_2d
if: entity_common.opt2_64
- id: rotation_in_radians
type: f8
if: entity_common.opt3_1
entity_face3d:
seq:
- id: entity_common
type: entity_common
- id: first_point_x
type: f8
- id: first_point_y
type: f8
- id: first_point_z
type: f8
if: entity_common.opt2_1
- id: second_point_x
type: f8
- id: second_point_y
type: f8
- id: second_point_z
type: f8
if: entity_common.opt2_2
- id: third_point_x
type: f8
- id: third_point_y
type: f8
- id: third_point_z
type: f8
if: entity_common.opt2_4
- id: fourth_point_x
type: f8
- id: fourth_point_y
type: f8
- id: fourth_point_z
type: f8
if: entity_common.opt2_8
entity_line:
seq:
- id: entity_common
type: entity_common
- id: x1
type: f8
doc: LINE/10
- id: y1
type: f8
doc: LINE/20
- id: x2
type: f8
doc: LINE/11
- id: y2
type: f8
doc: LINE/21
entity_line3d:
seq:
- id: entity_common
type: entity_common
- id: x1
type: f8
doc: 3DLINE/10
- id: y1
type: f8
doc: 3DLINE/20
- id: z1
type: f8
if: entity_common.opt2_1
doc: 3DLINE/30
- id: x2
type: f8
doc: 3DLINE/11
- id: y2
type: f8
doc: 3DLINE/21
- id: z2
type: f8
if: entity_common.opt2_2
doc: 3DLINE/31
entity_tmp:
seq:
- id: entity_mode
type: entity_mode
- id: entity_size
type: s2
- id: entity_layer_index
type: s1
- id: flag1
type: s1
- id: opt2_128
type: b1
- id: opt2_64
type: b1
- id: opt2_32
type: b1
- id: opt2_16
type: b1
- id: opt2_8