CONTENTS |
Prev | Index | Next |
* SGY Data Format *The SGY Data is the text data.It can compile with the editor and the like. Structure like below has consisted of the section. The environmental data of TABLES-------SAGCCad Data for TRACE-------- basic figure Data for DIMENSION---- size ELLIPSE------ elliptic data Data of POLYLINE----- poly- line & spline et cetera End of EOF---------- data |
* TRACE SECTION (point * line * circular arc * circle) *< Example >TRACE (Layer, Code, Style, Color, SX, SY, EX, EY, CX, CY and R, spare) 1,1,3,0xffffff,50,0, -50,0,0,0,0,0 1,0,3,0xffffff,0,0,0,0,0,0,0,0 TRACE END Those where from the TRACE there is to a TRACE END, are the data of point * line * circular arc * circle. Prescribed form of TRACEAs for prescribed form,Layer, Code, Style, Color, SX, SY, EX, EY, CX, CY and R, extra So, the data 1 it is 1 line. Layer From layer number 0 up to 255 Code Type of data 0: Point 1: Line 2: Circular arc 4: Circle Style Line kind 0: Solid line 1: Solid line 2: Dotted line 3: Dashed line 4: Two point chain lines Color It is the 0xrrggbb with color. R: Red G: Green B: Blue SX X coordinate of starting point SY Y coordinate of starting point EX X coordinate of terminus EY Y coordinate of terminus CX Central X coordinate of circle CY Central Y coordinate of circle R Radius of circle Spare Presently using, increase it is. The point data, does not use the EX, the EY, the CX, the CY and R. The line data, does not use the CX, the CY and R. You use the circular arc data, entirely. The circular data, does not use the SX, the SY, the EX and the EY. |
* DIMENSION SECTION (size) *< Example >DIMENSION 1,2,40, " R20 ", " ", " ",1,3.20000005,0.71111113,349.28686523,63.35149864, -28.20163488,2,2 1,20, -20,63.35149864, -28.20163488,0,0,0 10,63.35149864, -28.20163488,39.65140491, -23.71783336,0,0,0 1,2,10, " 50 ", " ", " ",1,3.20000005,0.71111113,0, -25, -68.256131,1,3 70, -50,0, -50, -68.256131,0,0,0 70,0, -50,0, -68.256131,0,0,0 21, -50, -68.256131,0, -68.256131,0,0,0 DIMENSION END Those where from DIMENSION there is to a DIMENSION END, are the data of size. As for the size data, the data of the structure which first, is in common (Dimension), there is 1 line, after that the data of the auxiliary line and the like (the AssistLine) continues. The number of data of the auxiliary line has entered the last data of the Dimension data of 1st line (the index). Prescribed form of DIMENSIONFirst, as for prescribed form of DIMENSION,Layer, DrawType, Type, Text, UpperText and LowerText, FontType, FontHeight, FontSpace and Angle, SearchPointX, SearchPointY, StartPoint and index This is written with 3 lines, but it is the data which with 1 line has not started a new paragraph on the middle. Layer From layer number 0 up to 255 DrawType In Linux edition, 2 is. Type For the interchangeability of the old data being, with present version, there is no meaning, is. Text Size value (the text) with " " " " with surrounding, it increases. UpperText Upper limit tolerance (the text) with " " " " with surrounding, it increases. LowerText The lower limit tolerance (the text) with " " " " with surrounding, it increases. FontType In Linux edition, 1 (the vector font) is. FontHeight It is height of letter. FontSpace It is interval of letter. Angle It is angle of letter. SearchPointX X coordinate of the point in order to search the size data. SearchPointY Y coordinate of the point in order to search the size data. StartPoint The position where letter is written out. 0: Under the left 1: Under in 2: Under the right 10: With respect to the left 11: The top in 12: With respect to the right Index The auxiliary line which follows afterwards (the AssistLine) the quantity. Prescribed form of AssistLineAs for prescribed form of AssistLine,Defin, SX, SY, EX, EY, CX, CY and r So, the data 1 it is 1 line. Defin 0: Point 1: Line 2: Circular arc 4: Circle 10: In terminus arrow (line) 11: In terminus arrow (line) 20: On both ends arrow (line) 21: On both ends arrow (line) 30: Opposite arrow to both ends (line) 31: Opposite arrow to both ends (line) (40) : In starting point arrow (circular arc) (50) In terminus arrow (circular arc) 60: On both ends arrow (circular arc) 61: On both ends arrow (circular arc) 70: Auxiliary line (The SX and the SY) - (the EX and the EY) with the straight line which is appointed. Starting point side, configuration - size - just the length which is appointed with the offset from starting point it does not indicate. Terminus side, configuration - size - just the length which is appointed at auxiliary line extended length extends. 80: (Arrow) extension of auxiliary line (The SX and the SY) - (the EX and the EY) with the straight line which is appointed, configuration - size - just the length which is appointed at auxiliary line extended length extends terminus. Below is the same as the TRACE data. |
* ELLIPSE SECTION (ellipse) *< Example >ELLIPSE (Layer, Code, Style, Color, CX, CY, DX, DY, K, SA and EA) 1,3,1,0xff00,50,50,30,0,0.5,0,360 ELLIPSE END Those where from the ELLIPSE there is to a ELLIPSE END, are the elliptic data. Prescribed form of ELLIPSEAs for prescribed form,Layer, Code, Style, Color, CX, CY, DX, DY, K, SA and EA So, the data 1 it is 1 line. Layer From layer number 0 up to 255 Code Type of data 0: Ellipse 1: Elliptic arc Style Line kind 0: Solid line 1: Solid line 2: Dotted line 3: Dashed line 4: Two point chain lines Color It is the 0xrrggbb with color. R: Red G: Green B: Blue CX Elliptic central X coordinate CY Elliptic central Y coordinate DX Designates the elliptic center as base point relative X coordinate to the point of the extended shaft which DY Designates the elliptic center as base point relative Y coordinate to the point of the extended shaft which K Compression SA Start angle EA End angle |
* POLYLINE SECTION (curved line) *< Example >POLYLINE 1,16,1,0xff00,7,0.05,0,6 -120.163488,24.114441 -113.215259,54.768392 -77.247956,15.531335 -65.395095,57.220708 -46.594005,34.741144 -33.923706,55.177112 POLYLINE END Those where from the POLYLINE there is to a POLYLINE END, are the data of curved line. As for the data of curved line, the data of the structure which first, is in common (the POLYLINE), there is 1 line, after that the apex data (the VERTEX) continues. The apex data (the VERTEX) number has entered the last data of the POLYLINE data of 1st line (the Index). Prescribed form of POLYLINEAs for prescribed form,Layer, Code, Style, Color, Split, Pitch, Frag and Index So, the data 1 it is 1 line. Code 8: Poly- line 16: Spline interpolation 32: B spline curved line (64) : Bezier curve Style Line kind 0: Solid line 1: Solid line 2: Dotted line 3: Dashed line 4: Two point chain lines Color It is the 0xrrggbb with color. R: Red G: Green B: Blue Split It is number of partitions. Pitch It is pitch. Frag 0: Closing, it is 1: Closing, it is Index Apex (VERTEX) number Prescribed form of VERTEXAs for prescribed form,X, Y So, the data 1 it is 1 line. |
SGY Data Format |
Prev | Index | Next |