@@ -57,8 +57,8 @@ var RecordTypes map[string]string = map[string]string{
57
57
"2d00" : "BOX" , // begin of box element
58
58
"2e02" : "BOXTYPE" , // boxtype for box element
59
59
"2f03" : "PLEX" , // plex number
60
- "3003" : "BGNEXTN" , // Applies to Pathtype 4. 4-byte signed integer, extension of path outline beyond the first point. Value can be negative.
61
- "3103" : "ENDEXTN" , // Applies to Pathtype 4. 4-byte signed integer, extension of path outline beyond the last point. Value can be negative.
60
+ "3003" : "BGNEXTN" , // path type 4 extension start
61
+ "3103" : "ENDEXTN" , // path type 4 extension end
62
62
"3202" : "TAPENUM" , // tape number
63
63
"3302" : "TAPECODE" , // tape code
64
64
"3503" : "RESERVED" , // type was used for NUMTYPES but was not required
@@ -110,11 +110,16 @@ var RecordTypesBytes map[string][]byte = map[string][]byte{
110
110
"BOX" : {0x2d , 0x00 }, // begin of box element
111
111
"BOXTYPE" : {0x2e , 0x02 }, // boxtype for box element
112
112
"PLEX" : {0x2f , 0x03 }, // plex number
113
+ "BGNEXTN" : {0x30 , 0x03 }, // path type 4 extension start
114
+ "ENDEXTN" : {0x31 , 0x03 }, // path type 4 extension end
113
115
"TAPENUM" : {0x32 , 0x02 }, // tape number
114
116
"TAPECODE" : {0x33 , 0x02 }, // tape code
115
117
"FORMAT" : {0x36 , 0x02 }, // format type
116
118
"MASK" : {0x37 , 0x06 }, // list of layers
117
119
"ENDMASKS" : {0x38 , 0x00 }, // end of MASK
120
+ "LIBDIRSIZE" : {0x39 , 0x02 }, // contains the number of pages in the Library directory
121
+ "SRFNAME" : {0x3a , 0x06 }, // contains the name of the Sticks Rules File, if one is bound to the library
122
+ "LIBSECUR" : {0x3b , 0x02 }, // contains an array of Access Control List (ACL) data
118
123
}
119
124
120
125
type ElementType int
@@ -216,6 +221,10 @@ func (r Record) GetData() (any, error) {
216
221
return getDataPoint [int16 ](r )
217
222
case "PLEX" :
218
223
return getDataPoint [int32 ](r )
224
+ case "BGNEXTN" :
225
+ return getDataPoint [int32 ](r )
226
+ case "ENDEXTN" :
227
+ return getDataPoint [int32 ](r )
219
228
case "TAPENUM" :
220
229
return getDataPoint [int16 ](r )
221
230
case "TAPECODE" :
@@ -346,6 +355,8 @@ type Path struct {
346
355
Layer int16
347
356
Datatype int16
348
357
Pathtype int16
358
+ Bgnextn int32
359
+ Endextn int32
349
360
Width int32
350
361
XY []int32
351
362
}
0 commit comments