This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
geda:file_format_spec [2014/04/25 07:46] vzh Split example text off of the previous text |
geda:file_format_spec [2020/12/16 08:31] (current) rlutz [version] try to make changes appear on page |
||
---|---|---|---|
Line 69: | Line 69: | ||
* The starting point for fileformat version was 1. The current fileformat is 2. | * The starting point for fileformat version was 1. The current fileformat is 2. | ||
* fileformat version is just an integer with no minor number. | * fileformat version is just an integer with no minor number. | ||
- | * Development versions include: 19990601, 19990610, 19990705, 19990829, 19990919, 19991011, 20000220, 20000704, 20001006, 20001217, 20010304, 20010708, 20010722, 20020209, 20020414, 20020527, 20020825, 20021103, 20030223, 20030525, 20030901, 20040111, 20040710, 20041228, 20050313, 20050820, 20060123, 20060824, 20060906, 20061020, 20070216, 20070705, 20070708, 20070818, 20071229, 20080110, 20080127, 20080706, 20081220, 20081221, 20090328, 20090829, 20090830, 20110116, 20110619, 20111231 | + | * Development versions include (but are not limited to): 19990601, 19990610, 19990705, 19990829, 19990919, 19991011, 20000220, 20000704, 20001006, 20001217, 20010304, 20010708, 20010722, 20020209, 20020414, 20020527, 20020825, 20021103, 20030223, 20030525, 20030901, 20040111, 20040710, 20041228, 20050313, 20050820, 20060123, 20060824, 20060906, 20061020, 20070216, 20070705, 20070708, 20070818, 20071229, 20080110, 20080127, 20080706, 20081220, 20081221, 20090328, 20090829, 20090830, 20110116, 20110619, 20111231 |
- | * Stable versions include: 20070526, 20070626, 20070902, 20071231, 20080127, 20080929, 20081220, 20081231, 20091004, 20100214, 20110115 | + | * Stable versions include (but are not limited to): 20070526, 20070626, 20070902, 20071231, 20080127, 20080929, 20081220, 20081231, 20091004, 20100214, 20110115 |
* CVS or test versions (should not be used): 20030921, 20031004, 20031019, 20031231, 20050814 | * CVS or test versions (should not be used): 20030921, 20031004, 20031019, 20031231, 20050814 | ||
* Keep in mind that each of the above listed versions might have had file format variations. This document only covers the last version's file format. | * Keep in mind that each of the above listed versions might have had file format variations. This document only covers the last version's file format. | ||
Line 577: | Line 577: | ||
|19|FREESTYLE3_COLOR| | |19|FREESTYLE3_COLOR| | ||
|20|FREESTYLE4_COLOR| | |20|FREESTYLE4_COLOR| | ||
+ | |||
+ | Some additional colors are used internally but not permitted as object colors: | ||
+ | |||
+ | ^Index^Object type^ | ||
|21|JUNCTION_COLOR| | |21|JUNCTION_COLOR| | ||
|22|MESH_GRID_MAJOR_COLOR| | |22|MESH_GRID_MAJOR_COLOR| | ||
|23|MESH_GRID_MINOR_COLOR| | |23|MESH_GRID_MINOR_COLOR| | ||
+ | |24|ORIGIN_COLOR| | ||
+ | |25|PLACE_ORIGIN_COLOR| | ||
The actual color associated with the color index is defined on a per tool bases. Objects are typically assigned their corresponding color index, but it is permissible (sometimes) to assign other color index values to different object types. | The actual color associated with the color index is defined on a per tool bases. Objects are typically assigned their corresponding color index, but it is permissible (sometimes) to assign other color index values to different object types. | ||
Line 585: | Line 591: | ||
===== Attributes ===== | ===== Attributes ===== | ||
Attributes are enclosed in braces {} and can only be text. Attributes are text items which take on the form name=value. If it doesn't have name=value, it's not an attribute. Attributes are attached to the previous object. Here's an example: | Attributes are enclosed in braces {} and can only be text. Attributes are text items which take on the form name=value. If it doesn't have name=value, it's not an attribute. Attributes are attached to the previous object. Here's an example: | ||
- | <code>P 988 500 1300 500 1 | + | <code> |
+ | P 300 700 0 700 1 0 1 | ||
{ | { | ||
- | T 1000 570 5 8 1 1 0 | + | T 200 750 5 8 1 1 0 6 1 |
- | pinseq=3 | + | pinnumber=1 |
- | T 1000 550 5 8 1 1 0 | + | T 200 650 5 8 0 1 0 8 1 |
- | pinnumber=3 | + | pinseq=1 |
- | }</code> | + | } |
+ | </code> | ||
The object is a pin which has an attribute pinnumber=3 and pinseq=3 (name=value). You can have multiple text objects (both the T ... and text string are required) in between the braces {}. As of 20021103, you can only attached text items as attributes. Attaching other object types as attributes is unsupported.\\ | The object is a pin which has an attribute pinnumber=3 and pinseq=3 (name=value). You can have multiple text objects (both the T ... and text string are required) in between the braces {}. As of 20021103, you can only attached text items as attributes. Attaching other object types as attributes is unsupported.\\ |