Index: TODO/sns.txt =================================================================== --- TODO/sns.txt (nonexistent) +++ TODO/sns.txt (revision 36338) @@ -0,0 +1,15 @@ +I saved a 2706 SMD footprint to tEDAx format using SaveTedax (2706.tdx) + +I then edited the footprint with a text editor and moved the "term 1 1 - +1" statement (proper terminology?) to the bottom of the footprint block. +(2706-broke.tdx) + +If defining the term before using it with other objects is not +explicitly stated in the file format specifications then it would seem +that a scan of the footprint block to look for term definitions maybe +should occur first? + +If the file format specifies that the term statement has to come before +using that terminal "tag" in other statements, then nothing is broken. + +Possible bug, not sure. \ No newline at end of file Index: TODO/sns_2706-broke.tdx =================================================================== --- TODO/sns_2706-broke.tdx (nonexistent) +++ TODO/sns_2706-broke.tdx (revision 36338) @@ -0,0 +1,16 @@ +tEDAx v1 + +begin footprint v1 2706\ Standard\ SMT\ resistor,\ capacitor\ etc + line primary silk - -4.0386 -1.3716 -4.0386 1.3716 0.2540 0.0000 + line primary silk - -4.0386 1.3716 4.0386 1.3716 0.2540 0.0000 + line primary silk - 4.0386 1.3716 4.0386 -1.3716 0.2540 0.0000 + line primary silk - 4.0386 -1.3716 -4.0386 -1.3716 0.2540 0.0000 + polygon primary copper 1 0.254 4 -1.7526 -1.0668 -3.7338 -1.0668 -3.7338 1.0668 -1.7526 1.0668 + polygon primary mask 1 0.254 4 -1.6764 -1.143 -3.81 -1.143 -3.81 1.143 -1.6764 1.143 + polygon primary paste 1 0.254 4 -1.7526 -1.0668 -3.7338 -1.0668 -3.7338 1.0668 -1.7526 1.0668 + term 2 2 - 2 + polygon primary copper 2 0.254 4 3.7338 -1.0668 1.7526 -1.0668 1.7526 1.0668 3.7338 1.0668 + polygon primary mask 2 0.254 4 3.81 -1.143 1.6764 -1.143 1.6764 1.143 3.81 1.143 + polygon primary paste 2 0.254 4 3.7338 -1.0668 1.7526 -1.0668 1.7526 1.0668 3.7338 1.0668 + term 1 1 - 1 +end footprint Index: TODO/sns_2706.tdx =================================================================== --- TODO/sns_2706.tdx (nonexistent) +++ TODO/sns_2706.tdx (revision 36338) @@ -0,0 +1,16 @@ +tEDAx v1 + +begin footprint v1 2706\ Standard\ SMT\ resistor,\ capacitor\ etc + line primary silk - -4.0386 -1.3716 -4.0386 1.3716 0.2540 0.0000 + line primary silk - -4.0386 1.3716 4.0386 1.3716 0.2540 0.0000 + line primary silk - 4.0386 1.3716 4.0386 -1.3716 0.2540 0.0000 + line primary silk - 4.0386 -1.3716 -4.0386 -1.3716 0.2540 0.0000 + term 1 1 - 1 + polygon primary copper 1 0.254 4 -1.7526 -1.0668 -3.7338 -1.0668 -3.7338 1.0668 -1.7526 1.0668 + polygon primary mask 1 0.254 4 -1.6764 -1.143 -3.81 -1.143 -3.81 1.143 -1.6764 1.143 + polygon primary paste 1 0.254 4 -1.7526 -1.0668 -3.7338 -1.0668 -3.7338 1.0668 -1.7526 1.0668 + term 2 2 - 2 + polygon primary copper 2 0.254 4 3.7338 -1.0668 1.7526 -1.0668 1.7526 1.0668 3.7338 1.0668 + polygon primary mask 2 0.254 4 3.81 -1.143 1.6764 -1.143 1.6764 1.143 3.81 1.143 + polygon primary paste 2 0.254 4 3.7338 -1.0668 1.7526 -1.0668 1.7526 1.0668 3.7338 1.0668 +end footprint