-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Altium implied leading zeros omitted (#340)
Altium generates files with format specification `%FSAX...Y...%` (no `L` for leading zero omission). This change updates the grammar to accept an empty Zeros parameter defaulting to lead zero omission.
- Loading branch information
1 parent
5de1bd8
commit f39c223
Showing
7 changed files
with
124 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
G04* | ||
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.9.1 (22)* | ||
G04* | ||
G04 Layer_Physical_Order=1* | ||
G04 Layer_Color=255* | ||
%FSAX44Y44*% | ||
%MOMM*% | ||
G71* | ||
G04* | ||
G04 #@! TF.SameCoordinates,D1130218-381A-440B-BF67-0167512D4D43* | ||
G04* | ||
G04* | ||
G04 #@! TF.FilePolarity,Positive* | ||
G04* | ||
G01* | ||
G75* | ||
%ADD14R,3.4000X1.5500*% | ||
%ADD15C,1.5240*% | ||
%ADD24C,1.0160*% | ||
%ADD25R,1.3700X1.3700*% | ||
%ADD26C,1.3700*% | ||
%ADD27C,3.0000*% | ||
%ADD28C,2.0320*% | ||
%ADD29R,2.0320X2.0320*% | ||
%ADD30C,7.0000*% | ||
D14* | ||
X01100000Y01800000D02* | ||
D03* | ||
Y01760000D02* | ||
D03* | ||
X00560000Y01660000D02* | ||
D03* | ||
Y01620000D02* | ||
D03* | ||
X00605000Y01660000D02* | ||
D03* | ||
Y01620000D02* | ||
D03* | ||
X00650000Y01660000D02* | ||
D03* | ||
Y01620000D02* | ||
D03* | ||
X00695000Y01660000D02* | ||
D03* | ||
Y01620000D02* | ||
D03* | ||
X00740000Y01660000D02* | ||
D03* | ||
Y01620000D02* | ||
D03* | ||
X00785000Y01660000D02* | ||
D03* | ||
Y01620000D02* | ||
M02* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
%FSAX44Y44*% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters