From d7f58c6a54c2fab11f6080e450c3a8671c0705d0 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_Paste.gbr | 340 +++++++++++++++++++++ 1 file changed, 340 insertions(+) create mode 100644 gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Paste.gbr (limited to 'gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Paste.gbr') diff --git a/gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Paste.gbr b/gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Paste.gbr new file mode 100644 index 0000000..990fa50 --- /dev/null +++ b/gerbonara/tests/resources/kicad-x2-tests/x2ap/Flashpads-B_Paste.gbr @@ -0,0 +1,340 @@ +%TF.GenerationSoftware,KiCad,Pcbnew,5.99.0-unknown-9424d66d22~106~ubuntu18.04.1*% +%TF.CreationDate,2021-01-09T19:56:30+08:00*% +%TF.ProjectId,Flashpads,466c6173-6870-4616-9473-2e6b69636164,rev?*% +%TF.SameCoordinates,Original*% +%TF.FileFunction,Paste,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:30* +%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* +%ADD10C,2.000000*% +%ADD11HorizOval,2.000000X0.000000X0.000000X0.000000X0.000000X0*% +%ADD12HorizOval,1.500000X0.265165X0.265165X-0.265165X-0.265165X0*% +%ADD13RotRect,1.800000X1.800000X45.000000*% +%ADD14Outline4P,-0.950000X-0.800000X0.950000X-0.800000X0.650000X0.800000X-0.650000X0.800000X45.000000*% +%ADD15RoundRect,0.540000X0.000000X-0.509117X0.509117X0.000000X0.000000X0.509117X-0.509117X0.000000X0*% +%ADD16Outline6P,0.180000X-0.900000X-0.900000X-0.900000X-0.900000X0.180000X-0.180000X0.900000X0.900000X0.900000X0.900000X-0.180000X45.000000*% +%AMFp17* +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*% +%ADD17Fp17,45.000000*% +%AMFp18* +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*% +%ADD18Fp18,90.000000*% +%ADD19Outline6P,0.180000X-0.900000X-0.900000X-0.900000X-0.900000X0.180000X-0.180000X0.900000X0.900000X0.900000X0.900000X-0.180000X90.000000*% +%ADD20RoundRect,0.540000X0.360000X-0.360000X0.360000X0.360000X-0.360000X0.360000X-0.360000X-0.360000X0*% +%ADD21Outline4P,-0.950000X-0.800000X0.950000X-0.800000X0.650000X0.800000X-0.650000X0.800000X90.000000*% +%ADD22R,1.800000X1.800000*% +%ADD23O,1.500000X2.250000*% +%ADD24O,2.000000X2.000000*% +%AMFp25* +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*% +%ADD25Fp25,0.000000*% +%ADD26Outline6P,0.180000X-0.900000X-0.900000X-0.900000X-0.900000X0.180000X-0.180000X0.900000X0.900000X0.900000X0.900000X-0.180000X0.000000*% +%ADD27RoundRect,0.540000X-0.360000X-0.360000X0.360000X-0.360000X0.360000X0.360000X-0.360000X0.360000X0*% +%ADD28Outline4P,-0.950000X-0.800000X0.950000X-0.800000X0.650000X0.800000X-0.650000X0.800000X0.000000*% +%ADD29O,2.250000X1.500000*% +G04 APERTURE END LIST* +D10* +%TO.C,U2*% +X72390000Y-28956000D03* +D11* +X74186051Y-30752051D03* +D12* +X75982102Y-32548102D03* +D13* +X77778154Y-34344154D03* +D14* +X79574205Y-36140205D03* +D15* +X81370256Y-37936256D03* +D16* +X83166307Y-39732307D03* +D17* +X84962359Y-41528359D03* +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* +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* +D18* +X90350512Y-36140205D03* +D19* +X88554461Y-34344154D03* +D20* +X86758410Y-32548102D03* +D21* +X84962359Y-30752051D03* +D22* +X83166307Y-28956000D03* +D23* +X81370256Y-27159949D03* +D24* +X79574205Y-25363898D03* +D10* +X77778154Y-23567846D03* +G36* +X93178939Y-46916512D02* +G01* +X91764725Y-46916512D01* +X90350512Y-48330725D01* +X88936299Y-46916512D01* +X91057618Y-44795192D01* +X93178939Y-46916512D01* +G37* +G36* +X97738666Y-39528360D02* +G01* +X96738666Y-40528360D01* +X96738665Y-42528359D01* +X94738666Y-42528358D01* +X94738667Y-39528359D01* +X97738666Y-39528360D01* +G37* +%TD*% +%TO.C,U1*% +G36* +X50707427Y-51689000D02* +G01* +X49293213Y-51689000D01* +X47879000Y-53103213D01* +X46464787Y-51689000D01* +X48586106Y-49567680D01* +X50707427Y-51689000D01* +G37* +G36* +X42259000Y-53689000D02* +G01* +X41259000Y-52689000D01* +X39259000Y-52689000D01* +X39259000Y-50689000D01* +X42259000Y-50689000D01* +X42259000Y-53689000D01* +G37* +X47879000Y-26289000D03* +D11* +X47879000Y-28829000D03* +D12* +X47879000Y-31369000D03* +D13* +X47879000Y-33909000D03* +D14* +X47879000Y-36449000D03* +D15* +X47879000Y-38989000D03* +D16* +X47879000Y-41529000D03* +D17* +X47879000Y-44069000D03* +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* +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* +D25* +X40259000Y-44069000D03* +D26* +X40259000Y-41529000D03* +D27* +X40259000Y-38989000D03* +D28* +X40259000Y-36449000D03* +D22* +X40259000Y-33909000D03* +D29* +X40259000Y-31369000D03* +D24* +X40259000Y-28829000D03* +D10* +X40259000Y-26289000D03* +%TD*% +M02* -- cgit