From 4ee5c51f22684bc28b6e1fa09b9ac15965b99d67 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 7 Nov 2023 18:01:24 +0100 Subject: Add JLCPCB KiCad Gerber X2/aperture macro test files --- .../kicad-x2-tests/x2ap/Flashpads-B_Cu.gbr | 556 +++++++++++++++++++++ 1 file changed, 556 insertions(+) create mode 100644 gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Cu.gbr (limited to 'gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Cu.gbr') diff --git a/gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Cu.gbr b/gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Cu.gbr new file mode 100644 index 0000000..4c2e519 --- /dev/null +++ b/gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Cu.gbr @@ -0,0 +1,556 @@ +%TF.GenerationSoftware,KiCad,Pcbnew,5.99.0-unknown-9424d66d22~106~ubuntu18.04.1*% +%TF.CreationDate,2021-01-09T19:56:29+08:00*% +%TF.ProjectId,Flashpads,466c6173-6870-4616-9473-2e6b69636164,rev?*% +%TF.SameCoordinates,Original*% +%TF.FileFunction,Copper,L2,Bot*% +%TF.FilePolarity,Positive*% +%FSLAX46Y46*% +G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* +G04 Created by KiCad (PCBNEW 5.99.0-unknown-9424d66d22~106~ubuntu18.04.1) date 2021-01-09 19:56:29* +%MOMM*% +%LPD*% +G01* +G04 APERTURE LIST* +G04 Aperture macros list* +%AMRoundRect* +0 Rectangle with rounded corners* +0 $1 Rounding radius* +0 $2 $3 $4 $5 $6 $7 $8 $9 X,Y pos of 4 corners* +0 Add a 4 corners polygon primitive as box body* +4,1,4,$2,$3,$4,$5,$6,$7,$8,$9,$2,$3,0* +0 Add four circle primitives for the rounded corners* +1,1,$1+$1,$2,$3,0* +1,1,$1+$1,$4,$5,0* +1,1,$1+$1,$6,$7,0* +1,1,$1+$1,$8,$9,0* +0 Add four rect primitives between the rounded corners* +20,1,$1+$1,$2,$3,$4,$5,0* +20,1,$1+$1,$4,$5,$6,$7,0* +20,1,$1+$1,$6,$7,$8,$9,0* +20,1,$1+$1,$8,$9,$2,$3,0*% +%AMHorizOval* +0 Thick line with rounded ends* +0 $1 width* +0 $2 $3 position (X,Y) of the first rounded end (center of the circle)* +0 $4 $5 position (X,Y) of the second rounded end (center of the circle)* +0 Add line between two ends* +20,1,$1,$2,$3,$4,$5,0* +0 Add two circle primitives to create the rounded ends* +1,1,$1,$2,$3,0* +1,1,$1,$4,$5,0*% +%AMRotRect* +0 Rectangle, with rotation* +0 The origin of the aperture is its center* +0 $1 length* +0 $2 width* +0 $3 Rotation angle, in degrees counterclockwise* +0 Add horizontal line* +21,1,$1,$2,0,0,$3*% +%AMOutline4P* +0 Free polygon, 4 corners , with rotation* +0 The origin of the aperture is its center* +0 number of corners: always 4* +0 $1 to $8 corner X, Y* +0 $9 Rotation angle, in degrees counterclockwise* +0 create outline with 4 corners* +4,1,4,$1,$2,$3,$4,$5,$6,$7,$8,$1,$2,$9*% +%AMOutline5P* +0 Free polygon, 5 corners , with rotation* +0 The origin of the aperture is its center* +0 number of corners: always 8* +0 $1 to $10 corner X, Y* +0 $11 Rotation angle, in degrees counterclockwise* +0 create outline with 8 corners* +4,1,5,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$1,$2,$11*% +%AMOutline6P* +0 Free polygon, 6 corners , with rotation* +0 The origin of the aperture is its center* +0 number of corners: always 6* +0 $1 to $12 corner X, Y* +0 $13 Rotation angle, in degrees counterclockwise* +0 create outline with 6 corners* +4,1,6,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$1,$2,$13*% +%AMOutline7P* +0 Free polygon, 7 corners , with rotation* +0 The origin of the aperture is its center* +0 number of corners: always 7* +0 $1 to $14 corner X, Y* +0 $15 Rotation angle, in degrees counterclockwise* +0 create outline with 7 corners* +4,1,7,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$1,$2,$15*% +%AMOutline8P* +0 Free polygon, 8 corners , with rotation* +0 The origin of the aperture is its center* +0 number of corners: always 8* +0 $1 to $16 corner X, Y* +0 $17 Rotation angle, in degrees counterclockwise* +0 create outline with 8 corners* +4,1,8,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$1,$2,$17*% +G04 Aperture macros list end* +%TA.AperFunction,ComponentPad*% +%ADD10O,1.350000X1.700000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD11O,1.100000X1.500000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD12C,1.400000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD13O,1.100000X2.400000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD14C,1.100000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD15R,1.100000X1.100000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD16O,1.200000X2.100000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD17O,1.200000X2.400000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD18C,1.200000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD19O,1.000000X2.100000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD20O,1.000000X1.600000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD21O,1.200000X1.900000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD22C,1.450000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD23C,2.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD24HorizOval,2.000000X0.000000X0.000000X0.000000X0.000000X0*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD25HorizOval,1.500000X0.265165X0.265165X-0.265165X-0.265165X0*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD26RotRect,1.800000X1.800000X45.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD27Outline4P,-0.950000X-0.800000X0.950000X-0.800000X0.650000X0.800000X-0.650000X0.800000X45.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD28RoundRect,0.540000X0.000000X-0.509117X0.509117X0.000000X0.000000X0.509117X-0.509117X0.000000X0*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD29Outline6P,0.180000X-0.900000X-0.900000X-0.900000X-0.900000X0.180000X-0.180000X0.900000X0.900000X0.900000X0.900000X-0.180000X45.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%AMFp30* +4,1,19,0.180000,-0.899999,-0.360000,-0.899999,-0.472272,-0.888199,-0.610180,-0.838549,-0.729655,-0.753643,-0.821896,-0.639735,-0.880107,-0.505217,-0.899999,-0.360000,-0.899999,0.180000,-0.180000,0.899999,0.360000,0.899999,0.472272,0.888199,0.610180,0.838549,0.729655,0.753643,0.821896,0.639735,0.880107,0.505217,0.899999,0.360000,0.899999,-0.180000,0.180000,-0.899999,0.180000,-0.899999,$1*% +%ADD30Fp30,45.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%AMFp31* +4,1,19,0.179999,-0.900000,-0.360000,-0.900000,-0.472272,-0.888200,-0.610180,-0.838550,-0.729655,-0.753643,-0.821897,-0.639735,-0.880108,-0.505216,-0.900000,-0.359999,-0.900000,0.180000,-0.179999,0.900000,0.360000,0.900000,0.472272,0.888200,0.610180,0.838550,0.729655,0.753643,0.821897,0.639735,0.880108,0.505216,0.900000,0.359999,0.900000,-0.180000,0.179999,-0.900000,0.179999,-0.900000,$1*% +%ADD31Fp31,90.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD32Outline6P,0.180000X-0.900000X-0.900000X-0.900000X-0.900000X0.180000X-0.180000X0.900000X0.900000X0.900000X0.900000X-0.180000X90.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD33RoundRect,0.540000X0.360000X-0.360000X0.360000X0.360000X-0.360000X0.360000X-0.360000X-0.360000X0*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD34Outline4P,-0.950000X-0.800000X0.950000X-0.800000X0.650000X0.800000X-0.650000X0.800000X90.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD35R,1.800000X1.800000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD36O,1.500000X2.250000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD37O,2.000000X2.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%AMFp38* +4,1,19,0.180000,-0.900000,-0.360000,-0.900000,-0.472272,-0.888200,-0.610180,-0.838550,-0.729655,-0.753643,-0.821897,-0.639735,-0.880108,-0.505217,-0.900000,-0.360000,-0.900000,0.180000,-0.180000,0.900000,0.360000,0.900000,0.472272,0.888200,0.610180,0.838550,0.729655,0.753643,0.821897,0.639735,0.880108,0.505217,0.900000,0.360000,0.900000,-0.180000,0.180000,-0.900000,0.180000,-0.900000,$1*% +%ADD38Fp38,0.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD39Outline6P,0.180000X-0.900000X-0.900000X-0.900000X-0.900000X0.180000X-0.180000X0.900000X0.900000X0.900000X0.900000X-0.180000X0.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD40RoundRect,0.540000X-0.360000X-0.360000X0.360000X-0.360000X0.360000X0.360000X-0.360000X0.360000X0*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD41Outline4P,-0.950000X-0.800000X0.950000X-0.800000X0.650000X0.800000X-0.650000X0.800000X0.000000*% +%TD*% +%TA.AperFunction,ComponentPad*% +%ADD42O,2.250000X1.500000*% +%TD*% +G04 APERTURE END LIST* +D10* +%TO.P,REF\u002A\u002A,6*% +%TO.N,N/C*% +X65189000Y-66647000D03* +X59729000Y-66647000D03* +D11* +X64879000Y-63647000D03* +X60039000Y-63647000D03* +%TD*% +D12* +%TO.P,REF\u002A\u002A,S1*% +%TO.N,N/C*% +X22180000Y-66213000D03* +X31160000Y-66213000D03* +X30800000Y-60263000D03* +X22540000Y-60263000D03* +%TD*% +D13* +%TO.P,REF\u002A\u002A,6*% +%TO.N,N/C*% +X78364000Y-66661000D03* +X71064000Y-66661000D03* +D14* +%TO.P,REF\u002A\u002A,5*% +X76314000Y-67536000D03* +%TO.P,REF\u002A\u002A,4*% +X75514000Y-65786000D03* +%TO.P,REF\u002A\u002A,3*% +X74714000Y-67536000D03* +%TO.P,REF\u002A\u002A,2*% +X73914000Y-65786000D03* +D15* +%TO.P,REF\u002A\u002A,1*% +X73114000Y-67536000D03* +%TD*% +D16* +%TO.P,REF\u002A\u002A,10*% +%TO.N,N/C*% +X83968000Y-64392000D03* +X96768000Y-64392000D03* +D17* +X83968000Y-55892000D03* +X96768000Y-55892000D03* +D18* +%TO.P,REF\u002A\u002A,9*% +X86368000Y-55142000D03* +%TO.P,REF\u002A\u002A,8*% +X88368000Y-55142000D03* +%TO.P,REF\u002A\u002A,7*% +X90368000Y-55142000D03* +%TO.P,REF\u002A\u002A,6*% +X92368000Y-55142000D03* +%TO.P,REF\u002A\u002A,5*% +X94368000Y-55142000D03* +%TO.P,REF\u002A\u002A,4*% +X93868000Y-56642000D03* +%TO.P,REF\u002A\u002A,3*% +X91368000Y-56642000D03* +%TO.P,REF\u002A\u002A,2*% +X89368000Y-56642000D03* +%TO.P,REF\u002A\u002A,1*% +X86868000Y-56642000D03* +%TD*% +D19* +%TO.P,REF\u002A\u002A,S1*% +%TO.N,N/C*% +X43309000Y-61894000D03* +X34669000Y-61894000D03* +D20* +X34669000Y-66074000D03* +X43309000Y-66074000D03* +%TD*% +D21* +%TO.P,REF\u002A\u002A,6*% +%TO.N,N/C*% +X54554000Y-66769500D03* +X47554000Y-66769500D03* +D22* +X53554000Y-64069500D03* +X48554000Y-64069500D03* +%TD*% +D23* +%TO.P,U2,1*% +%TO.N,N/C*% +X72390000Y-28956000D03* +D24* +%TO.P,U2,2*% +X74186051Y-30752051D03* +D25* +%TO.P,U2,3*% +X75982102Y-32548102D03* +D26* +%TO.P,U2,4*% +X77778154Y-34344154D03* +D27* +%TO.P,U2,5*% +X79574205Y-36140205D03* +D28* +%TO.P,U2,6*% +X81370256Y-37936256D03* +D29* +%TO.P,U2,7*% +X83166307Y-39732307D03* +D30* +%TO.P,U2,8*% +X84962359Y-41528359D03* +%TA.AperFunction,ComponentPad*% +%TO.P,U2,9*% +G36* +X86375441Y-42340647D02* +G01* +X87141378Y-42340646D01* +X87141379Y-42340647D01* +X87183805Y-42358220D01* +X87724671Y-42899086D01* +X87737097Y-42929086D01* +X87742245Y-42941513D01* +X87742244Y-43707308D01* +X87724671Y-43749734D01* +X87183734Y-44290671D01* +X87183730Y-44290672D01* +X87183729Y-44290674D01* +X87165271Y-44298318D01* +X87141308Y-44308244D01* +X87141306Y-44308243D01* +X87141301Y-44308245D01* +X86375436Y-44308173D01* +X86357076Y-44300566D01* +X86333015Y-44290600D01* +X85792221Y-43749804D01* +X85792220Y-43749804D01* +X85774647Y-43707379D01* +X85774646Y-42941442D01* +X85781926Y-42923868D01* +X85792220Y-42899015D01* +X86333015Y-42358220D01* +X86375441Y-42340647D01* +G37* +%TD.AperFunction*% +%TA.AperFunction,ComponentPad*% +%TO.P,U2,10*% +G36* +X91416312Y-37173968D02* +G01* +X92123946Y-36880856D01* +X92123947Y-36880856D01* +X92169867Y-36880856D01* +X92876543Y-37173570D01* +X92899504Y-37196532D01* +X92909015Y-37206043D01* +X93202072Y-37913546D01* +X93202072Y-37959467D01* +X92909320Y-38666235D01* +X92909316Y-38666238D01* +X92909316Y-38666240D01* +X92895188Y-38680366D01* +X92876848Y-38698706D01* +X92876845Y-38698706D01* +X92876842Y-38698709D01* +X92169246Y-38991728D01* +X92149373Y-38991726D01* +X92123331Y-38991726D01* +X91416748Y-38699049D01* +X91416747Y-38699049D01* +X91384276Y-38666578D01* +X91091164Y-37958944D01* +X91091164Y-37939922D01* +X91091164Y-37913023D01* +X91383840Y-37206439D01* +X91416312Y-37173968D01* +G37* +%TD.AperFunction*% +D31* +%TO.P,U2,11*% +X90350512Y-36140205D03* +D32* +%TO.P,U2,12*% +X88554461Y-34344154D03* +D33* +%TO.P,U2,13*% +X86758410Y-32548102D03* +D34* +%TO.P,U2,14*% +X84962359Y-30752051D03* +D35* +%TO.P,U2,15*% +X83166307Y-28956000D03* +D36* +%TO.P,U2,16*% +X81370256Y-27159949D03* +D37* +%TO.P,U2,17*% +X79574205Y-25363898D03* +D23* +%TO.P,U2,18*% +X77778154Y-23567846D03* +%TA.AperFunction,ComponentPad*% +%TO.P,U2,19*% +G36* +X93178939Y-46916512D02* +G01* +X91764725Y-46916512D01* +X90350512Y-48330725D01* +X88936299Y-46916512D01* +X91057618Y-44795192D01* +X93178939Y-46916512D01* +G37* +%TD.AperFunction*% +%TA.AperFunction,ComponentPad*% +%TO.P,U2,20*% +G36* +X97738666Y-39528360D02* +G01* +X96738666Y-40528360D01* +X96738665Y-42528359D01* +X94738666Y-42528358D01* +X94738667Y-39528359D01* +X97738666Y-39528360D01* +G37* +%TD.AperFunction*% +%TD*% +%TA.AperFunction,ComponentPad*% +%TO.P,U1,20*% +%TO.N,N/C*% +G36* +X50707427Y-51689000D02* +G01* +X49293213Y-51689000D01* +X47879000Y-53103213D01* +X46464787Y-51689000D01* +X48586106Y-49567680D01* +X50707427Y-51689000D01* +G37* +%TD.AperFunction*% +%TA.AperFunction,ComponentPad*% +%TO.P,U1,19*% +G36* +X42259000Y-53689000D02* +G01* +X41259000Y-52689000D01* +X39259000Y-52689000D01* +X39259000Y-50689000D01* +X42259000Y-50689000D01* +X42259000Y-53689000D01* +G37* +%TD.AperFunction*% +%TO.P,U1,18*% +X47879000Y-26289000D03* +D24* +%TO.P,U1,17*% +X47879000Y-28829000D03* +D25* +%TO.P,U1,16*% +X47879000Y-31369000D03* +D26* +%TO.P,U1,15*% +X47879000Y-33909000D03* +D27* +%TO.P,U1,14*% +X47879000Y-36449000D03* +D28* +%TO.P,U1,13*% +X47879000Y-38989000D03* +D29* +%TO.P,U1,12*% +X47879000Y-41529000D03* +D30* +%TO.P,U1,11*% +X47879000Y-44069000D03* +%TA.AperFunction,ComponentPad*% +%TO.P,U1,10*% +G36* +X47901652Y-45553615D02* +G01* +X48609286Y-45846726D01* +X48609287Y-45846727D01* +X48641759Y-45879198D01* +X48934473Y-46585874D01* +X48934473Y-46618345D01* +X48934473Y-46631796D01* +X48641415Y-47339299D01* +X48608944Y-47371771D01* +X47902176Y-47664523D01* +X47902172Y-47664523D01* +X47902170Y-47664525D01* +X47882192Y-47664523D01* +X47856255Y-47664523D01* +X47856254Y-47664521D01* +X47856249Y-47664521D01* +X47148708Y-47371371D01* +X47134657Y-47357317D01* +X47116241Y-47338902D01* +X46823566Y-46632318D01* +X46823565Y-46632317D01* +X46823565Y-46586398D01* +X47116676Y-45878764D01* +X47130127Y-45865313D01* +X47149148Y-45846291D01* +X47855732Y-45553615D01* +X47901652Y-45553615D01* +G37* +%TD.AperFunction*% +%TA.AperFunction,ComponentPad*% +%TO.P,U1,9*% +G36* +X40683826Y-45642574D02* +G01* +X41225426Y-46184173D01* +X41225426Y-46184174D01* +X41243000Y-46226600D01* +X41243000Y-46991500D01* +X41230573Y-47021500D01* +X41225426Y-47033927D01* +X40683926Y-47575426D01* +X40641500Y-47593000D01* +X39876500Y-47593000D01* +X39876496Y-47592998D01* +X39876494Y-47592999D01* +X39858037Y-47585352D01* +X39834074Y-47575426D01* +X39834073Y-47575424D01* +X39834069Y-47575422D01* +X39292570Y-47033822D01* +X39284967Y-47015461D01* +X39275000Y-46991400D01* +X39275001Y-46226600D01* +X39275001Y-46226599D01* +X39292574Y-46184174D01* +X39834173Y-45642574D01* +X39851747Y-45635295D01* +X39876600Y-45625000D01* +X40641400Y-45625000D01* +X40683826Y-45642574D01* +G37* +%TD.AperFunction*% +D38* +%TO.P,U1,8*% +X40259000Y-44069000D03* +D39* +%TO.P,U1,7*% +X40259000Y-41529000D03* +D40* +%TO.P,U1,6*% +X40259000Y-38989000D03* +D41* +%TO.P,U1,5*% +X40259000Y-36449000D03* +D35* +%TO.P,U1,4*% +X40259000Y-33909000D03* +D42* +%TO.P,U1,3*% +X40259000Y-31369000D03* +D37* +%TO.P,U1,2*% +X40259000Y-28829000D03* +D23* +%TO.P,U1,1*% +X40259000Y-26289000D03* +%TD*% +M02* -- cgit