XYRS files
The format of these files is not standard, and depends on the application used to generate it.
The data stored in these files is usually a header, and one line per component of the board.
For each component, at least the following information is needed by assemblers:
- Reference
- Coordinates (X and Y)
- Rotation angle
- Side where the component is located (top or bottom)
There can be more information, such as description, footprint, but this depends on the design program an its configuration.
This information is organized in lines, one line per component, and each line is divided in as much fields or columns as needed. Field delimiters are used between columns, but field delimiters are not standardized and they depend on the program used to generate the XYRS file.
The program that generates the XYRS file usually write a header (usually the first two or thre lines in the file) with a column title.
gxyrs tries to guess the file format, and column numbers, based on this header. Thus, the known column titles are the following:
- for reference designator: Designator, RefDesignator, RefDes.
- for footprint: Footprint, TopCell, Description (only if there is no other "TopCell" column title).
- for X coordinate: Mid X, X.
- for Y coordinate: Mid Y, Y.
- for rotation angle: Rotation, rotation, Rot.
- for location side: TB, Side, top/bottom.
- for value: Comment, PartNumber, Value.