forked from johnbeard/kiplot
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PCB Print Tests][Added] Tests for drillmap drawing
- Loading branch information
Showing
34 changed files
with
1,255 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,255 @@ | ||
(kicad_pcb (version 20221018) (generator pcbnew) | ||
|
||
(general | ||
(thickness 1.6) | ||
) | ||
|
||
(paper "A4") | ||
(layers | ||
(0 "F.Cu" signal) | ||
(1 "In1.Cu" signal "El1") | ||
(2 "In2.Cu" signal) | ||
(31 "B.Cu" signal) | ||
(32 "B.Adhes" user "B.Adhesive") | ||
(33 "F.Adhes" user "F.Adhesive") | ||
(34 "B.Paste" user) | ||
(35 "F.Paste" user) | ||
(36 "B.SilkS" user "B.Silkscreen") | ||
(37 "F.SilkS" user "F.Silkscreen") | ||
(38 "B.Mask" user) | ||
(39 "F.Mask" user) | ||
(40 "Dwgs.User" user "User.Drawings") | ||
(41 "Cmts.User" user "User.Comments") | ||
(42 "Eco1.User" user "User.Eco1") | ||
(43 "Eco2.User" user "User.Eco2") | ||
(44 "Edge.Cuts" user) | ||
(45 "Margin" user) | ||
(46 "B.CrtYd" user "B.Courtyard") | ||
(47 "F.CrtYd" user "F.Courtyard") | ||
(48 "B.Fab" user) | ||
(49 "F.Fab" user) | ||
) | ||
|
||
(setup | ||
(stackup | ||
(layer "F.SilkS" (type "Top Silk Screen")) | ||
(layer "F.Paste" (type "Top Solder Paste")) | ||
(layer "F.Mask" (type "Top Solder Mask") (thickness 0.01)) | ||
(layer "F.Cu" (type "copper") (thickness 0.035)) | ||
(layer "dielectric 1" (type "core") (thickness 0.48) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02)) | ||
(layer "In1.Cu" (type "copper") (thickness 0.035)) | ||
(layer "dielectric 2" (type "prepreg") (thickness 0.48) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02)) | ||
(layer "In2.Cu" (type "copper") (thickness 0.035)) | ||
(layer "dielectric 3" (type "core") (thickness 0.48) (material "FR4") (epsilon_r 4.5) (loss_tangent 0.02)) | ||
(layer "B.Cu" (type "copper") (thickness 0.035)) | ||
(layer "B.Mask" (type "Bottom Solder Mask") (thickness 0.01)) | ||
(layer "B.Paste" (type "Bottom Solder Paste")) | ||
(layer "B.SilkS" (type "Bottom Silk Screen")) | ||
(copper_finish "None") | ||
(dielectric_constraints no) | ||
) | ||
(pad_to_mask_clearance 0.051) | ||
(solder_mask_min_width 0.25) | ||
(pcbplotparams | ||
(layerselection 0x00010fc_ffffffff) | ||
(plot_on_all_layers_selection 0x0000000_00000000) | ||
(disableapertmacros false) | ||
(usegerberextensions false) | ||
(usegerberattributes false) | ||
(usegerberadvancedattributes false) | ||
(creategerberjobfile false) | ||
(dashed_line_dash_ratio 12.000000) | ||
(dashed_line_gap_ratio 3.000000) | ||
(svgprecision 6) | ||
(plotframeref false) | ||
(viasonmask false) | ||
(mode 1) | ||
(useauxorigin false) | ||
(hpglpennumber 1) | ||
(hpglpenspeed 20) | ||
(hpglpendiameter 15.000000) | ||
(dxfpolygonmode true) | ||
(dxfimperialunits true) | ||
(dxfusepcbnewfont true) | ||
(psnegative false) | ||
(psa4output false) | ||
(plotreference true) | ||
(plotvalue true) | ||
(plotinvisibletext false) | ||
(sketchpadsonfab false) | ||
(subtractmaskfromsilk false) | ||
(outputformat 1) | ||
(mirror false) | ||
(drillshape 1) | ||
(scaleselection 1) | ||
(outputdirectory "") | ||
) | ||
) | ||
|
||
(net 0 "") | ||
|
||
(footprint "Resistor_THT:R_Box_L13.0mm_W4.0mm_P9.00mm" (layer "F.Cu") | ||
(tstamp 00000000-0000-0000-0000-00005ea76ec0) | ||
(at 110 45) | ||
(descr "Resistor, Box series, Radial, pin pitch=9.00mm, 2W, length*width=13.0*4.0mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf") | ||
(tags "Resistor Box series Radial pin pitch 9.00mm 2W length 13.0mm width 4.0mm") | ||
(attr through_hole) | ||
(fp_text reference "R3" (at 4.5 -3.25) (layer "F.SilkS") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp 47baf4b1-0938-497d-88f9-671136aa8be7) | ||
) | ||
(fp_text value "R_Box_L13.0mm_W4.0mm_P9.00mm" (at 4.5 3.25) (layer "F.Fab") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp 77ed3941-d133-4aef-a9af-5a39322d14eb) | ||
) | ||
(fp_text user "300" (at 4.5 0) (layer "F.Fab") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp 87371631-aa02-498a-998a-09bdb74784c1) | ||
) | ||
(fp_line (start -2.12 -2.12) (end -2.12 2.12) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 749dfe75-c0d6-4872-9330-29c5bbcb8ff8)) | ||
(fp_line (start -2.12 -2.12) (end 11.12 -2.12) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp eb667eea-300e-4ca7-8a6f-4b00de80cd45)) | ||
(fp_line (start -2.12 2.12) (end 11.12 2.12) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 66116376-6967-4178-9f23-a26cdeafc400)) | ||
(fp_line (start 11.12 -2.12) (end 11.12 2.12) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 3b838d52-596d-4e4d-a6ac-e4c8e7621137)) | ||
(fp_line (start -2.25 -2.25) (end -2.25 2.25) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp cbdcaa78-3bbc-413f-91bf-2709119373ce)) | ||
(fp_line (start -2.25 2.25) (end 11.25 2.25) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 1e1b062d-fad0-427c-a622-c5b8a80b5268)) | ||
(fp_line (start 11.25 -2.25) (end -2.25 -2.25) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 30f15357-ce1d-48b9-93dc-7d9b1b2aa048)) | ||
(fp_line (start 11.25 2.25) (end 11.25 -2.25) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp d8603679-3e7b-4337-8dbc-1827f5f54d8a)) | ||
(fp_line (start -2 -2) (end -2 2) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp e615f7aa-337e-474d-9615-2ad82b1c44ca)) | ||
(fp_line (start -2 2) (end 11 2) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 4fb02e58-160a-4a39-9f22-d0c75e82ee72)) | ||
(fp_line (start 11 -2) (end -2 -2) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 44d8279a-9cd1-4db6-856f-0363131605fc)) | ||
(fp_line (start 11 2) (end 11 -2) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp ef8fe2ac-6a7f-4682-9418-b801a1b10a3b)) | ||
(pad "1" thru_hole circle (at 0 0) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask") (tstamp 5038e144-5119-49db-b6cf-f7c345f1cf03)) | ||
(pad "2" thru_hole circle (at 9 0) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask") (tstamp 2e642b3e-a476-4c54-9a52-dcea955640cd)) | ||
(model "${KISYS3DMOD}/Resistor_THT.3dshapes/R_Box_L13.0mm_W4.0mm_P9.00mm.wrl" | ||
(offset (xyz 0 0 0)) | ||
(scale (xyz 1 1 1)) | ||
(rotate (xyz 0 0 0)) | ||
) | ||
) | ||
|
||
(footprint "MountingHole:MountingHole_2.1mm" (layer "F.Cu") | ||
(tstamp 00000000-0000-0000-0000-00005ebe1aa4) | ||
(at 120 29) | ||
(descr "Mounting Hole 2.1mm, no annular") | ||
(tags "mounting hole 2.1mm no annular") | ||
(attr exclude_from_pos_files exclude_from_bom) | ||
(fp_text reference "REF**" (at 0 -3.2) (layer "F.SilkS") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp bb7f0588-d4d8-44bf-9ebf-3c533fe4d6ae) | ||
) | ||
(fp_text value "MountingHole_2.1mm" (at 0 3.2) (layer "F.Fab") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp f1830a1b-f0cc-47ae-a2c9-679c82032f14) | ||
) | ||
(fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp e10b5627-3247-4c86-b9f6-ef474ca11543) | ||
) | ||
(fp_circle (center 0 0) (end 2.1 0) | ||
(stroke (width 0.15) (type solid)) (fill none) (layer "Cmts.User") (tstamp 6a955fc7-39d9-4c75-9a69-676ca8c0b9b2)) | ||
(fp_circle (center 0 0) (end 2.35 0) | ||
(stroke (width 0.05) (type solid)) (fill none) (layer "F.CrtYd") (tstamp e8314017-7be6-4011-9179-37449a29b311)) | ||
(pad "" np_thru_hole circle (at 0 0) (size 2.1 2.1) (drill 2.1) (layers "*.Cu" "*.Mask") (tstamp 746ba970-8279-4e7b-aed3-f28687777c21)) | ||
) | ||
|
||
(footprint "Connector_USB:USB3_A_Molex_48393-001" (layer "F.Cu") | ||
(tstamp 8eb6b050-fbd1-44fc-80ea-ec64e5f13c39) | ||
(at 109.65 29.5 -90) | ||
(descr "USB 3.0, type A, right angle, http://www.molex.com/pdm_docs/sd/483930003_sd.pdf") | ||
(tags "USB 3.0 type A right angle") | ||
(attr through_hole) | ||
(fp_text reference "REF**" (at 3.5 -3.6 90) (layer "F.SilkS") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp e5d8f691-df76-4e94-aea1-03295284e815) | ||
) | ||
(fp_text value "USB3_A_Molex_48393-001" (at 3.5 13 90) (layer "F.Fab") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp d0c865d8-0ea7-44ea-8154-39bdabc895b6) | ||
) | ||
(fp_text user "${REFERENCE}" (at 3.5 5 90) (layer "F.Fab") | ||
(effects (font (size 1 1) (thickness 0.15))) | ||
(tstamp aa1951bd-f8c1-4560-a632-6f58feea9d75) | ||
) | ||
(fp_line (start -3.8 -0.6) (end -3.8 0.6) | ||
(stroke (width 0.12) (type default)) (layer "F.SilkS") (tstamp b27ad7f7-cf15-4209-9aeb-f81ef991b2e1)) | ||
(fp_line (start -3.51 -2.61) (end -3.51 -2) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp b43e7de8-6f58-49f9-a2e9-f906e348b515)) | ||
(fp_line (start -3.51 -2.61) (end 10.51 -2.61) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 26a9e522-8c79-4c58-9e60-17cb37f72a4f)) | ||
(fp_line (start -3.51 6.65) (end -3.51 0.5) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp e73a8cea-c5ba-41e5-80e7-c581926da3a9)) | ||
(fp_line (start 10.51 -2.61) (end 10.51 -2) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp c6a56342-51bb-4f3a-a899-09e38b928ea1)) | ||
(fp_line (start 10.51 6.65) (end 10.51 0.5) | ||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp cd686fde-cc0b-4f00-a773-50a241370051)) | ||
(fp_line (start -4 -3) (end 11 -3) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 071e7229-6106-435c-b259-6e3a7605cc64)) | ||
(fp_line (start -4 12.3) (end -4 -3) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 2c8aa5c4-efa8-486a-ad25-2b6092903405)) | ||
(fp_line (start 11 -3) (end 11 12.3) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp a67209c5-fc5c-4bdc-8eae-7fcb08e93512)) | ||
(fp_line (start 11 12.3) (end -4 12.3) | ||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 5dd8b01a-4a2e-4816-acc6-2b4f019cc0e2)) | ||
(fp_line (start -3.4 -2.5) (end 10.4 -2.5) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 784bfb2c-acd7-4dc7-9d51-0c4f5634bfcf)) | ||
(fp_line (start -3.4 -0.7) (end -2.55 0) | ||
(stroke (width 0.1) (type default)) (layer "F.Fab") (tstamp 42a14f00-2133-4396-b279-f41d3f26ce60)) | ||
(fp_line (start -3.4 0.7) (end -2.55 0) | ||
(stroke (width 0.1) (type default)) (layer "F.Fab") (tstamp 3d2bd77a-2988-4916-b75b-841d2e70c9bb)) | ||
(fp_line (start -3.4 11.75) (end -3.4 -2.5) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 0f77d1a9-d4c2-4bf3-ac67-821d168ea7c8)) | ||
(fp_line (start 10.4 -2.5) (end 10.4 11.75) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp eff4747e-c9b6-4352-8a91-332a8fdb8e77)) | ||
(fp_line (start 10.4 11.75) (end -3.4 11.75) | ||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp e953dc48-744f-419c-91e0-5ff763f9c516)) | ||
(pad "1" thru_hole roundrect (at 0 0 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (roundrect_rratio 0.2083333333) (tstamp 8293c76c-7fda-4e60-b560-6bd2fc969fcb)) | ||
(pad "2" thru_hole circle (at 2.5 0 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp 4677c72c-042d-4d1d-905e-c200c8a48498)) | ||
(pad "3" thru_hole circle (at 4.5 0 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp 3a793e8c-8833-4912-a309-0705beb76e11)) | ||
(pad "4" thru_hole circle (at 7 0 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp b6962b37-9ed2-402d-a03d-4e17e5548bc3)) | ||
(pad "5" thru_hole circle (at 7.5 -1.5 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp ca74338d-51ca-4a8d-b028-9a0ee3d5ae93)) | ||
(pad "6" thru_hole circle (at 5.5 -1.5 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp c5ea36bf-06fc-4425-8eab-e5cdb9d58a29)) | ||
(pad "7" thru_hole circle (at 3.5 -1.5 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp bb457cf9-7024-4275-b7e5-c44aab9f91c6)) | ||
(pad "8" thru_hole circle (at 1.5 -1.5 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp d63c6b12-d4ca-4413-bccb-4aebc181a377)) | ||
(pad "9" thru_hole circle (at -0.5 -1.5 270) (size 1.2 1.2) (drill 0.7) (layers "*.Cu" "*.Mask") (tstamp f59a4d7f-09a8-4aba-b912-0a1976000d94)) | ||
(pad "10" thru_hole oval (at -2.9 -0.75 270) (size 1.2 2.4) (drill oval 0.6 1.7) (layers "*.Cu" "*.Mask") (tstamp 70c8d416-6561-44e2-ad25-0284eb1bfcd7)) | ||
(pad "10" thru_hole oval (at -2.9 7.75 270) (size 1.2 2.1) (drill oval 0.6 1.4) (layers "*.Cu" "*.Mask") (tstamp 51acd1e5-7625-40ed-ab7d-cddbf149a532)) | ||
(pad "10" thru_hole oval (at 9.9 -0.75 270) (size 1.2 2.4) (drill oval 0.6 1.7) (layers "*.Cu" "*.Mask") (tstamp b7e69c89-85f0-4d33-b1a5-b24f5a6550e4)) | ||
(pad "10" thru_hole oval (at 9.9 7.75 270) (size 1.2 2.1) (drill oval 0.6 1.4) (layers "*.Cu" "*.Mask") (tstamp d5afc7e2-61ea-4f94-9f30-35ecc62421f0)) | ||
(model "${KICAD7_3DMODEL_DIR}/Connector_USB.3dshapes/USB3_A_Molex_48393-001.wrl" | ||
(offset (xyz 0 0 0)) | ||
(scale (xyz 1 1 1)) | ||
(rotate (xyz 0 0 0)) | ||
) | ||
) | ||
|
||
(gr_line (start 100 25) (end 100 50) | ||
(stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp 00000000-0000-0000-0000-00005ea7192f)) | ||
(gr_line (start 125 25) (end 125 50) | ||
(stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp 00000000-0000-0000-0000-00005ea76efc)) | ||
(gr_line (start 100 25) (end 125 25) | ||
(stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp 00000000-0000-0000-0000-00005ea76f1d)) | ||
(gr_line (start 100 50) (end 125 50) | ||
(stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp 1a1ab354-5f85-45f9-938c-9f6c4c8c3ea2)) | ||
|
||
(via (at 117 34) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 0) (tstamp 240c10af-51b5-420e-a6f4-a2c8f5db1db5)) | ||
(via (at 115 32) (size 1) (drill 0.5) (layers "F.Cu" "B.Cu") (free) (net 0) (tstamp 6aebf3e5-36c2-495e-8198-c67455866733)) | ||
(via blind (at 119.25 37.75) (size 0.8) (drill 0.4) (layers "F.Cu" "In1.Cu") (net 0) (tstamp 97fe9c60-586f-4895-8504-4d3729f5f81a)) | ||
(via blind (at 117.5 36.25) (size 0.8) (drill 0.4) (layers "F.Cu" "In2.Cu") (net 0) (tstamp bdc7face-9f7c-4701-80bb-4cc144448db1)) | ||
(via (at 116 34) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (free) (net 0) (tstamp d067fb2e-a2b4-46b5-abac-1a7444e4068f)) | ||
(via (at 117 32) (size 1) (drill 0.5) (layers "F.Cu" "B.Cu") (free) (net 0) (tstamp f9993c31-e17d-493b-86b8-f2e9b5118230)) | ||
(via blind (at 120.75 36.25) (size 0.8) (drill 0.4) (layers "In1.Cu" "In2.Cu") (net 0) (tstamp 922058ca-d09a-45fd-8394-05f3e2c1e03a)) | ||
(via blind (at 119.25 34.5) (size 0.8) (drill 0.4) (layers "In2.Cu" "B.Cu") (net 0) (tstamp 0f54db53-a272-4955-88fb-d7ab00657bb0)) | ||
|
||
) |
Oops, something went wrong.