Add false-negative DRC tests (and fix first bug found by them).

This commit is contained in:
Jeff Young 2021-07-31 16:31:38 +01:00
parent 7b4dcb6e10
commit faa1ff4ec6
28 changed files with 65625 additions and 57 deletions

View File

@ -109,6 +109,7 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::testAgainstEdge( BOARD_ITEM* item, SHAPE*
drce->SetViolatingRule( constraint.GetParentRule() );
reportViolation( drce, (wxPoint) pos );
return false; // don't report violations with multiple edges; one is enough
}
return true;
@ -153,8 +154,8 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run()
if( shape->GetShape() == SHAPE_T::RECT )
{
// A single rectangle for the board would make the RTree useless, so
// convert to 4 edges
// A single rectangle for the board would make the RTree useless, so convert
// to 4 edges
edges.emplace_back( static_cast<PCB_SHAPE*>( shape->Clone() ) );
edges.back()->SetShape( SHAPE_T::SEGMENT );
edges.back()->SetEndX( shape->GetStartX() );
@ -175,7 +176,8 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run()
}
else if( shape->GetShape() == SHAPE_T::POLY )
{
// Same for polygons
// A single polygon for the board would make the RTree useless, so convert
// to n edges.
SHAPE_LINE_CHAIN poly = shape->GetPolyShape().Outline( 0 );
for( size_t ii = 0; ii < poly.GetSegmentCount(); ++ii )
@ -205,7 +207,7 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run()
forEachGeometryItem( { PCB_SHAPE_T, PCB_FP_SHAPE_T }, LSET( 2, Edge_Cuts, Margin ),
queryBoardOutlineItems );
forEachGeometryItem( s_allBasicItemsButZones, LSET::AllCuMask(), queryBoardGeometryItems );
forEachGeometryItem( s_allBasicItemsButZones, LSET::AllLayersMask(), queryBoardGeometryItems );
for( const std::unique_ptr<PCB_SHAPE>& edge : edges )
{
@ -255,14 +257,21 @@ bool DRC_TEST_PROVIDER_EDGE_CLEARANCE::Run()
if( testSilk && ( item->GetLayer() == F_SilkS || item->GetLayer() == B_SilkS ) )
{
edgesTree.QueryColliding( item, UNDEFINED_LAYER, testLayer, nullptr,
if( edgesTree.QueryColliding( item, UNDEFINED_LAYER, testLayer, nullptr,
[&]( BOARD_ITEM* edge ) -> bool
{
return testAgainstEdge( item, itemShape.get(), edge,
SILK_CLEARANCE_CONSTRAINT,
DRCE_SILK_MASK_CLEARANCE );
},
m_largestClearance );
m_largestClearance ) )
{
// violations reported during QueryColliding
}
else
{
// TODO: check postion being outside board boundary
}
}
}
}

670
qa/data/issue1358.kicad_pcb Normal file
View File

@ -0,0 +1,670 @@
(kicad_pcb (version 20210722) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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
(pad_to_mask_clearance 0.051)
(solder_mask_min_width 0.25)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 "")
(net 1 "GND")
(net 2 "+3V3")
(net 3 "+5V")
(net 4 "Net-(J1-Pad4)")
(net 5 "/USB_D+")
(net 6 "/USB_D-")
(net 7 "Net-(IC1-Pad16)")
(net 8 "Net-(IC1-Pad15)")
(net 9 "Net-(IC1-Pad13)")
(net 10 "Net-(IC1-Pad11)")
(net 11 "Net-(IC1-Pad9)")
(net 12 "Net-(IC1-Pad8)")
(net 13 "Net-(IC1-Pad7)")
(net 14 "Net-(IC1-Pad3)")
(net 15 "Net-(IC1-Pad2)")
(net 16 "/SDA")
(net 17 "/SCL")
(footprint "misc:USB_Micro-B" (layer "F.Cu")
(tedit 58BB6CAC) (tstamp 00000000-0000-0000-0000-00005bc6c671)
(at 119.6 114 -90)
(descr "Micro USB Type B Receptacle")
(tags "USB USB_B USB_micro USB_OTG")
(path "/00000000-0000-0000-0000-00005bc9014b")
(attr smd)
(fp_text reference "J1" (at 0 -3.45 -90) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 19142c96-cd97-45b3-8b34-185d93a736d4)
)
(fp_text value "USB_B_Mini" (at 0 4.8 -90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 591f07f5-9372-4cf1-aaf7-35a6c3e2f845)
)
(fp_line (start -4.3509 3.81746) (end -4.3509 -2.58754) (layer "F.SilkS") (width 0.15) (tstamp 30f49c3c-8dec-4a0d-ad60-118ffde39a76))
(fp_line (start 4.3491 -2.58754) (end 4.3491 3.81746) (layer "F.SilkS") (width 0.15) (tstamp 7bad1388-06a8-492b-92c7-dd05fc82eb98))
(fp_line (start -4.3509 3.81746) (end 4.3491 3.81746) (layer "F.SilkS") (width 0.15) (tstamp 82b7cd4d-7e2d-4496-acd4-d923e3c8b93c))
(fp_line (start 4.3491 2.58746) (end -4.3509 2.58746) (layer "F.SilkS") (width 0.15) (tstamp b5138935-f4d8-4328-917a-9995721fc667))
(fp_line (start -4.3509 -2.58754) (end 4.3491 -2.58754) (layer "F.SilkS") (width 0.15) (tstamp ce1d4461-bc7e-48f0-84a4-687a64887837))
(fp_line (start 4.6 -2.8) (end 4.6 4.05) (layer "F.CrtYd") (width 0.05) (tstamp 17532c3f-7bcc-4906-bd41-ebf5e0831077))
(fp_line (start -4.6 -2.8) (end 4.6 -2.8) (layer "F.CrtYd") (width 0.05) (tstamp 4796a32f-002e-449b-8fb2-c4108a118d80))
(fp_line (start 4.6 4.05) (end -4.6 4.05) (layer "F.CrtYd") (width 0.05) (tstamp 783794ef-83f0-47ba-b2e9-66f7d9378127))
(fp_line (start -4.6 4.05) (end -4.6 -2.8) (layer "F.CrtYd") (width 0.05) (tstamp e0959a58-2b7c-4a71-9f65-decd095bb440))
(pad "1" smd rect locked (at -1.3009 -1.56254) (size 1.35 0.4) (layers "F.Cu" "F.Paste" "F.Mask")
(net 3 "+5V") (tstamp 285f0e15-1598-43cc-9694-ef95b7f1c5a2))
(pad "2" smd rect locked (at -0.6509 -1.56254) (size 1.35 0.4) (layers "F.Cu" "F.Paste" "F.Mask")
(net 6 "/USB_D-") (tstamp 7934933f-6225-44c2-a670-7b29f03e51fb))
(pad "3" smd rect locked (at -0.0009 -1.56254) (size 1.35 0.4) (layers "F.Cu" "F.Paste" "F.Mask")
(net 5 "/USB_D+") (tstamp f0a66f8b-9c70-4c95-8f9e-68aff291bef7))
(pad "4" smd rect locked (at 0.6491 -1.56254) (size 1.35 0.4) (layers "F.Cu" "F.Paste" "F.Mask")
(net 4 "Net-(J1-Pad4)") (zone_connect 1) (thermal_width 1) (thermal_gap 0.2) (tstamp 0045807b-9040-4aa2-8c99-82784cd811b8))
(pad "5" smd rect locked (at 1.2991 -1.56254) (size 1.35 0.4) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "GND") (zone_connect 1) (thermal_width 1) (thermal_gap 0.2) (tstamp c41b9a9d-6938-47b3-a6fe-2ed346c27eef))
(pad "6" smd rect locked (at 3.75 1.15 270) (size 1.524 1.524) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "GND") (tstamp 4347d612-d8f6-4214-94e2-8d259f248c3c))
(pad "6" smd rect locked (at -3.75 1.15 270) (size 1.524 1.524) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "GND") (tstamp d5d8c1e4-327b-42fc-bcef-3d0fa9018029))
)
(footprint "qfn:QFN-16_3x3mm_Pitch0.5mm" (layer "F.Cu")
(tedit 5A98AF72) (tstamp 00000000-0000-0000-0000-00005bc84761)
(at 148.1 123.8)
(descr "16-Lead Plastic Quad Flat, No Lead Package (NG) - 3x3x0.9 mm Body [QFN]; (see Microchip Packaging Specification 00000049BS.pdf)")
(tags "QFN 0.5")
(path "/00000000-0000-0000-0000-00005bc741fc")
(attr smd)
(fp_text reference "IC1" (at 0 -2.85) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 919cfb2a-4b33-4eaa-9fcf-f71c2db9ec0d)
)
(fp_text value "MMA8452Q" (at 0 2.85) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 1057c18a-2d26-415f-b6fe-b6a8a4e143de)
)
(fp_line (start -1.625 1.625) (end -1.125 1.625) (layer "F.SilkS") (width 0.15) (tstamp 54d43383-b660-45c2-b859-23390872db24))
(fp_line (start -1.625 1.625) (end -1.625 1.125) (layer "F.SilkS") (width 0.15) (tstamp 7f1cd3e9-0663-4ca9-8a1f-554ecd861cff))
(fp_line (start -1.625 -1.625) (end -1.125 -1.625) (layer "F.SilkS") (width 0.15) (tstamp 8d9a75a2-7a3a-4545-b43d-11bdb31e079c))
(fp_line (start 1.625 1.625) (end 1.125 1.625) (layer "F.SilkS") (width 0.15) (tstamp a031b762-b06c-47a2-9495-7f23633424ec))
(fp_line (start 1.625 -1.625) (end 1.625 -1.125) (layer "F.SilkS") (width 0.15) (tstamp be348632-6373-46e4-b04c-11fb88754b4f))
(fp_line (start 1.625 -1.625) (end 1.125 -1.625) (layer "F.SilkS") (width 0.15) (tstamp cb75cd60-ed31-4f8e-939a-4de8b72598ed))
(fp_line (start 1.625 1.625) (end 1.625 1.125) (layer "F.SilkS") (width 0.15) (tstamp e1a55277-0a9e-4a53-a61d-f416daa2acda))
(fp_line (start -2.1 -2.1) (end -2.1 2.1) (layer "F.CrtYd") (width 0.05) (tstamp 3995023f-3760-4211-9568-a42f4e5e72eb))
(fp_line (start -2.1 2.1) (end 2.1 2.1) (layer "F.CrtYd") (width 0.05) (tstamp 53846b37-01cd-4581-bb70-8275a9ac41e0))
(fp_line (start 2.1 -2.1) (end 2.1 2.1) (layer "F.CrtYd") (width 0.05) (tstamp 9749518f-e5f1-42c9-9e0e-5264dc9314a8))
(fp_line (start -2.1 -2.1) (end 2.1 -2.1) (layer "F.CrtYd") (width 0.05) (tstamp cab1b22d-525f-4ac8-b82d-72ce117fea45))
(fp_line (start -1.5 1.5) (end -1.5 -0.5) (layer "F.Fab") (width 0.15) (tstamp 20aa9cb2-5d6d-4f8d-a070-499472cf19d9))
(fp_line (start -1.5 -0.5) (end -0.5 -1.5) (layer "F.Fab") (width 0.15) (tstamp 731eefa6-7315-4eab-b705-58c30105b493))
(fp_line (start -0.5 -1.5) (end 1.5 -1.5) (layer "F.Fab") (width 0.15) (tstamp a39a439e-0940-49fc-ab66-ac370492539e))
(fp_line (start 1.5 -1.5) (end 1.5 1.5) (layer "F.Fab") (width 0.15) (tstamp db431869-db9d-4ba5-a193-2940ad858f13))
(fp_line (start 1.5 1.5) (end -1.5 1.5) (layer "F.Fab") (width 0.15) (tstamp faff729f-3e2f-4a0b-a63b-e906a9870a27))
(pad "1" smd oval locked (at -1.375 -1) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 2 "+3V3") (tstamp c65becca-4155-465d-8bda-b6350354aa2b))
(pad "2" smd oval locked (at -1.375 -0.5) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 15 "Net-(IC1-Pad2)") (tstamp 8f8c614b-e364-44f4-91a9-6b3052ad5bea))
(pad "3" smd oval locked (at -1.375 0) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 14 "Net-(IC1-Pad3)") (tstamp 326cc9a4-5051-406c-8640-e4d273ea7994))
(pad "4" smd oval locked (at -1.375 0.5) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 17 "/SCL") (tstamp 2315ee17-8b32-4654-a4c0-60506183d7c8))
(pad "5" smd oval locked (at -1.375 1) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "GND") (tstamp 93434739-9512-450f-9aff-96f54f812622))
(pad "6" smd oval locked (at -0.5 1.375 90) (size 0.93 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 16 "/SDA") (tstamp d9a04798-d691-48a8-a1e8-2d6f15b78669))
(pad "7" smd oval locked (at 0 1.375 90) (size 0.93 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 13 "Net-(IC1-Pad7)") (tstamp 82a1aacf-2e7a-423c-a066-ad3264a859d6))
(pad "8" smd oval locked (at 0.5 1.375 90) (size 0.93 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 12 "Net-(IC1-Pad8)") (tstamp 4c00e0b0-134a-4999-9b5e-c9ee666ef891))
(pad "9" smd oval locked (at 1.375 1) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 11 "Net-(IC1-Pad9)") (tstamp 8f34d376-54cc-4fd0-8b44-bb4f0f056a44))
(pad "10" smd oval locked (at 1.375 0.5) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "GND") (tstamp 2aeb31a6-f876-472e-8ff7-97f0812e8b06))
(pad "11" smd oval locked (at 1.375 0) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 10 "Net-(IC1-Pad11)") (tstamp 0cca9651-43d8-4878-bf07-96aa51146a2d))
(pad "12" smd oval locked (at 1.375 -0.5) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "GND") (tstamp cccafa87-bb5f-40ac-a121-92211809f90e))
(pad "13" smd oval locked (at 1.375 -1) (size 0.913 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 9 "Net-(IC1-Pad13)") (tstamp 79ca5852-b3fa-4456-b2bc-496f1a5bdcb8))
(pad "14" smd oval locked (at 0.5 -1.375 90) (size 0.93 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 2 "+3V3") (tstamp 5c3aff29-c14b-409e-8113-f8c59d98d3b8))
(pad "15" smd oval locked (at 0 -1.375 90) (size 0.93 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 8 "Net-(IC1-Pad15)") (tstamp af8c4c0b-60f9-468e-b978-8626c394068a))
(pad "16" smd oval locked (at -0.5 -1.375 90) (size 0.93 0.3) (layers "F.Cu" "F.Paste" "F.Mask")
(net 7 "Net-(IC1-Pad16)") (tstamp 4d7c681d-329e-49a6-a467-ae00700e0281))
(model "${KISYS3DMOD}/Housings_DFN_QFN.3dshapes/QFN-16-1EP_3x3mm_Pitch0.5mm.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_line (start 157 98) (end 117 98) (layer "Edge.Cuts") (width 0.05) (tstamp 6fdc229b-84d7-4e10-8fa1-783efbb32453))
(gr_line (start 117 136) (end 157 136) (layer "Edge.Cuts") (width 0.05) (tstamp a2245f46-0acd-42a9-8797-cb02bed5437a))
(gr_line (start 117 98) (end 117 136) (layer "Edge.Cuts") (width 0.05) (tstamp a9e9a585-8709-4509-9010-bd37c04721c5))
(gr_line (start 157 136) (end 157 98) (layer "Edge.Cuts") (width 0.05) (tstamp b1fe2711-1faa-4274-a6c0-1d84db072506))
(dimension (type aligned) (layer "Dwgs.User") (tstamp a71fc2a9-34ff-41df-ae25-dbd047977aec)
(pts (xy 157 98) (xy 157 136))
(height -1.9)
(gr_text "38.0000 mm" (at 157.75 117 90) (layer "Dwgs.User") (tstamp a71fc2a9-34ff-41df-ae25-dbd047977aec)
(effects (font (size 1 1) (thickness 0.15)))
)
(format (units 2) (units_format 1) (precision 4))
(style (thickness 0.15) (arrow_length 1.27) (text_position_mode 0) (extension_height 0.58642) (extension_offset 0) keep_text_aligned)
)
(dimension (type aligned) (layer "Dwgs.User") (tstamp a815db39-5a92-4934-b9d3-05c47a6ae3e3)
(pts (xy 157 136) (xy 117 136))
(height -1.3)
(gr_text "40.0000 mm" (at 137 136.15) (layer "Dwgs.User") (tstamp a815db39-5a92-4934-b9d3-05c47a6ae3e3)
(effects (font (size 1 1) (thickness 0.15)))
)
(format (units 2) (units_format 1) (precision 4))
(style (thickness 0.15) (arrow_length 1.27) (text_position_mode 0) (extension_height 0.58642) (extension_offset 0) keep_text_aligned)
)
(via (at 118.8 120.5) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 1) (tstamp aa14b4af-301c-42f7-82a0-57f19e0744b4))
(segment (start 123.8009 112.6991) (end 121.16254 112.6991) (width 0.3) (layer "F.Cu") (net 3) (tstamp 3260e08f-6413-41b8-a04d-fbebf9360be5))
(segment (start 122.275041 113.8991) (end 123.9809 113.8991) (width 0.2) (layer "F.Cu") (net 5) (tstamp 3fc7f791-7488-4f04-a042-487eae1be88a))
(segment (start 121.16254 113.9991) (end 122.175041 113.9991) (width 0.2) (layer "F.Cu") (net 5) (tstamp e6baa44c-fd43-445d-a5af-74691ba315af))
(segment (start 122.175041 113.9991) (end 122.275041 113.8991) (width 0.2) (layer "F.Cu") (net 5) (tstamp f9041409-1e9d-4cf2-9f39-a564a9d3629a))
(segment (start 121.16254 113.3491) (end 122.175041 113.3491) (width 0.2) (layer "F.Cu") (net 6) (tstamp 369c3e9e-2175-4135-acc9-72726fa30fc3))
(segment (start 122.275041 113.4491) (end 124.1673 113.4491) (width 0.2) (layer "F.Cu") (net 6) (tstamp b850fd40-eaae-43c7-b6d2-e38df7b0e231))
(segment (start 122.175041 113.3491) (end 122.275041 113.4491) (width 0.2) (layer "F.Cu") (net 6) (tstamp fe13bca2-0ab7-4f21-beb0-d492235819a7))
(segment (start 144.2 126.9) (end 145 126.1) (width 0.25) (layer "F.Cu") (net 16) (tstamp 00000000-0000-0000-0000-00005bc848bf))
(segment (start 140 126) (end 141.5 126) (width 0.25) (layer "F.Cu") (net 16) (tstamp 00000000-0000-0000-0000-00005bc848c2))
(segment (start 142.4 126.9) (end 144.2 126.9) (width 0.25) (layer "F.Cu") (net 16) (tstamp 00000000-0000-0000-0000-00005bc848c5))
(segment (start 141.5 126) (end 142.4 126.9) (width 0.25) (layer "F.Cu") (net 16) (tstamp 00000000-0000-0000-0000-00005bc848f8))
(segment (start 139.13 124.43) (end 139.13 125.13) (width 0.25) (layer "F.Cu") (net 16) (tstamp 00000000-0000-0000-0000-00005bc848fe))
(segment (start 139.13 125.13) (end 140 126) (width 0.25) (layer "F.Cu") (net 16) (tstamp 00000000-0000-0000-0000-00005bc84901))
(segment (start 147.4 126.1) (end 145 126.1) (width 0.25) (layer "F.Cu") (net 16) (tstamp 33341d00-b5a2-4ddf-b24a-a743eb1ba839))
(segment (start 147.6 125.175) (end 147.6 125.9) (width 0.25) (layer "F.Cu") (net 16) (tstamp b6c03010-98b7-4b19-b52f-80b0692b5be5))
(segment (start 147.6 125.9) (end 147.4 126.1) (width 0.25) (layer "F.Cu") (net 16) (tstamp fe9480c6-9d82-42c9-bde2-90c5bba30160))
(segment (start 138.33 125.43) (end 138.9 126) (width 0.25) (layer "F.Cu") (net 17) (tstamp 00000000-0000-0000-0000-00005bc848b6))
(segment (start 138.33 124.43) (end 138.33 125.43) (width 0.25) (layer "F.Cu") (net 17) (tstamp 00000000-0000-0000-0000-00005bc848b9))
(segment (start 143.8 126) (end 145.5 124.3) (width 0.25) (layer "F.Cu") (net 17) (tstamp 7d0c40e0-ce47-4b1e-b45d-6e1d098b68f5))
(segment (start 142.8 126) (end 143.8 126) (width 0.25) (layer "F.Cu") (net 17) (tstamp c3296d8d-94dd-4b9c-9e48-475067f4a700))
(segment (start 145.5 124.3) (end 146.725 124.3) (width 0.25) (layer "F.Cu") (net 17) (tstamp c560af3f-dd73-40ab-975c-a5f8020d02b4))
(via (at 142.8 126) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 17) (tstamp 00000000-0000-0000-0000-00005bc848aa))
(via (at 138.9 126) (size 0.8) (drill 0.4) (layers "F.Cu" "B.Cu") (net 17) (tstamp 00000000-0000-0000-0000-00005bc848bc))
(segment (start 142.8 126) (end 142.1 126) (width 0.25) (layer "B.Cu") (net 17) (tstamp 00000000-0000-0000-0000-00005bc848a4))
(segment (start 142.1 126) (end 138.9 126) (width 0.25) (layer "B.Cu") (net 17) (tstamp 00000000-0000-0000-0000-00005bc848a7))
(zone (net 1) (net_name "GND") (layer "F.Cu") (tstamp de1fc50a-44a7-4297-8b87-e0bfaa683c57) (hatch edge 0.508)
(connect_pads (clearance 0.254))
(min_thickness 0.254)
(fill yes (thermal_gap 0.254) (thermal_bridge_width 0.3))
(polygon
(pts
(xy 117 98)
(xy 157 98)
(xy 157 136)
(xy 117 136)
)
)
(filled_polygon
(layer "F.Cu")
(pts
(xy 156.594 135.594)
(xy 117.406 135.594)
(xy 117.406 125.43)
(xy 137.814087 125.43)
(xy 137.849289 125.606966)
(xy 137.85336 125.627431)
(xy 137.965195 125.794806)
(xy 138.007445 125.823036)
(xy 138.119 125.934591)
(xy 138.119 126.155351)
(xy 138.2379 126.442401)
(xy 138.457599 126.6621)
(xy 138.744649 126.781)
(xy 139.055351 126.781)
(xy 139.342401 126.6621)
(xy 139.5621 126.442401)
(xy 139.609913 126.32697)
(xy 139.635194 126.364806)
(xy 139.722826 126.423359)
(xy 139.802568 126.476641)
(xy 140 126.515913)
(xy 140.049835 126.506)
(xy 141.290409 126.506)
(xy 142.006963 127.222555)
(xy 142.035194 127.264806)
(xy 142.202569 127.376641)
(xy 142.350165 127.406)
(xy 142.399999 127.415913)
(xy 142.449833 127.406)
(xy 144.150166 127.406)
(xy 144.2 127.415913)
(xy 144.249834 127.406)
(xy 144.249835 127.406)
(xy 144.397431 127.376641)
(xy 144.564806 127.264806)
(xy 144.593038 127.222553)
(xy 145.209592 126.606)
(xy 147.350166 126.606)
(xy 147.4 126.615913)
(xy 147.449834 126.606)
(xy 147.449835 126.606)
(xy 147.597431 126.576641)
(xy 147.764806 126.464806)
(xy 147.793039 126.422552)
(xy 147.922552 126.293039)
(xy 147.964806 126.264806)
(xy 148.051181 126.135535)
(xy 148.076641 126.097432)
(xy 148.090164 126.029446)
(xy 148.1 126.031402)
(xy 148.307186 125.99019)
(xy 148.350001 125.961582)
(xy 148.392815 125.99019)
(xy 148.6 126.031402)
(xy 148.807186 125.99019)
(xy 148.982829 125.872829)
(xy 149.10019 125.697186)
(xy 149.131 125.542294)
(xy 149.131 125.331)
(xy 149.833794 125.331)
(xy 149.988686 125.30019)
(xy 150.164329 125.182829)
(xy 150.28169 125.007186)
(xy 150.322902 124.8)
(xy 150.28169 124.592814)
(xy 150.245998 124.539398)
(xy 150.280882 124.481956)
(xy 150.301873 124.405706)
(xy 150.216643 124.323)
(xy 150.023392 124.323)
(xy 149.98897 124.3)
(xy 150.023392 124.277)
(xy 150.216643 124.277)
(xy 150.301873 124.194294)
(xy 150.280882 124.118044)
(xy 150.245998 124.060602)
(xy 150.28169 124.007186)
(xy 150.322902 123.8)
(xy 150.28169 123.592814)
(xy 150.245998 123.539398)
(xy 150.280882 123.481956)
(xy 150.301873 123.405706)
(xy 150.216643 123.323)
(xy 150.023392 123.323)
(xy 149.98897 123.3)
(xy 150.023392 123.277)
(xy 150.216643 123.277)
(xy 150.301873 123.194294)
(xy 150.280882 123.118044)
(xy 150.245998 123.060602)
(xy 150.28169 123.007186)
(xy 150.322902 122.8)
(xy 150.28169 122.592814)
(xy 150.164329 122.417171)
(xy 149.988686 122.29981)
(xy 149.833794 122.269)
(xy 149.131 122.269)
(xy 149.131 122.057706)
(xy 149.10019 121.902814)
(xy 148.982829 121.727171)
(xy 148.807185 121.60981)
(xy 148.6 121.568598)
(xy 148.392814 121.60981)
(xy 148.35 121.638418)
(xy 148.307185 121.60981)
(xy 148.1 121.568598)
(xy 147.892814 121.60981)
(xy 147.85 121.638418)
(xy 147.807185 121.60981)
(xy 147.6 121.568598)
(xy 147.392814 121.60981)
(xy 147.217171 121.727171)
(xy 147.09981 121.902815)
(xy 147.069 122.057707)
(xy 147.069 122.269)
(xy 146.366206 122.269)
(xy 146.211314 122.29981)
(xy 146.035671 122.417171)
(xy 145.91831 122.592814)
(xy 145.877098 122.8)
(xy 145.91831 123.007186)
(xy 145.946917 123.05)
(xy 145.91831 123.092814)
(xy 145.877098 123.3)
(xy 145.91831 123.507186)
(xy 145.946917 123.55)
(xy 145.91831 123.592814)
(xy 145.878291 123.794)
(xy 145.549833 123.794)
(xy 145.499999 123.784087)
(xy 145.450165 123.794)
(xy 145.302569 123.823359)
(xy 145.135194 123.935194)
(xy 145.106963 123.977445)
(xy 143.590409 125.494)
(xy 143.398501 125.494)
(xy 143.242401 125.3379)
(xy 142.955351 125.219)
(xy 142.644649 125.219)
(xy 142.357599 125.3379)
(xy 142.1379 125.557599)
(xy 142.031079 125.815488)
(xy 141.893038 125.677447)
(xy 141.864806 125.635194)
(xy 141.697431 125.523359)
(xy 141.549835 125.494)
(xy 141.549834 125.494)
(xy 141.5 125.484087)
(xy 141.450166 125.494)
(xy 140.209592 125.494)
(xy 139.636 124.920409)
(xy 139.636 124.380165)
(xy 139.606641 124.232569)
(xy 139.494806 124.065194)
(xy 139.32743 123.953359)
(xy 139.13 123.914087)
(xy 138.932569 123.953359)
(xy 138.765194 124.065194)
(xy 138.73 124.117866)
(xy 138.694806 124.065194)
(xy 138.52743 123.953359)
(xy 138.33 123.914087)
(xy 138.132569 123.953359)
(xy 137.965194 124.065194)
(xy 137.853359 124.23257)
(xy 137.824 124.380166)
(xy 137.824001 125.380161)
(xy 137.814087 125.43)
(xy 117.406 125.43)
(xy 117.406 118.768816)
(xy 117.472181 118.834996)
(xy 117.612215 118.893)
(xy 118.33175 118.893)
(xy 118.427 118.79775)
(xy 118.427 117.773)
(xy 118.473 117.773)
(xy 118.473 118.79775)
(xy 118.56825 118.893)
(xy 119.287785 118.893)
(xy 119.427819 118.834996)
(xy 119.534996 118.72782)
(xy 119.593 118.587786)
(xy 119.593 117.86825)
(xy 119.49775 117.773)
(xy 118.473 117.773)
(xy 118.427 117.773)
(xy 118.407 117.773)
(xy 118.407 117.727)
(xy 118.427 117.727)
(xy 118.427 116.70225)
(xy 118.473 116.70225)
(xy 118.473 117.727)
(xy 119.49775 117.727)
(xy 119.593 117.63175)
(xy 119.593 116.912214)
(xy 119.534996 116.77218)
(xy 119.427819 116.665004)
(xy 119.287785 116.607)
(xy 118.56825 116.607)
(xy 118.473 116.70225)
(xy 118.427 116.70225)
(xy 118.33175 116.607)
(xy 117.612215 116.607)
(xy 117.472181 116.665004)
(xy 117.406 116.731184)
(xy 117.406 115.48085)
(xy 120.16054 115.48085)
(xy 120.16054 115.564145)
(xy 120.210323 115.684331)
(xy 120.30231 115.776317)
(xy 120.422496 115.8261)
(xy 120.74329 115.8261)
(xy 120.82504 115.74435)
(xy 120.82504 115.3991)
(xy 121.50004 115.3991)
(xy 121.50004 115.74435)
(xy 121.58179 115.8261)
(xy 121.902584 115.8261)
(xy 122.02277 115.776317)
(xy 122.114757 115.684331)
(xy 122.16454 115.564145)
(xy 122.16454 115.48085)
(xy 122.08279 115.3991)
(xy 121.50004 115.3991)
(xy 120.82504 115.3991)
(xy 120.24229 115.3991)
(xy 120.16054 115.48085)
(xy 117.406 115.48085)
(xy 117.406 112.4991)
(xy 120.099076 112.4991)
(xy 120.099076 112.8991)
(xy 120.12394 113.0241)
(xy 120.099076 113.1491)
(xy 120.099076 113.5491)
(xy 120.12394 113.6741)
(xy 120.099076 113.7991)
(xy 120.099076 114.1991)
(xy 120.12394 114.3241)
(xy 120.099076 114.4491)
(xy 120.099076 114.8491)
(xy 120.128646 114.997759)
(xy 120.16054 115.045492)
(xy 120.16054 115.11735)
(xy 120.24229 115.1991)
(xy 120.32557 115.1991)
(xy 120.338881 115.207994)
(xy 120.48754 115.237564)
(xy 121.83754 115.237564)
(xy 121.986199 115.207994)
(xy 121.99951 115.1991)
(xy 122.08279 115.1991)
(xy 122.16454 115.11735)
(xy 122.16454 115.045492)
(xy 122.196434 114.997759)
(xy 122.226004 114.8491)
(xy 122.226004 114.479386)
(xy 122.362718 114.452192)
(xy 122.47061 114.3801)
(xy 124.028273 114.3801)
(xy 124.168577 114.352192)
(xy 124.327681 114.245881)
(xy 124.433992 114.086777)
(xy 124.471323 113.8991)
(xy 124.458217 113.833209)
(xy 124.514081 113.795881)
(xy 124.620392 113.636777)
(xy 124.657723 113.4491)
(xy 124.620392 113.261423)
(xy 124.514081 113.102319)
(xy 124.354977 112.996008)
(xy 124.254495 112.976021)
(xy 124.30109 112.906286)
(xy 124.342302 112.6991)
(xy 124.30109 112.491914)
(xy 124.183729 112.316271)
(xy 124.008086 112.19891)
(xy 123.853194 112.1681)
(xy 122.027946 112.1681)
(xy 121.986199 112.140206)
(xy 121.83754 112.110636)
(xy 120.48754 112.110636)
(xy 120.338881 112.140206)
(xy 120.212854 112.224414)
(xy 120.128646 112.350441)
(xy 120.099076 112.4991)
(xy 117.406 112.4991)
(xy 117.406 111.268816)
(xy 117.472181 111.334996)
(xy 117.612215 111.393)
(xy 118.33175 111.393)
(xy 118.427 111.29775)
(xy 118.427 110.273)
(xy 118.473 110.273)
(xy 118.473 111.29775)
(xy 118.56825 111.393)
(xy 119.287785 111.393)
(xy 119.427819 111.334996)
(xy 119.534996 111.22782)
(xy 119.593 111.087786)
(xy 119.593 110.36825)
(xy 119.49775 110.273)
(xy 118.473 110.273)
(xy 118.427 110.273)
(xy 118.407 110.273)
(xy 118.407 110.227)
(xy 118.427 110.227)
(xy 118.427 109.20225)
(xy 118.473 109.20225)
(xy 118.473 110.227)
(xy 119.49775 110.227)
(xy 119.593 110.13175)
(xy 119.593 109.412214)
(xy 119.534996 109.27218)
(xy 119.427819 109.165004)
(xy 119.287785 109.107)
(xy 118.56825 109.107)
(xy 118.473 109.20225)
(xy 118.427 109.20225)
(xy 118.33175 109.107)
(xy 117.612215 109.107)
(xy 117.472181 109.165004)
(xy 117.406 109.231184)
(xy 117.406 98.406)
(xy 156.594001 98.406)
)
)
(filled_polygon
(layer "F.Cu")
(pts
(xy 145.8875 124.823002)
(xy 145.983355 124.823002)
(xy 145.898127 124.905706)
(xy 145.919118 124.981956)
(xy 146.026763 125.15921)
(xy 146.194046 125.281778)
(xy 146.3955 125.331)
(xy 146.702 125.331)
(xy 146.702 124.831)
(xy 146.748 124.831)
(xy 146.748 125.331)
(xy 147.0545 125.331)
(xy 147.069 125.327457)
(xy 147.069 125.542294)
(xy 147.079285 125.594)
(xy 145.049834 125.594)
(xy 145 125.584087)
(xy 144.950166 125.594)
(xy 144.950165 125.594)
(xy 144.914496 125.601095)
(xy 145.709592 124.806)
(xy 145.8875 124.806)
)
)
)
(zone (net 1) (net_name "GND") (layer "B.Cu") (tstamp 00000000-0000-0000-0000-00005bcab468) (hatch edge 0.508)
(connect_pads (clearance 0.254))
(min_thickness 0.254)
(fill yes (thermal_gap 0.254) (thermal_bridge_width 0.3))
(polygon
(pts
(xy 117 98)
(xy 157 98)
(xy 157 136)
(xy 117 136)
)
)
(filled_polygon
(layer "B.Cu")
(pts
(xy 156.594 135.594)
(xy 117.406 135.594)
(xy 117.406 125.844649)
(xy 138.119 125.844649)
(xy 138.119 126.155351)
(xy 138.2379 126.442401)
(xy 138.457599 126.6621)
(xy 138.744649 126.781)
(xy 139.055351 126.781)
(xy 139.342401 126.6621)
(xy 139.498501 126.506)
(xy 142.201499 126.506)
(xy 142.357599 126.6621)
(xy 142.644649 126.781)
(xy 142.955351 126.781)
(xy 143.242401 126.6621)
(xy 143.4621 126.442401)
(xy 143.581 126.155351)
(xy 143.581 125.844649)
(xy 143.4621 125.557599)
(xy 143.242401 125.3379)
(xy 142.955351 125.219)
(xy 142.644649 125.219)
(xy 142.357599 125.3379)
(xy 142.201499 125.494)
(xy 139.498501 125.494)
(xy 139.342401 125.3379)
(xy 139.055351 125.219)
(xy 138.744649 125.219)
(xy 138.457599 125.3379)
(xy 138.2379 125.557599)
(xy 138.119 125.844649)
(xy 117.406 125.844649)
(xy 117.406 98.406)
(xy 156.594001 98.406)
)
)
)
)

400
qa/data/issue1358.kicad_pro Executable file
View File

@ -0,0 +1,400 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.12,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.254
}
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"meta": {
"filename": "board_design_settings.json",
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "ignore",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "ignore",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.024999999999999998,
"min_hole_clearance": 0.0,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.3,
0.35,
0.4
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
},
{
"diameter": 1.0,
"drill": 0.5
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_sheet_names": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "error",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "issue6417.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 1
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 36.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.0,
"field_names": [],
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 0
},
"net_format_name": "",
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"155f8eea-0e5f-4cd4-af54-d2a6a7cc5844",
"AM2315 sensors I2C interface"
],
[
"3171c8e1-e8bd-4b55-9726-8c0ea0490320",
"230V & general interface"
],
[
"155f8eea-0e5f-4cd4-af54-d2a6a7cc5844",
""
]
],
"text_variables": {}
}

293
qa/data/issue18.kicad_pcb Normal file
View File

@ -0,0 +1,293 @@
(kicad_pcb (version 20171130) (host pcbnew "(5.1.0-rc2-38-g4612175da2)")
(general
(thickness 1.6)
(drawings 0)
(tracks 7)
(zones 0)
(modules 1)
(nets 15)
)
(page A4)
(layers
(0 F.Cu signal)
(1 In1.Cu signal)
(2 In2.Cu signal)
(3 In3.Cu signal)
(4 In4.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
(37 F.SilkS user)
(38 B.Mask user)
(39 F.Mask user)
(40 Dwgs.User user)
(41 Cmts.User user)
(42 Eco1.User user)
(43 Eco2.User user)
(44 Edge.Cuts user)
(45 Margin user)
(46 B.CrtYd user)
(47 F.CrtYd user)
(48 B.Fab user)
(49 F.Fab user)
)
(setup
(last_trace_width 0.127)
(user_trace_width 0.1)
(user_trace_width 0.25)
(user_trace_width 0.5)
(user_trace_width 0.75)
(user_trace_width 1)
(user_trace_width 1.2)
(user_trace_width 1.65)
(user_trace_width 2.5)
(trace_clearance 0.12)
(zone_clearance 0.22)
(zone_45_only no)
(trace_min 0.09)
(via_size 0.45)
(via_drill 0.2)
(via_min_size 0.45)
(via_min_drill 0.2)
(user_via 0.45 0.2)
(uvia_size 0.2)
(uvia_drill 0.1)
(uvias_allowed no)
(uvia_min_size 0.2)
(uvia_min_drill 0.1)
(edge_width 0.15)
(segment_width 0.2)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.15)
(mod_text_size 0.5 0.5)
(mod_text_width 0.125)
(pad_size 0.3 0.5)
(pad_drill 0)
(pad_to_mask_clearance 0.0508)
(solder_mask_min_width 0.25)
(aux_axis_origin 0 0)
(visible_elements FFFDFF7F)
(pcbplotparams
(layerselection 0x010fc_ffffffff)
(usegerberextensions false)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 0)
(scaleselection 1)
(outputdirectory "."))
)
(net 0 "")
(net 1 GND)
(net 2 /rasp_cm/HDMI_CK_N)
(net 3 /rasp_cm/HDMI_CK_P)
(net 4 /hdmi_conn/HDMI_D0_N)
(net 5 /hdmi_conn/HDMI_D0_P)
(net 6 /hdmi_conn/HDMI_D1_N)
(net 7 /hdmi_conn/HDMI_D1_P)
(net 8 /hdmi_conn/HDMI_D2_N)
(net 9 /hdmi_conn/HDMI_D2_P)
(net 10 /hdmi_conn/HDMI_CEC)
(net 11 /hdmi_conn/HDMI_SDA)
(net 12 /hdmi_conn/HDMI_SCL)
(net 13 /hdmi_conn/HDMI_HPD)
(net 14 +5V)
(net_class Default "This is the default net class."
(clearance 0.12)
(trace_width 0.127)
(via_dia 0.45)
(via_drill 0.2)
(uvia_dia 0.2)
(uvia_drill 0.1)
(diff_pair_width 0.2)
(diff_pair_gap 0.127)
(add_net +5V)
(add_net /hdmi_conn/HDMI_CEC)
(add_net /hdmi_conn/HDMI_D0_N)
(add_net /hdmi_conn/HDMI_D0_P)
(add_net /hdmi_conn/HDMI_D1_N)
(add_net /hdmi_conn/HDMI_D1_P)
(add_net /hdmi_conn/HDMI_D2_N)
(add_net /hdmi_conn/HDMI_D2_P)
(add_net /hdmi_conn/HDMI_HPD)
(add_net /hdmi_conn/HDMI_SCL)
(add_net /hdmi_conn/HDMI_SDA)
(add_net /rasp_cm/HDMI_CK_N)
(add_net /rasp_cm/HDMI_CK_P)
(add_net GND)
)
(module FS-Diode:TestFootprint (layer F.Cu) (tedit 5C7F02F0) (tstamp 5C7EF524)
(at 22.8 18.07 180)
(path /5B657F9C/5B658966)
(attr smd)
(fp_text reference U13 (at 0 1.8 180) (layer F.SilkS)
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_text value TestFootprint (at 0 -1.7 180) (layer F.Fab)
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_line (start -2.9 -0.9) (end -2.9 0.85) (layer F.SilkS) (width 0.15))
(fp_line (start -2.5 -0.9) (end -2.9 -0.9) (layer F.SilkS) (width 0.15))
(fp_line (start 2.9 -0.9) (end 2.5 -0.9) (layer F.SilkS) (width 0.15))
(fp_line (start 2.9 0.9) (end 2.9 -0.9) (layer F.SilkS) (width 0.15))
(fp_line (start 2.75 0.9) (end 2.9 0.9) (layer F.SilkS) (width 0.15))
(fp_line (start 2.75 0.75) (end 2.75 -0.75) (layer F.CrtYd) (width 0.15))
(fp_line (start 2.75 0.75) (end -2.75 0.75) (layer F.CrtYd) (width 0.15))
(fp_line (start -2.75 -0.75) (end -2.75 0.75) (layer F.CrtYd) (width 0.15))
(fp_line (start -2.75 -0.75) (end 2.75 -0.75) (layer F.CrtYd) (width 0.15))
(pad 15 smd rect (at 0 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 11 /hdmi_conn/HDMI_SDA))
(pad 14 smd rect (at 0.75 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 1 GND))
(pad 13 smd rect (at 1.5 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 14 +5V))
(pad 12 smd rect (at 2.25 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 1 GND))
(pad 16 smd rect (at -0.75 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 1 GND))
(pad 17 smd rect (at -1.5 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 10 /hdmi_conn/HDMI_CEC))
(pad 18 smd rect (at -2.25 -0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 1 GND))
(pad 6 smd rect (at 0 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 12 /hdmi_conn/HDMI_SCL))
(pad 7 smd rect (at 0.5 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 5 /hdmi_conn/HDMI_D0_P))
(pad 8 smd rect (at 1 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 4 /hdmi_conn/HDMI_D0_N))
(pad 9 smd rect (at 1.5 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 13 /hdmi_conn/HDMI_HPD))
(pad 10 smd rect (at 2 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 3 /rasp_cm/HDMI_CK_P))
(pad 11 smd rect (at 2.5 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 2 /rasp_cm/HDMI_CK_N))
(pad 5 smd rect (at -0.5 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 6 /hdmi_conn/HDMI_D1_N))
(pad 4 smd rect (at -1 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 7 /hdmi_conn/HDMI_D1_P))
(pad 3 smd rect (at -1.5 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -2 0.65 180) (size 0.3 0.5) (layers F.Cu F.Paste F.Mask)
(net 8 /hdmi_conn/HDMI_D2_N))
(pad 1 smd rect (at -2.575 0.65 180) (size 0.45 0.5) (layers F.Cu F.Paste F.Mask)
(net 9 /hdmi_conn/HDMI_D2_P))
)
(segment (start 23.55 19.6) (end 23.55 19.6) (width 0.25) (layer F.Cu) (net 1))
(segment (start 23.141499 18.433671) (end 23.141499 19.996081) (width 0.127) (layer F.Cu) (net 6))
(segment (start 23.3 17.42) (end 23.3 18.27517) (width 0.127) (layer F.Cu) (net 6))
(segment (start 23.3 18.27517) (end 23.141499 18.433671) (width 0.127) (layer F.Cu) (net 6))
(segment (start 23.958501 18.458501) (end 23.958501 20.041499) (width 0.127) (layer F.Cu) (net 7))
(segment (start 23.8 17.42) (end 23.8 18.3) (width 0.127) (layer F.Cu) (net 7))
(segment (start 23.8 18.3) (end 23.958501 18.458501) (width 0.127) (layer F.Cu) (net 7))
(zone (net 1) (net_name GND) (layer F.Cu) (tstamp 5C7F0764) (hatch edge 0.508)
(connect_pads (clearance 0.2))
(min_thickness 0.254)
(fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 19.5 16) (xy 19.5 21) (xy 26.5 21) (xy 26.5 16)
)
)
(filled_polygon
(pts
(xy 26.373 20.873) (xy 19.627 20.873) (xy 19.627 19.605) (xy 20.31625 19.605) (xy 20.337458 19.605)
(xy 20.319769 19.601481) (xy 20.31625 19.605) (xy 19.627 19.605) (xy 19.627 18.407458) (xy 19.765 18.407458)
(xy 19.765 18.43625) (xy 19.92375 18.595) (xy 20.475 18.595) (xy 20.475 18.573) (xy 20.625 18.573)
(xy 20.625 18.595) (xy 20.697 18.595) (xy 20.697 18.845) (xy 20.625 18.845) (xy 20.625 18.867)
(xy 20.475 18.867) (xy 20.475 18.845) (xy 19.92375 18.845) (xy 19.765 19.00375) (xy 19.765 19.032542)
(xy 19.789403 19.155223) (xy 19.83727 19.270785) (xy 19.906763 19.374789) (xy 19.995211 19.463237) (xy 20.099215 19.53273)
(xy 20.214777 19.580597) (xy 20.319769 19.601481) (xy 20.422998 19.498252) (xy 20.422998 19.605) (xy 20.677002 19.605)
(xy 20.762542 19.605) (xy 20.78375 19.605) (xy 21.81625 19.605) (xy 21.837458 19.605) (xy 21.819769 19.601481)
(xy 21.81625 19.605) (xy 20.78375 19.605) (xy 20.780231 19.601481) (xy 20.762542 19.605) (xy 20.677002 19.605)
(xy 20.677002 19.498252) (xy 20.780231 19.601481) (xy 20.885223 19.580597) (xy 21.000785 19.53273) (xy 21.104789 19.463237)
(xy 21.193237 19.374789) (xy 21.244157 19.298582) (xy 21.355843 19.298582) (xy 21.406763 19.374789) (xy 21.495211 19.463237)
(xy 21.599215 19.53273) (xy 21.714777 19.580597) (xy 21.819769 19.601481) (xy 21.922998 19.498252) (xy 21.922998 19.605)
(xy 22.177002 19.605) (xy 22.262542 19.605) (xy 22.28375 19.605) (xy 22.280231 19.601481) (xy 22.262542 19.605)
(xy 22.177002 19.605) (xy 22.177002 19.498252) (xy 22.280231 19.601481) (xy 22.385223 19.580597) (xy 22.500785 19.53273)
(xy 22.604789 19.463237) (xy 22.693237 19.374789) (xy 22.744157 19.298582) (xy 22.751 19.298582) (xy 22.751 20.015259)
(xy 22.756651 20.072632) (xy 22.77898 20.146242) (xy 22.81524 20.214081) (xy 22.864039 20.273542) (xy 22.9235 20.322341)
(xy 22.991339 20.358601) (xy 23.064949 20.38093) (xy 23.141499 20.38847) (xy 23.21805 20.38093) (xy 23.29166 20.358601)
(xy 23.359499 20.322341) (xy 23.41896 20.273542) (xy 23.467759 20.214081) (xy 23.504019 20.146242) (xy 23.526348 20.072632)
(xy 23.531999 20.015259) (xy 23.531999 18.59542) (xy 23.537585 18.589835) (xy 23.568001 18.620251) (xy 23.568002 20.060677)
(xy 23.573653 20.11805) (xy 23.595982 20.19166) (xy 23.632242 20.259499) (xy 23.681041 20.31896) (xy 23.740502 20.367759)
(xy 23.808341 20.404019) (xy 23.881951 20.426348) (xy 23.958501 20.433888) (xy 24.035052 20.426348) (xy 24.108662 20.404019)
(xy 24.176501 20.367759) (xy 24.235962 20.31896) (xy 24.284761 20.259499) (xy 24.321021 20.19166) (xy 24.34335 20.11805)
(xy 24.349001 20.060677) (xy 24.349001 19.605) (xy 24.81625 19.605) (xy 24.837458 19.605) (xy 24.819769 19.601481)
(xy 24.81625 19.605) (xy 24.349001 19.605) (xy 24.349001 19.298582) (xy 24.355843 19.298582) (xy 24.406763 19.374789)
(xy 24.495211 19.463237) (xy 24.599215 19.53273) (xy 24.714777 19.580597) (xy 24.819769 19.601481) (xy 24.922998 19.498252)
(xy 24.922998 19.605) (xy 25.177002 19.605) (xy 25.262542 19.605) (xy 25.28375 19.605) (xy 25.280231 19.601481)
(xy 25.262542 19.605) (xy 25.177002 19.605) (xy 25.177002 19.498252) (xy 25.280231 19.601481) (xy 25.385223 19.580597)
(xy 25.500785 19.53273) (xy 25.604789 19.463237) (xy 25.693237 19.374789) (xy 25.76273 19.270785) (xy 25.810597 19.155223)
(xy 25.835 19.032542) (xy 25.835 19.00375) (xy 25.67625 18.845) (xy 25.125 18.845) (xy 25.125 18.867)
(xy 24.975 18.867) (xy 24.975 18.845) (xy 24.903 18.845) (xy 24.903 18.595) (xy 24.975 18.595)
(xy 24.975 18.573) (xy 25.125 18.573) (xy 25.125 18.595) (xy 25.67625 18.595) (xy 25.835 18.43625)
(xy 25.835 18.407458) (xy 25.810597 18.284777) (xy 25.76273 18.169215) (xy 25.693237 18.065211) (xy 25.624222 17.996196)
(xy 25.664103 17.992268) (xy 25.725743 17.97357) (xy 25.78255 17.943206) (xy 25.832343 17.902343) (xy 25.873206 17.85255)
(xy 25.90357 17.795743) (xy 25.922268 17.734103) (xy 25.928582 17.67) (xy 25.928582 17.17) (xy 25.922268 17.105897)
(xy 25.90357 17.044257) (xy 25.873206 16.98745) (xy 25.832343 16.937657) (xy 25.78255 16.896794) (xy 25.725743 16.86643)
(xy 25.664103 16.847732) (xy 25.6 16.841418) (xy 25.15 16.841418) (xy 25.085897 16.847732) (xy 25.05 16.858621)
(xy 25.014103 16.847732) (xy 24.95 16.841418) (xy 24.65 16.841418) (xy 24.585897 16.847732) (xy 24.55 16.858621)
(xy 24.514103 16.847732) (xy 24.45 16.841418) (xy 24.15 16.841418) (xy 24.085897 16.847732) (xy 24.05 16.858621)
(xy 24.014103 16.847732) (xy 23.95 16.841418) (xy 23.65 16.841418) (xy 23.585897 16.847732) (xy 23.55 16.858621)
(xy 23.514103 16.847732) (xy 23.45 16.841418) (xy 23.15 16.841418) (xy 23.085897 16.847732) (xy 23.05 16.858621)
(xy 23.014103 16.847732) (xy 22.95 16.841418) (xy 22.65 16.841418) (xy 22.585897 16.847732) (xy 22.55 16.858621)
(xy 22.514103 16.847732) (xy 22.45 16.841418) (xy 22.15 16.841418) (xy 22.085897 16.847732) (xy 22.05 16.858621)
(xy 22.014103 16.847732) (xy 21.95 16.841418) (xy 21.65 16.841418) (xy 21.585897 16.847732) (xy 21.55 16.858621)
(xy 21.514103 16.847732) (xy 21.45 16.841418) (xy 21.15 16.841418) (xy 21.085897 16.847732) (xy 21.05 16.858621)
(xy 21.014103 16.847732) (xy 20.95 16.841418) (xy 20.65 16.841418) (xy 20.585897 16.847732) (xy 20.55 16.858621)
(xy 20.514103 16.847732) (xy 20.45 16.841418) (xy 20.15 16.841418) (xy 20.085897 16.847732) (xy 20.024257 16.86643)
(xy 19.96745 16.896794) (xy 19.917657 16.937657) (xy 19.876794 16.98745) (xy 19.84643 17.044257) (xy 19.827732 17.105897)
(xy 19.821418 17.17) (xy 19.821418 17.67) (xy 19.827732 17.734103) (xy 19.84643 17.795743) (xy 19.876794 17.85255)
(xy 19.917657 17.902343) (xy 19.96745 17.943206) (xy 20.010775 17.966364) (xy 19.995211 17.976763) (xy 19.906763 18.065211)
(xy 19.83727 18.169215) (xy 19.789403 18.284777) (xy 19.765 18.407458) (xy 19.627 18.407458) (xy 19.627 16.127)
(xy 26.373 16.127)
)
)
(filled_polygon
(pts
(xy 23.78375 19.605) (xy 23.762542 19.605) (xy 23.780231 19.601481)
)
)
(filled_polygon
(pts
(xy 23.337458 19.605) (xy 23.31625 19.605) (xy 23.319769 19.601481)
)
)
(filled_polygon
(pts
(xy 22.125 18.595) (xy 22.197 18.595) (xy 22.197 18.845) (xy 22.125 18.845) (xy 22.125 18.867)
(xy 21.975 18.867) (xy 21.975 18.845) (xy 21.903 18.845) (xy 21.903 18.595) (xy 21.975 18.595)
(xy 21.975 18.573) (xy 22.125 18.573)
)
)
)
)

633
qa/data/issue2528.kicad_pcb Normal file
View File

@ -0,0 +1,633 @@
(kicad_pcb (version 20210722) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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
(pad_to_mask_clearance 0)
(solder_mask_min_width 0.25)
(pcbplotparams
(layerselection 0x0000030_80000001)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 "")
(net 1 "Net-(Q1-Pad1)")
(net 2 "Net-(R1-Pad1)")
(net 3 "Net-(R2-Pad2)")
(net 4 "/Col")
(net 5 "/Base")
(footprint "Package_TO_SOT_SMD:SOT-223" (layer "F.Cu")
(tedit 5A02FF57) (tstamp 00000000-0000-0000-0000-00005c4da32a)
(at 164.025001 100.425001)
(descr "module CMS SOT223 4 pins")
(tags "CMS SOT")
(path "/00000000-0000-0000-0000-00005c4daf85")
(attr smd)
(fp_text reference "Q1" (at 0 -4.5) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ff559036-86d1-4ccc-9179-114d2dee4dd9)
)
(fp_text value "Q_NPN_Darlington_ECBC" (at 0 4.5) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp f5861f72-d4e3-4c27-9219-5c5de52bc593)
)
(fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
(effects (font (size 0.8 0.8) (thickness 0.12)))
(tstamp ae69314c-77dc-41f0-bb16-11e9ace83c4f)
)
(fp_line (start -4.1 -3.41) (end 1.91 -3.41) (layer "F.SilkS") (width 0.12) (tstamp 0bf12b7d-857a-4273-9e7e-6b2ce2f7e167))
(fp_line (start 1.91 -3.41) (end 1.91 -2.15) (layer "F.SilkS") (width 0.12) (tstamp 1d584327-b9fb-429d-a1b7-9a24d0704d92))
(fp_line (start 1.91 3.41) (end 1.91 2.15) (layer "F.SilkS") (width 0.12) (tstamp 3c4de351-a801-43ba-ba66-c533577b6956))
(fp_line (start -1.85 3.41) (end 1.91 3.41) (layer "F.SilkS") (width 0.12) (tstamp b4c7ab3d-9101-4f4d-ae2a-132cc01de080))
(fp_line (start 4.4 -3.6) (end -4.4 -3.6) (layer "F.CrtYd") (width 0.05) (tstamp 0f2b57ce-becb-4f2f-8f4d-4eab2bba7413))
(fp_line (start -4.4 3.6) (end 4.4 3.6) (layer "F.CrtYd") (width 0.05) (tstamp 65f03043-2251-4a6c-a9bc-bbe2d22c73f6))
(fp_line (start -4.4 -3.6) (end -4.4 3.6) (layer "F.CrtYd") (width 0.05) (tstamp a6d137ee-40b0-492a-8821-9d191ed062c3))
(fp_line (start 4.4 3.6) (end 4.4 -3.6) (layer "F.CrtYd") (width 0.05) (tstamp cd10a249-288f-4f34-93ae-dd146b31559f))
(fp_line (start 1.85 -3.35) (end 1.85 3.35) (layer "F.Fab") (width 0.1) (tstamp 3d591219-5029-47e5-a59f-015b1fac2a2a))
(fp_line (start -1.85 -2.3) (end -1.85 3.35) (layer "F.Fab") (width 0.1) (tstamp 44a005f5-bd8b-4f54-a62e-4614dd0ebd70))
(fp_line (start -0.8 -3.35) (end 1.85 -3.35) (layer "F.Fab") (width 0.1) (tstamp c2036dec-8325-4ee7-8636-a588cb30ecc8))
(fp_line (start -1.85 3.35) (end 1.85 3.35) (layer "F.Fab") (width 0.1) (tstamp d0bd5a0c-4faa-4fb5-a074-35557b039fd6))
(fp_line (start -1.85 -2.3) (end -0.8 -3.35) (layer "F.Fab") (width 0.1) (tstamp e5aea81b-7dad-4c3e-a83c-39ebf78d1b33))
(pad "1" smd rect locked (at -3.15 -2.3) (size 2 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "Net-(Q1-Pad1)") (tstamp 8dd6ec5b-36ab-4a51-9716-46eb947e061b))
(pad "2" smd rect locked (at -3.15 0) (size 2 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 4 "/Col") (tstamp 91fd9426-e45a-41dd-8907-cc23c245562a))
(pad "3" smd rect locked (at -3.15 2.3) (size 2 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 5 "/Base") (tstamp 0870e95f-87b5-4c03-a6f8-c9ec9c12d8aa))
(pad "4" smd rect locked (at 3.15 0) (size 2 3.8) (layers "F.Cu" "F.Paste" "F.Mask")
(net 4 "/Col") (tstamp 7e7c5bb1-cba4-48ad-af25-a1a82074dbcb))
(model "${KISYS3DMOD}/Package_TO_SOT_SMD.3dshapes/SOT-223.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder" (layer "F.Cu")
(tedit 59FE48B8) (tstamp 00000000-0000-0000-0000-00005c4da33b)
(at 161.8 107 180)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(path "/00000000-0000-0000-0000-00005c4db1e1")
(attr smd)
(fp_text reference "R1" (at 0 -1.85 180) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 2870121a-f682-417b-a5d0-4128343a1f82)
)
(fp_text value "10k" (at 0 1.85 180) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp eecc9e1f-91e5-4d22-9bd6-1a80a13bab90)
)
(fp_text user "${REFERENCE}" (at 0 0 180) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp 3903f11f-7035-4361-b84e-e45a84470464)
)
(fp_line (start -0.15 -0.71) (end 0.15 -0.71) (layer "F.SilkS") (width 0.12) (tstamp baa8afc5-8484-4902-b495-24759c15a8e9))
(fp_line (start -0.15 0.71) (end 0.15 0.71) (layer "F.SilkS") (width 0.12) (tstamp c15ea63d-1c22-4610-b706-8606af038748))
(fp_line (start -1.86 1) (end -1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp 9f15672e-5ab8-49fd-9397-c3314b261205))
(fp_line (start -1.86 -1) (end 1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp d12719bf-ef61-4aeb-a773-2febc6483f34))
(fp_line (start 1.86 1) (end -1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp e49fc70b-bcbf-4322-8728-6ff74d19d8e7))
(fp_line (start 1.86 -1) (end 1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp ec355207-d030-4b8d-9870-ea5924c3ba6c))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 11cf4d97-a915-4215-8dc5-6dd88a951c0e))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp afee5f70-b183-40c4-9744-8e3b7517eb88))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp cba27e3c-e4d6-40ea-aad8-06a73760e700))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp f69cddd4-b9c1-4a45-b7ae-74a9fe113eb3))
(pad "1" smd rect locked (at -1.0425 0 180) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 2 "Net-(R1-Pad1)") (tstamp 34cd16db-acda-492f-89dc-e3376b66736e))
(pad "2" smd rect locked (at 1.0425 0 180) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 5 "/Base") (tstamp e46dfc07-b56e-42ef-a273-d07a93a0ffd2))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder" (layer "F.Cu")
(tedit 59FE48B8) (tstamp 00000000-0000-0000-0000-00005c4da34c)
(at 157.2 101.6 90)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(path "/00000000-0000-0000-0000-00005c4db649")
(attr smd)
(fp_text reference "R2" (at 0 -1.85 90) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 276ff7bf-bedc-4ba9-98bf-717c70bb2abc)
)
(fp_text value "1k" (at 0 1.85 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 9c325923-1f42-472d-875a-d8eac27079f0)
)
(fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp 03464b95-80e9-45c1-b07e-366b9e5c343b)
)
(fp_line (start -0.15 0.71) (end 0.15 0.71) (layer "F.SilkS") (width 0.12) (tstamp a20ad903-99f9-4189-9af6-47c5c0090ceb))
(fp_line (start -0.15 -0.71) (end 0.15 -0.71) (layer "F.SilkS") (width 0.12) (tstamp bb4ad878-1f4b-4954-8935-912aad8084ab))
(fp_line (start 1.86 -1) (end 1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp 35df5060-3ad6-4b8f-8609-736af36e8c08))
(fp_line (start -1.86 1) (end -1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp 8777511d-5561-4466-aefb-843504549cac))
(fp_line (start -1.86 -1) (end 1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp bfe495a3-4b23-4cae-8bff-906c85acd2e7))
(fp_line (start 1.86 1) (end -1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp cfe30b8b-314c-4c12-9f8d-4da7ebc396d1))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 2284166e-1ad5-460e-b196-6fb0c2090d68))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 39c65d5a-c5ea-4256-9390-54a070fe69c7))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp 4676eba2-d4f5-4f5f-bc02-6beb652431e0))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp 74b1c130-5903-42b0-bccb-c1d3aa17b082))
(pad "1" smd rect locked (at -1.0425 0 90) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 5 "/Base") (tstamp af68c145-dd26-4876-92cb-88fe106a4bb9))
(pad "2" smd rect locked (at 1.0425 0 90) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 3 "Net-(R2-Pad2)") (tstamp 3910f9b6-f877-409b-82d0-0612fd690b97))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder" (layer "F.Cu")
(tedit 59FE48B8) (tstamp 00000000-0000-0000-0000-00005c4da35d)
(at 166.6 107)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(path "/00000000-0000-0000-0000-00005c4dc295")
(attr smd)
(fp_text reference "R3" (at 0 -1.85) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 0d710ac0-a6a1-4ea2-a57b-9b499be3e12b)
)
(fp_text value "100R" (at 0 1.85) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 5724599b-b2a2-450a-9b6d-feb0999a4bb5)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp ce84f543-001c-459f-80c0-335b54a78dda)
)
(fp_line (start -0.15 -0.71) (end 0.15 -0.71) (layer "F.SilkS") (width 0.12) (tstamp a1989530-346b-4d10-befc-ea43e77c8bfc))
(fp_line (start -0.15 0.71) (end 0.15 0.71) (layer "F.SilkS") (width 0.12) (tstamp a641f187-c2f9-4afa-8a55-f0b4f7258084))
(fp_line (start 1.86 -1) (end 1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp 838c7e86-1797-417a-bec4-b5eb43893624))
(fp_line (start 1.86 1) (end -1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp ac197212-9353-4b06-83e4-93fa2d7d3ab6))
(fp_line (start -1.86 1) (end -1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp d1cb577f-a39d-4737-8e93-32a52affbf29))
(fp_line (start -1.86 -1) (end 1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp e8c41c17-9afd-4be2-ba0b-a44b48edea41))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 0cd4c179-8d5e-4ed0-b274-326500fc4644))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 5b67f3de-c4ed-4420-a5de-03abed8e32bd))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp 7ad6d1ec-7390-490f-bb06-b4c60a4a1292))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp baba50a8-58ba-441d-8f54-2febe898e9e2))
(pad "1" smd rect locked (at -1.0425 0) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 2 "Net-(R1-Pad1)") (tstamp e83d280c-5cf6-4767-88bd-a6188c4a6a7b))
(pad "2" smd rect locked (at 1.0425 0) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 4 "/Col") (tstamp 865c2593-6f79-4c01-9efc-610d3a620136))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder" (layer "F.Cu")
(tedit 59FE48B8) (tstamp 00000000-0000-0000-0000-00005c4da36e)
(at 157.2 97.4 -90)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(path "/00000000-0000-0000-0000-00005c4db921")
(attr smd)
(fp_text reference "R4" (at 0 -1.85 -90) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 6cd8057a-c885-41ef-86a9-1a1d4e7deb3d)
)
(fp_text value "10R" (at 0 1.85 -90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp fad080c3-0a5a-4338-b762-fd8479e37c25)
)
(fp_text user "${REFERENCE}" (at 0 0 -90) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp 363b7405-c042-4652-a60e-8e45ac4c1d8a)
)
(fp_line (start -0.15 0.71) (end 0.15 0.71) (layer "F.SilkS") (width 0.12) (tstamp 7a9a4449-d484-4a64-bb06-7b0521581269))
(fp_line (start -0.15 -0.71) (end 0.15 -0.71) (layer "F.SilkS") (width 0.12) (tstamp f77605c2-e1ef-433c-8146-35b187a110ba))
(fp_line (start 1.86 -1) (end 1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp 1a4dd4e9-5813-44d2-bde4-8ee429081ffd))
(fp_line (start 1.86 1) (end -1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp b850a46e-99be-4d50-b440-b6d9fc2f0c0f))
(fp_line (start -1.86 1) (end -1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp bac5cbdc-4333-418c-a23d-8e96e34ca7a2))
(fp_line (start -1.86 -1) (end 1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp d416e510-c7fd-4a32-be4b-d211d0aa1fe2))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp 5144807d-2f5b-463e-8cfe-9ee1c44db19a))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 8378a10f-d633-41be-98ae-9c334532663c))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp 9b3f1a45-2bf4-4d44-be46-7ad0056fb5dd))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp f5927d29-7482-468f-9c25-94715108d341))
(pad "1" smd rect locked (at -1.0425 0 270) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 1 "Net-(Q1-Pad1)") (tstamp 665bf60e-7a5a-4841-8c96-c439058aad1a))
(pad "2" smd rect locked (at 1.0425 0 270) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 3 "Net-(R2-Pad2)") (tstamp 9eb2bce1-e4ff-4048-81d7-48682b18ce97))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.50mm_HandSolder" (layer "F.Cu")
(tedit 59FE48B8) (tstamp 00000000-0000-0000-0000-00005c4da5f4)
(at 166.6 110.8)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(path "/00000000-0000-0000-0000-00005c4dde0e")
(attr smd)
(fp_text reference "R5" (at 0 -1.85) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 9712f651-bc59-4dc0-9093-05a2fe63bb0b)
)
(fp_text value "10k" (at 0 1.85) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 09116ecb-276c-4281-a2b9-65077bd480b8)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp c9191864-5c89-4491-9ea1-a8e8e29c42ac)
)
(fp_line (start -0.15 -0.71) (end 0.15 -0.71) (layer "F.SilkS") (width 0.12) (tstamp 8efd1c98-bc9f-441e-b61c-6c566a1a365c))
(fp_line (start -0.15 0.71) (end 0.15 0.71) (layer "F.SilkS") (width 0.12) (tstamp ad3c719e-d537-4596-a89b-194c71cda41d))
(fp_line (start -1.86 -1) (end 1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp 5c0768c2-2d54-463a-b60f-7f361a836a56))
(fp_line (start -1.86 1) (end -1.86 -1) (layer "F.CrtYd") (width 0.05) (tstamp 92d11223-9b55-4f0c-b879-56d51c763ffd))
(fp_line (start 1.86 -1) (end 1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp 979067ea-8072-4038-9a3b-8c629a169112))
(fp_line (start 1.86 1) (end -1.86 1) (layer "F.CrtYd") (width 0.05) (tstamp b018a3a5-0c91-4027-8233-98ce5ec45d30))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 16eddeda-68b8-4e1c-920e-41c3cba948da))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp 725aecc5-b4ea-4844-b3fe-bac28bd34111))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp 85d05dbb-9c14-495a-a605-1e3c1318462b))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 930ae48b-2706-40b3-ae1a-dcd530d74e1c))
(pad "1" smd rect locked (at -1.0425 0) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 2 "Net-(R1-Pad1)") (tstamp e83263a6-caa4-48f1-a02f-e8eb73d8cac2))
(pad "2" smd rect locked (at 1.0425 0) (size 1.145 1.5) (layers "F.Cu" "F.Paste" "F.Mask")
(net 3 "Net-(R2-Pad2)") (tstamp 1f5aad1d-3efd-4cb5-9494-4d57f3d3be39))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_line (start 180 115) (end 180 90) (layer "Edge.Cuts") (width 0.1) (tstamp 178a43a7-473f-4625-bb05-dc03c42e6846))
(gr_line (start 150 115) (end 180 115) (layer "Edge.Cuts") (width 0.1) (tstamp 3be9ec71-66b6-40f2-a4b9-5a9bfb1c9f31))
(gr_line (start 180 90) (end 150 90) (layer "Edge.Cuts") (width 0.1) (tstamp 8b77faf3-ad1d-4168-b354-1c78c7ca05e2))
(gr_line (start 150 90) (end 150 115) (layer "Edge.Cuts") (width 0.1) (tstamp e7750296-5c46-431d-a38b-e12b7a9ea47e))
(segment (start 157.2 96.3575) (end 160.1075 96.3575) (width 0.25) (layer "F.Cu") (net 1) (tstamp d2643ca8-9e5e-45c1-a476-0e8c7a189c6a))
(segment (start 160.1075 96.3575) (end 160.875001 97.125001) (width 0.25) (layer "F.Cu") (net 1) (tstamp d3f74174-d609-4733-bcbc-1b7e33ed5eb9))
(segment (start 160.875001 97.125001) (end 160.875001 98.125001) (width 0.25) (layer "F.Cu") (net 1) (tstamp fbe45ed4-3fc9-4925-a017-7d4e11587db5))
(segment (start 162.8425 107) (end 165.5575 107) (width 0.25) (layer "F.Cu") (net 2) (tstamp 16a4d0e5-2175-4413-a5dc-0f72bbaff2a2))
(segment (start 165.5575 107) (end 165.5575 110.8) (width 0.25) (layer "F.Cu") (net 2) (tstamp 54dcdcf5-7ddb-4ae0-961e-782016b347da))
(segment (start 167.6425 109.3075) (end 167.65 109.3) (width 0.25) (layer "F.Cu") (net 3) (tstamp 2ff3869f-5789-4277-8b41-9911cc956467))
(segment (start 157.2 98.4425) (end 157.2 99.5) (width 0.25) (layer "F.Cu") (net 3) (tstamp 51d237ed-de25-4de1-84df-3bf6b7ed057c))
(segment (start 157.2 99.5) (end 157.2 100.5575) (width 0.25) (layer "F.Cu") (net 3) (tstamp 8bb8f726-b137-4938-a7db-a80a96ffa19a))
(segment (start 167.6425 110.8) (end 167.6425 109.3075) (width 0.25) (layer "F.Cu") (net 3) (tstamp c91d21a8-5046-45b3-ba1f-8e1dcb4bea99))
(via (at 167.65 109.3) (size 0.6) (drill 0.3) (layers "F.Cu" "B.Cu") (net 3) (tstamp 572dd324-0162-4df2-9022-7130c22dc3be))
(via (at 157.2 99.5) (size 0.6) (drill 0.2) (layers "F.Cu" "B.Cu") (net 3) (tstamp adfcf048-9f2c-4268-b7b0-b7c5abacf002))
(segment (start 157.85 99.5) (end 157.2 99.5) (width 0.25) (layer "B.Cu") (net 3) (tstamp d676ce00-a909-4ee9-b5a6-8e443efbf6d5))
(segment (start 167.65 109.3) (end 157.85 99.5) (width 0.25) (layer "B.Cu") (net 3) (tstamp fa5cedf0-191e-4dad-afc2-a5e3136d0448))
(segment (start 167.6425 107) (end 167.6425 100.8925) (width 0.25) (layer "F.Cu") (net 4) (tstamp 8e36d11d-0d8c-4651-b802-87ef8e862c0a))
(segment (start 167.6425 100.8925) (end 167.175001 100.425001) (width 0.25) (layer "F.Cu") (net 4) (tstamp efc70bbe-3613-40d4-a586-49b84f1e94f2))
(segment (start 160.875001 102.725001) (end 160.875001 106.882499) (width 0.25) (layer "F.Cu") (net 5) (tstamp 17a10da7-f11c-4a63-b666-3c45e6930e49))
(segment (start 157.2 102.6425) (end 160.7925 102.6425) (width 0.25) (layer "F.Cu") (net 5) (tstamp 33a11575-0e96-4651-ba77-dd31c5b12091))
(segment (start 160.7925 102.6425) (end 160.875001 102.725001) (width 0.25) (layer "F.Cu") (net 5) (tstamp 5965873e-ec05-4434-9ddc-2665e622b891))
(segment (start 160.875001 106.882499) (end 160.7575 107) (width 0.25) (layer "F.Cu") (net 5) (tstamp 77db6e51-9eb2-4c82-b984-bdb63e5bf783))
(zone (net 4) (net_name "/Col") (layer "F.Cu") (tstamp a1be23ff-bf91-4801-a9d7-cb81688eaa18) (hatch edge 0.508)
(priority 2)
(connect_pads thru_hole_only (clearance 0.508))
(min_thickness 0.254)
(fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 154.2 94.5)
(xy 169 94.5)
(xy 165 110.1)
(xy 154.2 110.1)
)
)
(filled_polygon
(layer "F.Cu")
(pts
(xy 166.01968 105.611928)
(xy 164.985 105.611928)
(xy 164.860518 105.624188)
(xy 164.74082 105.660498)
(xy 164.630506 105.719463)
(xy 164.533815 105.798815)
(xy 164.454463 105.895506)
(xy 164.395498 106.00582)
(xy 164.359188 106.125518)
(xy 164.347913 106.24)
(xy 164.052087 106.24)
(xy 164.040812 106.125518)
(xy 164.004502 106.00582)
(xy 163.945537 105.895506)
(xy 163.866185 105.798815)
(xy 163.769494 105.719463)
(xy 163.65918 105.660498)
(xy 163.539482 105.624188)
(xy 163.415 105.611928)
(xy 162.27 105.611928)
(xy 162.145518 105.624188)
(xy 162.02582 105.660498)
(xy 161.915506 105.719463)
(xy 161.818815 105.798815)
(xy 161.8 105.821741)
(xy 161.781185 105.798815)
(xy 161.684494 105.719463)
(xy 161.635001 105.693008)
(xy 161.635001 104.113073)
(xy 161.875001 104.113073)
(xy 161.999483 104.100813)
(xy 162.119181 104.064503)
(xy 162.229495 104.005538)
(xy 162.326186 103.926186)
(xy 162.405538 103.829495)
(xy 162.464503 103.719181)
(xy 162.500813 103.599483)
(xy 162.513073 103.475001)
(xy 162.513073 101.975001)
(xy 162.500813 101.850519)
(xy 162.464503 101.730821)
(xy 162.405538 101.620507)
(xy 162.326186 101.523816)
(xy 162.229495 101.444464)
(xy 162.119181 101.385499)
(xy 161.999483 101.349189)
(xy 161.875001 101.336929)
(xy 159.875001 101.336929)
(xy 159.750519 101.349189)
(xy 159.630821 101.385499)
(xy 159.520507 101.444464)
(xy 159.423816 101.523816)
(xy 159.344464 101.620507)
(xy 159.285499 101.730821)
(xy 159.249189 101.850519)
(xy 159.246039 101.8825)
(xy 158.556696 101.8825)
(xy 158.539502 101.82582)
(xy 158.480537 101.715506)
(xy 158.401185 101.618815)
(xy 158.378259 101.6)
(xy 158.401185 101.581185)
(xy 158.480537 101.484494)
(xy 158.539502 101.37418)
(xy 158.575812 101.254482)
(xy 158.588072 101.13)
(xy 158.588072 99.985)
(xy 158.575812 99.860518)
(xy 158.539502 99.74082)
(xy 158.480537 99.630506)
(xy 158.401185 99.533815)
(xy 158.359981 99.5)
(xy 158.401185 99.466185)
(xy 158.480537 99.369494)
(xy 158.539502 99.25918)
(xy 158.575812 99.139482)
(xy 158.588072 99.015)
(xy 158.588072 97.87)
(xy 158.575812 97.745518)
(xy 158.539502 97.62582)
(xy 158.480537 97.515506)
(xy 158.401185 97.418815)
(xy 158.378259 97.4)
(xy 158.401185 97.381185)
(xy 158.480537 97.284494)
(xy 158.539502 97.17418)
(xy 158.556696 97.1175)
(xy 159.292619 97.1175)
(xy 159.285499 97.130821)
(xy 159.249189 97.250519)
(xy 159.236929 97.375001)
(xy 159.236929 98.875001)
(xy 159.249189 98.999483)
(xy 159.285499 99.119181)
(xy 159.344464 99.229495)
(xy 159.423816 99.326186)
(xy 159.520507 99.405538)
(xy 159.630821 99.464503)
(xy 159.750519 99.500813)
(xy 159.875001 99.513073)
(xy 161.875001 99.513073)
(xy 161.999483 99.500813)
(xy 162.119181 99.464503)
(xy 162.229495 99.405538)
(xy 162.326186 99.326186)
(xy 162.405538 99.229495)
(xy 162.464503 99.119181)
(xy 162.500813 98.999483)
(xy 162.513073 98.875001)
(xy 162.513073 97.375001)
(xy 162.500813 97.250519)
(xy 162.464503 97.130821)
(xy 162.405538 97.020507)
(xy 162.326186 96.923816)
(xy 162.229495 96.844464)
(xy 162.119181 96.785499)
(xy 161.999483 96.749189)
(xy 161.875001 96.736929)
(xy 161.529327 96.736929)
(xy 161.509975 96.700725)
(xy 161.415002 96.585)
(xy 161.386005 96.561203)
(xy 160.671303 95.846502)
(xy 160.647501 95.817499)
(xy 160.531776 95.722526)
(xy 160.399747 95.651954)
(xy 160.256486 95.608497)
(xy 160.144833 95.5975)
(xy 160.144822 95.5975)
(xy 160.1075 95.593824)
(xy 160.070178 95.5975)
(xy 158.556696 95.5975)
(xy 158.539502 95.54082)
(xy 158.480537 95.430506)
(xy 158.401185 95.333815)
(xy 158.304494 95.254463)
(xy 158.19418 95.195498)
(xy 158.074482 95.159188)
(xy 157.95 95.146928)
(xy 156.45 95.146928)
(xy 156.325518 95.159188)
(xy 156.20582 95.195498)
(xy 156.095506 95.254463)
(xy 155.998815 95.333815)
(xy 155.919463 95.430506)
(xy 155.860498 95.54082)
(xy 155.824188 95.660518)
(xy 155.811928 95.785)
(xy 155.811928 96.93)
(xy 155.824188 97.054482)
(xy 155.860498 97.17418)
(xy 155.919463 97.284494)
(xy 155.998815 97.381185)
(xy 156.021741 97.4)
(xy 155.998815 97.418815)
(xy 155.919463 97.515506)
(xy 155.860498 97.62582)
(xy 155.824188 97.745518)
(xy 155.811928 97.87)
(xy 155.811928 99.015)
(xy 155.824188 99.139482)
(xy 155.860498 99.25918)
(xy 155.919463 99.369494)
(xy 155.998815 99.466185)
(xy 156.040019 99.5)
(xy 155.998815 99.533815)
(xy 155.919463 99.630506)
(xy 155.860498 99.74082)
(xy 155.824188 99.860518)
(xy 155.811928 99.985)
(xy 155.811928 101.13)
(xy 155.824188 101.254482)
(xy 155.860498 101.37418)
(xy 155.919463 101.484494)
(xy 155.998815 101.581185)
(xy 156.021741 101.6)
(xy 155.998815 101.618815)
(xy 155.919463 101.715506)
(xy 155.860498 101.82582)
(xy 155.824188 101.945518)
(xy 155.811928 102.07)
(xy 155.811928 103.215)
(xy 155.824188 103.339482)
(xy 155.860498 103.45918)
(xy 155.919463 103.569494)
(xy 155.998815 103.666185)
(xy 156.095506 103.745537)
(xy 156.20582 103.804502)
(xy 156.325518 103.840812)
(xy 156.45 103.853072)
(xy 157.95 103.853072)
(xy 158.074482 103.840812)
(xy 158.19418 103.804502)
(xy 158.304494 103.745537)
(xy 158.401185 103.666185)
(xy 158.480537 103.569494)
(xy 158.539502 103.45918)
(xy 158.556696 103.4025)
(xy 159.236929 103.4025)
(xy 159.236929 103.475001)
(xy 159.249189 103.599483)
(xy 159.285499 103.719181)
(xy 159.344464 103.829495)
(xy 159.423816 103.926186)
(xy 159.520507 104.005538)
(xy 159.630821 104.064503)
(xy 159.750519 104.100813)
(xy 159.875001 104.113073)
(xy 160.115001 104.113073)
(xy 160.115002 105.618822)
(xy 160.060518 105.624188)
(xy 159.94082 105.660498)
(xy 159.830506 105.719463)
(xy 159.733815 105.798815)
(xy 159.654463 105.895506)
(xy 159.595498 106.00582)
(xy 159.559188 106.125518)
(xy 159.546928 106.25)
(xy 159.546928 107.75)
(xy 159.559188 107.874482)
(xy 159.595498 107.99418)
(xy 159.654463 108.104494)
(xy 159.733815 108.201185)
(xy 159.830506 108.280537)
(xy 159.94082 108.339502)
(xy 160.060518 108.375812)
(xy 160.185 108.388072)
(xy 161.33 108.388072)
(xy 161.454482 108.375812)
(xy 161.57418 108.339502)
(xy 161.684494 108.280537)
(xy 161.781185 108.201185)
(xy 161.8 108.178259)
(xy 161.818815 108.201185)
(xy 161.915506 108.280537)
(xy 162.02582 108.339502)
(xy 162.145518 108.375812)
(xy 162.27 108.388072)
(xy 163.415 108.388072)
(xy 163.539482 108.375812)
(xy 163.65918 108.339502)
(xy 163.769494 108.280537)
(xy 163.866185 108.201185)
(xy 163.945537 108.104494)
(xy 164.004502 107.99418)
(xy 164.040812 107.874482)
(xy 164.052087 107.76)
(xy 164.347913 107.76)
(xy 164.359188 107.874482)
(xy 164.395498 107.99418)
(xy 164.454463 108.104494)
(xy 164.533815 108.201185)
(xy 164.630506 108.280537)
(xy 164.74082 108.339502)
(xy 164.7975 108.356696)
(xy 164.797501 109.443304)
(xy 164.74082 109.460498)
(xy 164.630506 109.519463)
(xy 164.533815 109.598815)
(xy 164.454463 109.695506)
(xy 164.395498 109.80582)
(xy 164.359188 109.925518)
(xy 164.354512 109.973)
(xy 154.327 109.973)
(xy 154.327 94.627)
(xy 168.836328 94.627)
)
)
)
)

184
qa/data/issue2528.kicad_pro Normal file
View File

@ -0,0 +1,184 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.09999999999999999,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.6,
"height": 1.5,
"width": 1.5
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"meta": {
"filename": "board_design_settings.json",
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rule_severitieslegacy_courtyards_overlap": true,
"rule_severitieslegacy_no_courtyard_defined": false,
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.049999999999999996,
"min_hole_clearance": 0.0,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
},
{
"diameter": 0.6,
"drill": 0.3
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "issue2528.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.6,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 1
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "Test.net",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"legacy_lib_dir": "",
"legacy_lib_list": []
},
"sheets": [],
"text_variables": {}
}

View File

@ -84,7 +84,7 @@
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "error",
"silk_over_copper": "ignore",
"silk_overlap": "error",
"skew_out_of_range": "error",
"too_many_vias": "error",

445
qa/data/issue5313.kicad_pcb Executable file
View File

@ -0,0 +1,445 @@
(kicad_pcb (version 20200819) (host pcbnew "(5.99.0-2928-gf95651841)")
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.Cu" signal)
(31 "B.Cu" signal)
(32 "B.Adhes" user)
(33 "F.Adhes" user)
(34 "B.Paste" user)
(35 "F.Paste" user)
(36 "B.SilkS" user)
(37 "F.SilkS" user)
(38 "B.Mask" user)
(39 "F.Mask" user)
(40 "Dwgs.User" user)
(41 "Cmts.User" user)
(42 "Eco1.User" user)
(43 "Eco2.User" user)
(44 "Edge.Cuts" user)
(45 "Margin" user)
(46 "B.CrtYd" user)
(47 "F.CrtYd" user)
(48 "B.Fab" user)
(49 "F.Fab" user)
)
(setup
(pcbplotparams
(layerselection 0x010fc_ffffffff)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(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 "")
(net 1 "Net-(R1-Pad2)")
(net 2 "Net-(R1-Pad1)")
(net 3 "Net-(R2-Pad1)")
(module "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu") (tedit 5B301BBD) (tstamp 2e35e56e-39f2-4e13-a89c-33e461318e9a)
(at 111.506 80.814)
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Sheet file" "/home/dom/Downloads/test/test.kicad_sch")
(property "Sheet name" "")
(path "/1d21652e-0afd-4478-9568-7a8f5cff3100")
(attr smd)
(fp_text reference "R2" (at 0 -1.17) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 2608013f-c60b-4903-8df3-ce47a61306c4)
)
(fp_text value "R_Small" (at 0 1.17) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 15494b9a-f470-4197-ad3b-0b6d97808b23)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.25 0.25) (thickness 0.04)))
(tstamp 34e274c3-95e2-4821-920e-a3048fcf9646)
)
(fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 08f25d02-c11d-4b34-8011-ab383f95d7a1))
(fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 7aee03de-bbcd-41a7-974e-22f66503898e))
(fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 84118b63-1ccc-431c-8f94-70cc152141fd))
(fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 9b5b55f1-cdfc-46ee-9072-40ab8e269d54))
(fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp 3d4c44b3-a350-4f64-820e-e2815c9c62d3))
(fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 8f617df1-1490-4d84-9cb4-a56f4057882c))
(fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp b2a0f501-c07d-4d4d-8d12-bb2b32044306))
(fp_line (start 0.5 0.25) (end -0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp bea4d8e9-184c-47c5-85e1-c6b4d14d07b6))
(pad "1" smd roundrect (at -0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 3 "Net-(R2-Pad1)") (tstamp 08634bb5-252a-4644-975b-554b5d0b7e90))
(pad "2" smd roundrect (at 0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "Net-(R1-Pad2)") (tstamp 049859c8-78ff-420a-9dca-24bbecdc6125))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu") (tedit 5B301BBD) (tstamp 67a9540f-ec44-4aea-b54f-9e5d1b243986)
(at 111.506 82.804)
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Sheet file" "/home/dom/Downloads/test/test.kicad_sch")
(property "Sheet name" "")
(path "/274977f8-da1c-43c6-8429-27b99eb50048")
(attr smd)
(fp_text reference "R1" (at 0 -1.17) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp c5e9515e-fe30-406b-946f-78aa2287a2b2)
)
(fp_text value "R_Small" (at 0 1.17) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 843d10ec-0bf7-43d3-9c40-ec5b295ab15f)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.25 0.25) (thickness 0.04)))
(tstamp 07fa7917-52dd-4b3f-95b2-a651606cd61c)
)
(fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 1709022a-1afb-4388-80b7-c1622545d5b5))
(fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 982f110a-e2dd-4179-88fc-7d0232e6cc06))
(fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp b8ba2f0a-f67a-46f8-a399-fafd449dee82))
(fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp d9f0b932-20d5-4274-a8e4-b885e3d96e69))
(fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 21709458-2485-4531-885d-d7c22cc8e7e6))
(fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp 69786e70-889b-425d-990f-50d0ce763842))
(fp_line (start 0.5 0.25) (end -0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp b6f109b1-697d-4408-9828-1e7e1a7cfd42))
(fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp d4712823-4f65-44d7-b341-808aae111cba))
(pad "1" smd roundrect (at -0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "Net-(R1-Pad1)") (tstamp 647ba693-108a-46de-b52d-f093de185a75))
(pad "2" smd roundrect (at 0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "Net-(R1-Pad2)") (tstamp 9e4243f1-8573-419b-93f6-69fab259a67e))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu") (tedit 5B301BBD) (tstamp f67218b8-fb92-4fe7-84fe-804d327d48d1)
(at 114.416 80.814)
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Sheet file" "/home/dom/Downloads/test/test.kicad_sch")
(property "Sheet name" "")
(path "/2e14a2a0-1c04-42c3-9911-e34ceb1f9ad8")
(attr smd)
(fp_text reference "R3" (at 0 -1.17) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 8c78bde3-f538-4fda-94d9-4151c6489f47)
)
(fp_text value "R_Small" (at 0 1.17) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp b8627364-1346-41a2-97de-6a59023bfbe1)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.25 0.25) (thickness 0.04)))
(tstamp 76ec4073-6e0a-4968-b6ad-e5bd1ac12146)
)
(fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 630e66d9-7009-4548-934e-83ab633f8b98))
(fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp a7912eb2-40ab-432e-b2a1-2f941927b43c))
(fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp b5a83110-cf69-42b3-981a-4d97509bbe30))
(fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp e4c6bfb5-dda1-4669-bc12-5d2df7558304))
(fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 112478b0-aff4-4ae0-8c96-08d8c6f3dc47))
(fp_line (start 0.5 0.25) (end -0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp 20aeb361-93b0-4262-bf53-ea45301eb3e6))
(fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp 67a2f96f-6ee4-4fa4-b57f-f6af959a7bec))
(fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 762b8aec-70d1-49eb-a871-8cc0e8f849ea))
(pad "1" smd roundrect (at -0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 3 "Net-(R2-Pad1)") (tstamp 1dec6977-7edb-4e58-9aaf-965641602fe2))
(pad "2" smd roundrect (at 0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "Net-(R1-Pad2)") (tstamp 64e6a021-8cf3-4cdf-bb07-67aa282a1721))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_rect (start 73.8378 65.3288) (end 165.5064 114.554) (layer "Edge.Cuts") (width 0.1) (tstamp 3a43118e-4b4b-4961-8500-c8729a204e86))
(segment (start 114.8588 78.613) (end 114.192 78.613) (width 0.25) (layer "F.Cu") (net 1) (tstamp 1019e655-7cba-45e0-b987-d2115c5676f8))
(segment (start 114.192 78.613) (end 111.991 80.814) (width 0.25) (layer "F.Cu") (net 1) (tstamp 241fb8f4-0106-4da2-95e1-08924968743f))
(segment (start 114.901 78.6552) (end 114.8588 78.613) (width 0.25) (layer "F.Cu") (net 1) (tstamp 5f443ecc-6dc8-4d65-b2d4-2702bf1cb330))
(segment (start 114.901 80.814) (end 114.901 78.6552) (width 0.25) (layer "F.Cu") (net 1) (tstamp ffad814b-0ff2-41ae-90f6-2ece8b4df7ab))
(segment (start 109.728 81.661) (end 109.728 83.1342) (width 0.25) (layer "F.Cu") (net 3) (tstamp 0aeb92fb-b7d4-4745-af62-7f8840eb9dc7))
(segment (start 112.8776 83.82) (end 113.931 82.7666) (width 0.25) (layer "F.Cu") (net 3) (tstamp 1f8a8106-f867-43c0-8011-c4329d79c359))
(segment (start 109.728 83.1342) (end 110.4138 83.82) (width 0.25) (layer "F.Cu") (net 3) (tstamp 552d2183-6b4a-48ac-b7a2-83e116b69a88))
(segment (start 113.931 82.7666) (end 113.931 80.814) (width 0.25) (layer "F.Cu") (net 3) (tstamp 593326f5-d1c7-40f2-a9a6-7fb3932bd744))
(segment (start 110.4138 83.82) (end 112.8776 83.82) (width 0.25) (layer "F.Cu") (net 3) (tstamp 90d8961f-6a71-4b3b-b328-ce0412ab50ca))
(segment (start 110.575 80.814) (end 109.728 81.661) (width 0.25) (layer "F.Cu") (net 3) (tstamp 988b05d5-906a-4504-9abb-d49688a4d719))
(segment (start 111.021 80.814) (end 110.575 80.814) (width 0.25) (layer "F.Cu") (net 3) (tstamp fa845dd2-b8cf-4b8f-9b36-bf547bd2b518))
(zone (net 3) (net_name "Net-(R2-Pad1)") (layer "F.Cu") (tstamp cede45cc-3345-43eb-a4ae-2346c54fbdc8) (hatch edge 0.508)
(connect_pads (clearance 0.508))
(min_thickness 0.254) (filled_areas_thickness no)
(fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 119.126 76.7334)
(xy 118.6434 88.9254)
(xy 105.5878 89.1794)
(xy 105.8672 76.8858)
)
)
(filled_polygon
(layer F.Cu)
(pts
(xy 119.061752 76.754142)
(xy 119.108858 76.80726)
(xy 119.120755 76.8659)
(xy 118.648098 88.806718)
(xy 118.625418 88.873994)
(xy 118.569965 88.918328)
(xy 118.524648 88.92771)
(xy 105.719204 89.176843)
(xy 105.650707 89.15817)
(xy 105.603179 89.105429)
(xy 105.590786 89.048004)
(xy 105.59352 88.92771)
(xy 105.737706 82.583499)
(xy 110.212262 82.583499)
(xy 110.212262 83.014403)
(xy 110.251116 83.219752)
(xy 110.251119 83.219759)
(xy 110.351033 83.392815)
(xy 110.497522 83.528737)
(xy 110.677562 83.61544)
(xy 110.825499 83.637738)
(xy 111.206404 83.637738)
(xy 111.41175 83.598885)
(xy 111.411755 83.598883)
(xy 111.445688 83.579292)
(xy 111.514684 83.562554)
(xy 111.563357 83.574889)
(xy 111.647562 83.61544)
(xy 111.795499 83.637738)
(xy 112.176403 83.637738)
(xy 112.381752 83.598884)
(xy 112.381759 83.598881)
(xy 112.554815 83.498967)
(xy 112.690737 83.352478)
(xy 112.77744 83.172438)
(xy 112.799738 83.024501)
(xy 112.799738 82.593597)
(xy 112.760884 82.388248)
(xy 112.760881 82.388241)
(xy 112.660967 82.215185)
(xy 112.514478 82.079263)
(xy 112.334437 81.99256)
(xy 112.33444 81.99256)
(xy 112.186501 81.970262)
(xy 111.805596 81.970262)
(xy 111.60025 82.009115)
(xy 111.600245 82.009117)
(xy 111.566312 82.028708)
(xy 111.497316 82.045446)
(xy 111.448643 82.033111)
(xy 111.364437 81.99256)
(xy 111.36444 81.99256)
(xy 111.216501 81.970262)
(xy 110.835597 81.970262)
(xy 110.630248 82.009116)
(xy 110.630241 82.009119)
(xy 110.457185 82.109033)
(xy 110.321263 82.255522)
(xy 110.23456 82.435562)
(xy 110.212262 82.583499)
(xy 105.737706 82.583499)
(xy 105.772148 81.068)
(xy 110.220511 81.068)
(xy 110.251116 81.229752)
(xy 110.251119 81.229759)
(xy 110.351033 81.402815)
(xy 110.497522 81.538737)
(xy 110.677562 81.62544)
(xy 110.767 81.63892)
(xy 110.767 81.068)
(xy 110.220511 81.068)
(xy 105.772148 81.068)
(xy 105.782932 80.593499)
(xy 111.182262 80.593499)
(xy 111.182262 81.024403)
(xy 111.221116 81.229752)
(xy 111.221119 81.229759)
(xy 111.258119 81.293845)
(xy 111.275 81.356845)
(xy 111.275 81.634759)
(xy 111.411753 81.608883)
(xy 111.411759 81.608881)
(xy 111.445688 81.589292)
(xy 111.514684 81.572554)
(xy 111.563357 81.584889)
(xy 111.647562 81.62544)
(xy 111.795499 81.647738)
(xy 112.176403 81.647738)
(xy 112.381752 81.608884)
(xy 112.381759 81.608881)
(xy 112.554815 81.508967)
(xy 112.690737 81.362478)
(xy 112.77744 81.182438)
(xy 112.794688 81.068)
(xy 113.130511 81.068)
(xy 113.161116 81.229752)
(xy 113.161119 81.229759)
(xy 113.261033 81.402815)
(xy 113.407522 81.538737)
(xy 113.587562 81.62544)
(xy 113.677 81.63892)
(xy 113.677 81.068)
(xy 113.130511 81.068)
(xy 112.794688 81.068)
(xy 112.799738 81.034501)
(xy 112.799738 80.952648)
(xy 112.836643 80.863553)
(xy 113.103291 80.596905)
(xy 113.192386 80.56)
(xy 113.677 80.56)
(xy 113.677 80.075387)
(xy 113.713905 79.986292)
(xy 114.052905 79.647292)
(xy 114.115217 79.613266)
(xy 114.186032 79.618331)
(xy 114.242868 79.660878)
(xy 114.268 79.736387)
(xy 114.268 79.85985)
(xy 114.247998 79.927971)
(xy 114.224189 79.955354)
(xy 114.185 79.989079)
(xy 114.185 80.270534)
(xy 114.172522 80.325203)
(xy 114.11456 80.445562)
(xy 114.092262 80.593499)
(xy 114.092262 81.024403)
(xy 114.131116 81.229752)
(xy 114.131119 81.229759)
(xy 114.168119 81.293845)
(xy 114.185 81.356845)
(xy 114.185 81.634759)
(xy 114.321753 81.608883)
(xy 114.321759 81.608881)
(xy 114.355688 81.589292)
(xy 114.424684 81.572554)
(xy 114.473357 81.584889)
(xy 114.557562 81.62544)
(xy 114.705499 81.647738)
(xy 115.086403 81.647738)
(xy 115.291752 81.608884)
(xy 115.291759 81.608881)
(xy 115.464815 81.508967)
(xy 115.600737 81.362478)
(xy 115.68744 81.182438)
(xy 115.709738 81.034501)
(xy 115.709738 80.603597)
(xy 115.670884 80.398248)
(xy 115.670881 80.398241)
(xy 115.570969 80.225187)
(xy 115.56508 80.217803)
(xy 115.568529 80.215052)
(xy 115.534 80.135911)
(xy 115.534 78.554944)
(xy 115.521477 78.516403)
(xy 115.516861 78.497174)
(xy 115.510523 78.457154)
(xy 115.510523 78.457153)
(xy 115.492125 78.421044)
(xy 115.484559 78.402779)
(xy 115.472038 78.364243)
(xy 115.44822 78.33146)
(xy 115.437891 78.314604)
(xy 115.419493 78.278497)
(xy 115.419489 78.278491)
(xy 115.235509 78.094511)
(xy 115.235503 78.094507)
(xy 115.199396 78.076109)
(xy 115.18254 78.06578)
(xy 115.14976 78.041964)
(xy 115.149754 78.041962)
(xy 115.111225 78.029443)
(xy 115.092955 78.021876)
(xy 115.056845 78.003476)
(xy 115.016816 77.997137)
(xy 114.997589 77.992521)
(xy 114.959056 77.980001)
(xy 114.913833 77.980001)
(xy 114.913809 77.98)
(xy 114.136991 77.98)
(xy 114.136967 77.980001)
(xy 114.091742 77.980001)
(xy 114.053211 77.992521)
(xy 114.033986 77.997137)
(xy 113.993952 78.003478)
(xy 113.957847 78.021875)
(xy 113.939576 78.029443)
(xy 113.90104 78.041964)
(xy 113.901037 78.041965)
(xy 113.868258 78.065781)
(xy 113.851399 78.076113)
(xy 113.815295 78.094509)
(xy 113.815292 78.094511)
(xy 113.779626 78.130177)
(xy 111.966447 79.943357)
(xy 111.877352 79.980262)
(xy 111.805596 79.980262)
(xy 111.60025 80.019115)
(xy 111.600245 80.019117)
(xy 111.566312 80.038708)
(xy 111.497316 80.055446)
(xy 111.448643 80.043111)
(xy 111.364437 80.00256)
(xy 111.364439 80.00256)
(xy 111.275 79.98908)
(xy 111.275 80.270534)
(xy 111.262522 80.325203)
(xy 111.20456 80.445562)
(xy 111.182262 80.593499)
(xy 105.782932 80.593499)
(xy 105.783694 80.56)
(xy 110.21731 80.56)
(xy 110.767 80.56)
(xy 110.767 79.993241)
(xy 110.630247 80.019117)
(xy 110.630241 80.019119)
(xy 110.457185 80.119033)
(xy 110.321263 80.265522)
(xy 110.23456 80.445562)
(xy 110.21731 80.56)
(xy 105.783694 80.56)
(xy 105.864433 77.007529)
(xy 105.885977 76.939881)
(xy 105.940675 76.89462)
(xy 105.988952 76.884401)
(xy 117.321446 76.754142)
(xy 118.993406 76.734924)
)
)
)
)

460
qa/data/issue5750.kicad_pcb Normal file
View File

@ -0,0 +1,460 @@
(kicad_pcb (version 20200916) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.Cu" signal)
(31 "B.Cu" signal)
(32 "B.Adhes" user)
(33 "F.Adhes" user)
(34 "B.Paste" user)
(35 "F.Paste" user)
(36 "B.SilkS" user)
(37 "F.SilkS" user)
(38 "B.Mask" user)
(39 "F.Mask" user)
(40 "Dwgs.User" user)
(41 "Cmts.User" user)
(42 "Eco1.User" user)
(43 "Eco2.User" user)
(44 "Edge.Cuts" user)
(45 "Margin" user)
(46 "B.CrtYd" user)
(47 "F.CrtYd" user)
(48 "B.Fab" user)
(49 "F.Fab" user)
)
(setup
(pcbplotparams
(layerselection 0x010fc_ffffffff)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(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 "")
(net 1 "A")
(net 2 "B")
(module "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" (layer "F.Cu") (tedit 59FED5CC) (tstamp 29726c99-8e0f-4994-acd9-20f8edd59f2f)
(at 125 75)
(descr "Through hole straight pin header, 1x01, 2.54mm pitch, single row")
(tags "Through hole pin header THT 1x01 2.54mm single row")
(property "Sheet file" "/home/alex/kicad-shorted-zone-test/kicad-shorted-zone-test/kicad-shorted-zone-test.kicad_sch")
(property "Sheet name" "")
(path "/6d3104a4-7acb-423a-9890-85f903110171")
(attr through_hole)
(fp_text reference "J2" (at 0 -2.33) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 04b8f53b-0650-4e4e-b534-307b2478074b)
)
(fp_text value "Conn_01x01" (at 0 2.33) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 70cb3b58-866c-49c8-9663-797580d0ad3d)
)
(fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 7933e25f-2e86-4ed0-9f12-510275b3fef7)
)
(fp_line (start -1.33 0) (end -1.33 -1.33) (layer "F.SilkS") (width 0.12) (tstamp 65ab38d8-9a4f-4b84-b94e-9178c6a18989))
(fp_line (start -1.33 -1.33) (end 0 -1.33) (layer "F.SilkS") (width 0.12) (tstamp 865ea47c-6880-48b9-83a1-df5df3b15c7f))
(fp_line (start -1.33 1.27) (end -1.33 1.33) (layer "F.SilkS") (width 0.12) (tstamp 8f6b1f49-9797-40af-953e-ed63e723e77c))
(fp_line (start -1.33 1.27) (end 1.33 1.27) (layer "F.SilkS") (width 0.12) (tstamp 93faaa20-fa00-4e7e-b9e2-669d043d7374))
(fp_line (start 1.33 1.27) (end 1.33 1.33) (layer "F.SilkS") (width 0.12) (tstamp a98bf551-ccaf-4cdc-978b-75a58b50d4e8))
(fp_line (start -1.33 1.33) (end 1.33 1.33) (layer "F.SilkS") (width 0.12) (tstamp c6dcdb50-4040-422c-9a13-fa95da174da8))
(fp_line (start 1.8 1.8) (end 1.8 -1.8) (layer "F.CrtYd") (width 0.05) (tstamp 0e5a77cb-4892-47ce-8ad3-dddce4b78dda))
(fp_line (start 1.8 -1.8) (end -1.8 -1.8) (layer "F.CrtYd") (width 0.05) (tstamp 16ea1f69-eb6e-469e-a98b-85fbe6904dd6))
(fp_line (start -1.8 1.8) (end 1.8 1.8) (layer "F.CrtYd") (width 0.05) (tstamp 395c6039-b4b3-42cc-a47b-33ed255d229c))
(fp_line (start -1.8 -1.8) (end -1.8 1.8) (layer "F.CrtYd") (width 0.05) (tstamp 705d8972-9071-49e7-bb82-352b7baee711))
(fp_line (start -1.27 -0.635) (end -0.635 -1.27) (layer "F.Fab") (width 0.1) (tstamp 2bf501b7-fd31-4ba7-a5fa-ab0bfd5d978c))
(fp_line (start 1.27 -1.27) (end 1.27 1.27) (layer "F.Fab") (width 0.1) (tstamp 3473a68e-7ee9-4569-996a-6b85f135736f))
(fp_line (start -0.635 -1.27) (end 1.27 -1.27) (layer "F.Fab") (width 0.1) (tstamp 394c4262-cdf7-4e40-b9c9-acff837628f6))
(fp_line (start 1.27 1.27) (end -1.27 1.27) (layer "F.Fab") (width 0.1) (tstamp 9be0821f-53a7-4a6b-b20f-46cc43abb045))
(fp_line (start -1.27 1.27) (end -1.27 -0.635) (layer "F.Fab") (width 0.1) (tstamp c88ccd7c-dfc0-4f18-94d3-436c0f1b7f10))
(pad "1" thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 2 "B") (pinfunction "Pin_1") (tstamp 39ddc8c5-658a-4354-adac-e784c48a1e49))
(model "${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x01_P2.54mm_Vertical.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" (layer "F.Cu") (tedit 59FED5CC) (tstamp 6b9198d5-ffb6-446c-9bd9-58087491bfdf)
(at 133 75)
(descr "Through hole straight pin header, 1x01, 2.54mm pitch, single row")
(tags "Through hole pin header THT 1x01 2.54mm single row")
(property "Sheet file" "/home/alex/kicad-shorted-zone-test/kicad-shorted-zone-test/kicad-shorted-zone-test.kicad_sch")
(property "Sheet name" "")
(path "/da07c2f2-9cfc-4123-b598-021ac8524413")
(attr through_hole)
(fp_text reference "J1" (at 0 -2.33) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp bd5dee96-9f3c-435b-9c0b-051e216e3ede)
)
(fp_text value "Conn_01x01" (at 0 2.33) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp c4faab9a-5b64-4949-b7e8-4b8510c0c677)
)
(fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp d5a60db9-2741-4283-884b-91161528e798)
)
(fp_line (start -1.33 -1.33) (end 0 -1.33) (layer "F.SilkS") (width 0.12) (tstamp 07744fd1-8232-46fa-a8e1-aedbee408df7))
(fp_line (start 1.33 1.27) (end 1.33 1.33) (layer "F.SilkS") (width 0.12) (tstamp 10ad763f-c0c7-4ddd-aea2-1aba53cb9f70))
(fp_line (start -1.33 1.27) (end 1.33 1.27) (layer "F.SilkS") (width 0.12) (tstamp 2f68829f-c401-4cbe-88e5-3795a2a9ebf2))
(fp_line (start -1.33 0) (end -1.33 -1.33) (layer "F.SilkS") (width 0.12) (tstamp 60eed028-d53e-4449-870a-dd0223dd2708))
(fp_line (start -1.33 1.27) (end -1.33 1.33) (layer "F.SilkS") (width 0.12) (tstamp cc36fc52-529a-4bb6-b591-4a369c8a36eb))
(fp_line (start -1.33 1.33) (end 1.33 1.33) (layer "F.SilkS") (width 0.12) (tstamp efe5303e-b972-43f3-bc48-7899b111a46c))
(fp_line (start -1.8 1.8) (end 1.8 1.8) (layer "F.CrtYd") (width 0.05) (tstamp 404e8f9b-0d2f-483e-bfd6-bd8d62412459))
(fp_line (start 1.8 -1.8) (end -1.8 -1.8) (layer "F.CrtYd") (width 0.05) (tstamp 70086051-bcbe-4955-ada4-bfa6ca8668cf))
(fp_line (start 1.8 1.8) (end 1.8 -1.8) (layer "F.CrtYd") (width 0.05) (tstamp b01318f4-394d-420d-a0d3-724173857223))
(fp_line (start -1.8 -1.8) (end -1.8 1.8) (layer "F.CrtYd") (width 0.05) (tstamp f1f5e747-2bbf-43cb-a6aa-7fa21fc6087b))
(fp_line (start 1.27 -1.27) (end 1.27 1.27) (layer "F.Fab") (width 0.1) (tstamp 236bf148-c32f-4267-b326-420692e18708))
(fp_line (start -1.27 1.27) (end -1.27 -0.635) (layer "F.Fab") (width 0.1) (tstamp 7773b789-8d8f-46fb-a762-26160e44999e))
(fp_line (start 1.27 1.27) (end -1.27 1.27) (layer "F.Fab") (width 0.1) (tstamp bed4c854-9234-4ee7-8fb3-8f182e3eaaa2))
(fp_line (start -0.635 -1.27) (end 1.27 -1.27) (layer "F.Fab") (width 0.1) (tstamp c40a4561-e42c-42c3-bc13-b6319a59b623))
(fp_line (start -1.27 -0.635) (end -0.635 -1.27) (layer "F.Fab") (width 0.1) (tstamp ea95dced-49b6-44b6-984e-4c92327d4344))
(pad "1" thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
(net 1 "A") (pinfunction "Pin_1") (tstamp df639234-11cd-4ef1-a107-9aef4bdb6632))
(model "${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x01_P2.54mm_Vertical.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_rect (start 120 70) (end 140 80) (layer "Edge.Cuts") (width 0.1) (tstamp 39ee3aa0-8792-48bd-9c1d-4738549f4f8e))
(zone (net 2) (net_name "B") (layers F&B.Cu) (tstamp 3afa8ea5-827c-4708-b518-e9bf7f8dd20e) (hatch edge 0.508)
(connect_pads (clearance 0.508))
(min_thickness 0.254) (filled_areas_thickness no)
(fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 140 80)
(xy 120 80)
(xy 120 70)
(xy 140 70)
)
)
(filled_polygon
(layer F.Cu)
(pts
(xy 139.491501 79.4915)
(xy 120.5085 79.4915)
(xy 120.5085 75.254)
(xy 123.637 75.254)
(xy 123.637 75.850002)
(xy 123.683358 76.063105)
(xy 123.762301 76.185945)
(xy 123.872651 76.281563)
(xy 124.005474 76.34222)
(xy 124.149997 76.363)
(xy 124.746 76.363)
(xy 124.746 75.254)
(xy 125.254 75.254)
(xy 125.254 76.363)
(xy 125.850002 76.363)
(xy 126.063105 76.316642)
(xy 126.185945 76.237699)
(xy 126.281563 76.127349)
(xy 126.34222 75.994526)
(xy 126.363 75.850003)
(xy 126.363 75.254)
(xy 125.254 75.254)
(xy 124.746 75.254)
(xy 123.637 75.254)
(xy 120.5085 75.254)
(xy 120.5085 74.149997)
(xy 123.637 74.149997)
(xy 123.637 74.746)
(xy 124.746 74.746)
(xy 124.746 73.637)
(xy 125.254 73.637)
(xy 125.254 74.746)
(xy 126.363 74.746)
(xy 126.363 74.149998)
(xy 126.363 74.149997)
(xy 131.637 74.149997)
(xy 131.637 75.850002)
(xy 131.66844 75.994529)
(xy 131.683359 76.063108)
(xy 131.7623 76.185944)
(xy 131.872651 76.281563)
(xy 132.005471 76.34222)
(xy 132.077735 76.35261)
(xy 132.149997 76.363)
(xy 133.850002 76.363)
(xy 134.063105 76.316642)
(xy 134.063106 76.316641)
(xy 134.063108 76.316641)
(xy 134.185944 76.2377)
(xy 134.281563 76.127349)
(xy 134.34222 75.994529)
(xy 134.363 75.85)
(xy 134.363 74.149997)
(xy 134.316642 73.936895)
(xy 134.316641 73.936894)
(xy 134.316641 73.936892)
(xy 134.2377 73.814056)
(xy 134.127349 73.718437)
(xy 133.994529 73.65778)
(xy 133.922264 73.64739)
(xy 133.850003 73.637)
(xy 132.149998 73.637)
(xy 131.936895 73.683358)
(xy 131.936894 73.683359)
(xy 131.936892 73.683359)
(xy 131.814056 73.7623)
(xy 131.718437 73.872651)
(xy 131.65778 74.005471)
(xy 131.65778 74.005474)
(xy 131.637 74.149997)
(xy 126.363 74.149997)
(xy 126.316642 73.936895)
(xy 126.237699 73.814055)
(xy 126.127349 73.718437)
(xy 125.994526 73.65778)
(xy 125.850003 73.637)
(xy 125.254 73.637)
(xy 124.746 73.637)
(xy 124.149998 73.637)
(xy 123.936895 73.683358)
(xy 123.814055 73.762301)
(xy 123.718437 73.872651)
(xy 123.65778 74.005474)
(xy 123.637 74.149997)
(xy 120.5085 74.149997)
(xy 120.5085 70.5085)
(xy 139.4915 70.5085)
)
)
(filled_polygon
(layer B.Cu)
(pts
(xy 139.491501 79.4915)
(xy 120.5085 79.4915)
(xy 120.5085 75.254)
(xy 123.637 75.254)
(xy 123.637 75.850002)
(xy 123.683358 76.063105)
(xy 123.762301 76.185945)
(xy 123.872651 76.281563)
(xy 124.005474 76.34222)
(xy 124.149997 76.363)
(xy 124.746 76.363)
(xy 124.746 75.254)
(xy 125.254 75.254)
(xy 125.254 76.363)
(xy 125.850002 76.363)
(xy 126.063105 76.316642)
(xy 126.185945 76.237699)
(xy 126.281563 76.127349)
(xy 126.34222 75.994526)
(xy 126.363 75.850003)
(xy 126.363 75.254)
(xy 125.254 75.254)
(xy 124.746 75.254)
(xy 123.637 75.254)
(xy 120.5085 75.254)
(xy 120.5085 74.149997)
(xy 123.637 74.149997)
(xy 123.637 74.746)
(xy 124.746 74.746)
(xy 124.746 73.637)
(xy 125.254 73.637)
(xy 125.254 74.746)
(xy 126.363 74.746)
(xy 126.363 74.149998)
(xy 126.363 74.149997)
(xy 131.637 74.149997)
(xy 131.637 75.850002)
(xy 131.66844 75.994529)
(xy 131.683359 76.063108)
(xy 131.7623 76.185944)
(xy 131.872651 76.281563)
(xy 132.005471 76.34222)
(xy 132.077735 76.35261)
(xy 132.149997 76.363)
(xy 133.850002 76.363)
(xy 134.063105 76.316642)
(xy 134.063106 76.316641)
(xy 134.063108 76.316641)
(xy 134.185944 76.2377)
(xy 134.281563 76.127349)
(xy 134.34222 75.994529)
(xy 134.363 75.85)
(xy 134.363 74.149997)
(xy 134.316642 73.936895)
(xy 134.316641 73.936894)
(xy 134.316641 73.936892)
(xy 134.2377 73.814056)
(xy 134.127349 73.718437)
(xy 133.994529 73.65778)
(xy 133.922264 73.64739)
(xy 133.850003 73.637)
(xy 132.149998 73.637)
(xy 131.936895 73.683358)
(xy 131.936894 73.683359)
(xy 131.936892 73.683359)
(xy 131.814056 73.7623)
(xy 131.718437 73.872651)
(xy 131.65778 74.005471)
(xy 131.65778 74.005474)
(xy 131.637 74.149997)
(xy 126.363 74.149997)
(xy 126.316642 73.936895)
(xy 126.237699 73.814055)
(xy 126.127349 73.718437)
(xy 125.994526 73.65778)
(xy 125.850003 73.637)
(xy 125.254 73.637)
(xy 124.746 73.637)
(xy 124.149998 73.637)
(xy 123.936895 73.683358)
(xy 123.814055 73.762301)
(xy 123.718437 73.872651)
(xy 123.65778 74.005474)
(xy 123.637 74.149997)
(xy 120.5085 74.149997)
(xy 120.5085 70.5085)
(xy 139.4915 70.5085)
)
)
)
(zone (net 1) (net_name "A") (layer "B.Cu") (tstamp d349fea2-2e3a-456a-aad1-1fdfcae16bff) (hatch edge 0.508)
(connect_pads (clearance 0.508))
(min_thickness 0.254) (filled_areas_thickness no)
(fill yes (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 138 78)
(xy 122 78)
(xy 122 72)
(xy 138 72)
)
)
(filled_polygon
(layer B.Cu)
(pts
(xy 138 78)
(xy 122 78)
(xy 122 74.149997)
(xy 123.637 74.149997)
(xy 123.637 75.850002)
(xy 123.66844 75.994529)
(xy 123.683359 76.063108)
(xy 123.7623 76.185944)
(xy 123.872651 76.281563)
(xy 124.005471 76.34222)
(xy 124.077735 76.35261)
(xy 124.149997 76.363)
(xy 125.850002 76.363)
(xy 126.063105 76.316642)
(xy 126.063106 76.316641)
(xy 126.063108 76.316641)
(xy 126.185944 76.2377)
(xy 126.281563 76.127349)
(xy 126.34222 75.994529)
(xy 126.363 75.85)
(xy 126.363 75.254)
(xy 131.637 75.254)
(xy 131.637 75.850002)
(xy 131.683358 76.063105)
(xy 131.762301 76.185945)
(xy 131.872651 76.281563)
(xy 132.005474 76.34222)
(xy 132.149997 76.363)
(xy 132.746 76.363)
(xy 132.746 75.254)
(xy 133.254 75.254)
(xy 133.254 76.363)
(xy 133.850002 76.363)
(xy 134.063105 76.316642)
(xy 134.185945 76.237699)
(xy 134.281563 76.127349)
(xy 134.34222 75.994526)
(xy 134.363 75.850003)
(xy 134.363 75.254)
(xy 133.254 75.254)
(xy 132.746 75.254)
(xy 131.637 75.254)
(xy 126.363 75.254)
(xy 126.363 74.149997)
(xy 131.637 74.149997)
(xy 131.637 74.746)
(xy 132.746 74.746)
(xy 132.746 73.637)
(xy 133.254 73.637)
(xy 133.254 74.746)
(xy 134.363 74.746)
(xy 134.363 74.149998)
(xy 134.316642 73.936895)
(xy 134.237699 73.814055)
(xy 134.127349 73.718437)
(xy 133.994526 73.65778)
(xy 133.850003 73.637)
(xy 133.254 73.637)
(xy 132.746 73.637)
(xy 132.149998 73.637)
(xy 131.936895 73.683358)
(xy 131.814055 73.762301)
(xy 131.718437 73.872651)
(xy 131.65778 74.005474)
(xy 131.637 74.149997)
(xy 126.363 74.149997)
(xy 126.316642 73.936895)
(xy 126.316641 73.936894)
(xy 126.316641 73.936892)
(xy 126.2377 73.814056)
(xy 126.127349 73.718437)
(xy 125.994529 73.65778)
(xy 125.922264 73.64739)
(xy 125.850003 73.637)
(xy 124.149998 73.637)
(xy 123.936895 73.683358)
(xy 123.936894 73.683359)
(xy 123.936892 73.683359)
(xy 123.814056 73.7623)
(xy 123.718437 73.872651)
(xy 123.65778 74.005471)
(xy 123.65778 74.005474)
(xy 123.637 74.149997)
(xy 122 74.149997)
(xy 122 72)
(xy 138 72)
)
)
)
)

155
qa/data/issue5854.kicad_pcb Normal file
View File

@ -0,0 +1,155 @@
(kicad_pcb (version 20210722) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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)
(50 "User.1" user)
(51 "User.2" user)
(52 "User.3" user)
(53 "User.4" user)
(54 "User.5" user)
(55 "User.6" user)
(56 "User.7" user)
(57 "User.8" user)
(58 "User.9" user)
)
(setup
(stackup
(layer "F.SilkS" (type "Top Silk Screen"))
(layer "F.Paste" (type "Top Solder Paste"))
(layer "F.Mask" (type "Top Solder Mask") (color "Green") (thickness 0.01))
(layer "F.Cu" (type "copper") (thickness 0.035))
(layer "dielectric 1" (type "core") (thickness 1.51) (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") (color "Green") (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)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 "")
(net 1 "signal")
(footprint "Housings_DIP:DIP-14_W7.62mm_LongPads" (layer "F.Cu")
(tedit 61054ABB) (tstamp 3bd3a1e0-b35d-4974-99fa-33d3eee5d601)
(at 154.305 74.93)
(descr "14-lead dip package, row spacing 7.62 mm (300 mils), longer pads")
(tags "dil dip 2.54 300")
(attr through_hole)
(fp_text reference "REF**" (at 3.81 0) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 59609e9e-6f8e-414a-8e1a-68271157d0f4)
)
(fp_text value "DIP-14_W7.62mm_LongPads" (at 0 -3.72) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 777520c7-f251-417a-a971-c4b28beed159)
)
(fp_line (start 0.135 17.535) (end 0.135 16.265) (layer "F.SilkS") (width 0.15) (tstamp 0b79ddb5-29b5-4d02-b254-210c2c0bc52a))
(fp_line (start 0.135 17.535) (end 7.485 17.535) (layer "F.SilkS") (width 0.15) (tstamp 0f83140d-7d8e-4df7-9004-7d55d208e970))
(fp_line (start 7.485 -2.295) (end 7.485 -1.025) (layer "F.SilkS") (width 0.15) (tstamp 47d1c952-cc7e-48d8-8bf3-43e84030b5b6))
(fp_line (start 7.485 17.535) (end 7.485 16.265) (layer "F.SilkS") (width 0.15) (tstamp 4a6fe592-662f-4920-ac12-4fe3becc67da))
(fp_line (start 0.135 -1.025) (end -1.15 -1.025) (layer "F.SilkS") (width 0.15) (tstamp 4c82108f-9f12-4804-907e-f81706f9251d))
(fp_line (start 0.135 -2.295) (end 7.485 -2.295) (layer "F.SilkS") (width 0.15) (tstamp e79a53c0-2b0d-4f45-9b3a-0d8f6a3f73f2))
(fp_line (start 0.135 -2.295) (end 0.135 -1.025) (layer "F.SilkS") (width 0.15) (tstamp fddf502b-35d9-4c79-83ea-e86b1347b469))
(fp_rect (start 2.286 0.127) (end 5.334 14.732) (layer "Edge.Cuts") (width 0.05) (fill none) (tstamp 1d78c688-c2db-4868-a03f-0436a459cbaf))
(fp_line (start 9 -2.45) (end 9 17.7) (layer "F.CrtYd") (width 0.05) (tstamp 2fe33ec7-1451-4a28-bf38-24c176dee936))
(fp_line (start -1.4 -2.45) (end -1.4 17.7) (layer "F.CrtYd") (width 0.05) (tstamp 9873122d-04aa-4cf6-96df-5df12ef3440f))
(fp_line (start -1.4 -2.45) (end 9 -2.45) (layer "F.CrtYd") (width 0.05) (tstamp 9abef0ec-7068-4aa5-a4b2-c8cd8b0ceb6e))
(fp_line (start -1.4 17.7) (end 9 17.7) (layer "F.CrtYd") (width 0.05) (tstamp c1c9a072-3005-4d0b-b7f6-70565ddfb731))
(pad "1" thru_hole oval locked (at 0 0) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 2fe6f3ef-3519-45f5-bd91-8d7847304292))
(pad "2" thru_hole oval locked (at 0 2.54) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 4f8caf82-f2fe-4ebb-b03c-0226aa886a96))
(pad "3" thru_hole oval locked (at 0 5.08) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp a01719d5-72b8-433b-882b-36b730f1b10d))
(pad "4" thru_hole oval locked (at 0 7.62) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask)
(net 1 "signal") (tstamp 7616ae07-fea3-41ec-baf7-0f401270819a))
(pad "5" thru_hole oval locked (at 0 10.16) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 3443dd40-4950-45cf-ab02-9e2253c6bb3c))
(pad "6" thru_hole oval locked (at 0 12.7) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp cf6b8e1e-93f3-4e63-9f77-8c9ec064201c))
(pad "7" thru_hole oval locked (at 0 15.24) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp f522aabe-6821-4dcd-853d-a284f451356d))
(pad "8" thru_hole oval locked (at 7.62 15.24) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp db0b3374-d270-4249-87b7-9a0a6163297e))
(pad "9" thru_hole oval locked (at 7.62 12.7) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 07dd9b8f-a4b6-4b90-9868-4559ed6f6a32))
(pad "10" thru_hole oval locked (at 7.62 10.16) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 036d5919-6a4b-49ac-851e-0b99804de700))
(pad "11" thru_hole oval locked (at 7.62 7.62) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 54ecef87-4bce-44eb-93cf-a1f86ce2bb62))
(pad "12" thru_hole oval locked (at 7.62 5.08) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 2f3483f5-a99f-4f68-b6b1-fe893d5ab874))
(pad "13" thru_hole oval locked (at 7.62 2.54) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 30760006-239e-48b2-9ad2-bdc85ca119ed))
(pad "14" thru_hole oval locked (at 7.62 0) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp fefb1ddf-3d2b-4862-9521-565bc091912b))
(model "Housings_DIP.3dshapes/DIP-14_W7.62mm_LongPads.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_rect (start 78.105 50.165) (end 228.6 130.81) (layer "Edge.Cuts") (width 0.05) (fill none) (tstamp d0d883cf-992c-40b1-8baf-44f8b31bd338))
(gr_text "One" (at 133.35 64.77) (layer "F.SilkS") (tstamp 0e48904b-ea9c-4e28-ae84-906127f78887)
(effects (font (size 2 2) (thickness 0.3)))
)
(gr_text "Two" (at 137.795 66.675) (layer "F.SilkS") (tstamp 683b3cc8-60dd-4ae9-b579-b6f37d1dfd82)
(effects (font (size 2 2) (thickness 0.3)))
)
(gr_text "Fully outside" (at 180.975 45.72) (layer "F.SilkS") (tstamp 9fd9af26-80f4-4ca8-8f38-17afe2252638)
(effects (font (size 3 3) (thickness 0.5)))
)
(gr_text "Clipped by board edge" (at 154.305 51.435) (layer "F.SilkS") (tstamp cf5bcf24-ec78-4346-ae94-9ab700e3d44d)
(effects (font (size 3 3) (thickness 0.5)))
)
)

486
qa/data/issue5854.kicad_pro Normal file
View File

@ -0,0 +1,486 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": true,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 1,
"dimension_units": 2,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": true,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": true,
"pads": {
"drill": 0.8,
"height": 1.6,
"width": 2.3
},
"silk_line_width": 0.12,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": true,
"zones": {
"45_degree_only": false,
"min_clearance": 0.19999999999999998
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "error",
"silk_overlap": "error",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.01,
"min_hole_clearance": 0.0,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.09999999999999999,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_annulus": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.2,
0.4,
1.0,
2.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": [
{
"activeLayer": -2,
"layers": [
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
41,
44,
49,
50
],
"name": "Fabrication",
"renderLayers": [
125,
126,
127,
128,
129,
130,
131,
133,
134,
135,
136,
137,
138,
139,
143,
144
]
}
]
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_sheet_names": "error",
"global_label_dangling": "error",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "error",
"net_not_bus_member": "error",
"no_connect_connected": "error",
"no_connect_dangling": "error",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"similar_labels": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "LoRaNode.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.85,
"via_drill": 0.4,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.25,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "antenna",
"nets": [
"/ANTENNA"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 1.27,
"via_diameter": 0.85,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 1
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vmrl": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 40.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.0,
"field_names": [],
"intersheets_ref_prefix": "[",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "]",
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 0
},
"net_format_name": "",
"page_layout_descr_file": "",
"plot_directory": "./",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"285a99a7-a1a2-4aa6-812b-d3c3533a57d7",
""
],
[
"00000000-0000-0000-0000-00005d8236a8",
"battery-protection"
],
[
"00000000-0000-0000-0000-00005d8260b7",
"voltage-regulation"
],
[
"00000000-0000-0000-0000-00005d825820",
"RS485-interface"
],
[
"00000000-0000-0000-0000-00005d84b44c",
"I2C-interface"
]
],
"text_variables": {}
}

View File

@ -57,7 +57,7 @@
],
"drc_exclusions": [],
"meta": {
"version": 1
"version": 2
},
"rule_severities": {
"annular_width": "error",
@ -85,7 +85,7 @@
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "error",
"silk_over_copper": "ignore",
"silk_overlap": "error",
"skew_out_of_range": "error",
"too_many_vias": "error",

16
qa/data/issue6879.kicad_dru Executable file
View File

@ -0,0 +1,16 @@
(version 1)
(rule "PTH to Track Clearance"
(constraint hole_clearance (min 1.0mm))
(condition "A.Type == 'Pad' && A.Pad_Type == 'Through-hole' && B.Type =='Track'")
)
(rule "NPTH to Track Clearance"
(constraint hole_clearance (min 1.0mm))
(condition "(A.Type == 'Pad' && A.Pad_Type == 'NPTH, mechanical') && B.Type =='Track'")
)
(rule "Max Drill Hole Size Mechanical"
(constraint hole (max 2.0mm))
(condition "A.Type == 'Pad'")
)

508
qa/data/issue6879.kicad_pcb Executable file
View File

@ -0,0 +1,508 @@
(kicad_pcb (version 20201220) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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)
(50 "User.1" user)
(51 "User.2" user)
(52 "User.3" user)
(53 "User.4" user)
(54 "User.5" user)
(55 "User.6" user)
(56 "User.7" user)
(57 "User.8" user)
(58 "User.9" user)
)
(setup
(stackup
(layer "F.SilkS" (type "Top Silk Screen"))
(layer "F.Paste" (type "Top Solder Paste"))
(layer "F.Mask" (type "Top Solder Mask") (color "Green") (thickness 0.01))
(layer "F.Cu" (type "copper") (thickness 0.035))
(layer "dielectric 1" (type "core") (thickness 1.51) (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") (color "Green") (thickness 0.01))
(layer "B.Paste" (type "Bottom Solder Paste"))
(layer "B.SilkS" (type "Bottom Silk Screen"))
(copper_finish "None")
(dielectric_constraints no)
)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(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 "")
(net 1 "Net-(C1-Pad2)")
(net 2 "Net-(C1-Pad1)")
(footprint "MountingHole:MountingHole_3.2mm_M3_DIN965_Pad" (layer "F.Cu")
(tedit 56D1B4CB) (tstamp 7a5e0185-cb99-4816-a212-1cb5fdda6fe8)
(at 186.25 88.75)
(descr "Mounting Hole 3.2mm, M3, DIN965")
(tags "mounting hole 3.2mm m3 din965")
(property "Sheet file" "Test.kicad_sch")
(property "Sheet name" "")
(path "/fb2e017d-a5c5-49fb-ba95-cb396aae3918")
(attr exclude_from_pos_files)
(fp_text reference "H3" (at 0 4) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 600b29e3-3ea7-48fd-a954-b81d7d21815f)
)
(fp_text value "PTH-3mm" (at 0 3.8) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 982881b5-77b1-4780-b97a-b48fc7c793a6)
)
(fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 1710c190-e24b-4590-9dd6-c08f5a3e6148)
)
(fp_circle (center 0 0) (end 2.8 0) (layer "Cmts.User") (width 0.15) (fill none) (tstamp 533cb978-4c67-4904-86ed-173bc2ff1b45))
(fp_circle (center 0 0) (end 3.05 0) (layer "F.CrtYd") (width 0.05) (fill none) (tstamp c08b7dbb-612b-43e9-a6cc-d4e66c1ea404))
(pad "1" thru_hole circle (at 0 0) (size 5.6 5.6) (drill 3.2) (layers *.Cu *.Mask) (tstamp cfbc907d-8a25-46e9-a224-6b8152fa214f))
)
(footprint "MountingHole:MountingHole_3.2mm_M3_DIN965_Pad" (layer "F.Cu")
(tedit 56D1B4CB) (tstamp 7effd7e7-a352-4b60-90dc-d04da9924f3e)
(at 166.25 88.75)
(descr "Mounting Hole 3.2mm, M3, DIN965")
(tags "mounting hole 3.2mm m3 din965")
(property "Sheet file" "Test.kicad_sch")
(property "Sheet name" "")
(path "/01326b80-c3a1-4c72-b881-eee45cdb68c5")
(attr exclude_from_pos_files)
(fp_text reference "H4" (at 0 4) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 3dfd39dc-326f-4ebf-a42f-a5544836a15a)
)
(fp_text value "PTH-3mm" (at 0 3.8) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp bbec47e3-9ffa-4d68-9bd8-d2c50951193f)
)
(fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ba466aa3-f900-4724-b154-de8778c10cec)
)
(fp_circle (center 0 0) (end 2.8 0) (layer "Cmts.User") (width 0.15) (fill none) (tstamp 7f8e2e3b-3a66-47a9-a58a-28516317d286))
(fp_circle (center 0 0) (end 3.05 0) (layer "F.CrtYd") (width 0.05) (fill none) (tstamp ee76c024-e387-4561-9d80-268c0015a52b))
(pad "1" thru_hole circle (at 0 0) (size 5.6 5.6) (drill 3.2) (layers *.Cu *.Mask) (tstamp b5c3eb60-d01c-403e-abf7-cd1ddd2c14be))
)
(footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
(tedit 56D1B4CB) (tstamp b155e8e6-593a-4fdd-b7be-b9cbbe47b854)
(at 166.25 111)
(descr "Mounting Hole 3.2mm, no annular, M3")
(tags "mounting hole 3.2mm no annular m3")
(property "Sheet file" "Test.kicad_sch")
(property "Sheet name" "")
(path "/9c1f6247-3f70-4646-bb3c-a8c45bbfc056")
(attr exclude_from_pos_files)
(fp_text reference "H2" (at 0 -4.2) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ccc0899b-bbf2-4044-9984-8b8b6c30c83f)
)
(fp_text value "NPTH-3mm" (at 0 4.2) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp b473fa3b-3b92-4646-b990-3a686d714123)
)
(fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp d71db0be-3896-4a51-beac-40768d8d3ef1)
)
(fp_circle (center 0 0) (end 3.2 0) (layer "Cmts.User") (width 0.15) (fill none) (tstamp d4901f12-4dae-4cd4-9bb1-5d962ba4e57d))
(fp_circle (center 0 0) (end 3.45 0) (layer "F.CrtYd") (width 0.05) (fill none) (tstamp 3d371e65-4ed5-435b-8cfc-b2bca6d607db))
(pad "1" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask) (tstamp 30bed439-ee98-4fbc-9d75-6c7a47f1e483))
)
(footprint "MountingHole:MountingHole_3.2mm_M3" (layer "F.Cu")
(tedit 56D1B4CB) (tstamp dd6e559d-f8e5-4209-a83a-cd7404d50c5d)
(at 186.25 111)
(descr "Mounting Hole 3.2mm, no annular, M3")
(tags "mounting hole 3.2mm no annular m3")
(property "Sheet file" "Test.kicad_sch")
(property "Sheet name" "")
(path "/e0c75322-6681-4b92-9d80-a5c2e61fb79f")
(attr exclude_from_pos_files)
(fp_text reference "H1" (at 0 -4.2) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 5b6ed842-a876-4bd0-8f81-70bdfe998dc6)
)
(fp_text value "NPTH-3mm" (at 0 4.2) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp fa284b56-4b5e-4ac6-bcab-b929f46c97c6)
)
(fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 5054f0ca-f585-4ee1-a91e-658ca5387bf2)
)
(fp_circle (center 0 0) (end 3.2 0) (layer "Cmts.User") (width 0.15) (fill none) (tstamp ad1a6974-bb9c-4845-bf1b-4eb349a7b5f9))
(fp_circle (center 0 0) (end 3.45 0) (layer "F.CrtYd") (width 0.05) (fill none) (tstamp 7495fc84-6ec6-45ca-9071-d10637312859))
(pad "1" np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask) (tstamp 3c6562ef-6330-45e0-b952-0a82c3116b50))
)
(footprint "Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical" (layer "F.Cu")
(tedit 5C28146C) (tstamp e918d824-8add-477a-bc72-c18e218465c7)
(at 165.5 101.25 90)
(descr "JST XH series connector, B2B-XH-A (http://www.jst-mfg.com/product/pdf/eng/eXH.pdf), generated with kicad-footprint-generator")
(tags "connector JST XH vertical")
(property "LCSC N°" "C20079")
(property "N°" "XH-2A")
(property "Sheet file" "Test.kicad_sch")
(property "Sheet name" "")
(path "/73dee3db-4043-47b4-b8c7-6ed59b861244")
(attr through_hole)
(fp_text reference "J1" (at -3.75 -2 180) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp f9009f25-1208-4105-9f60-1e769861c0b9)
)
(fp_text value "XH-2A" (at 1.25 4.6 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 5addb007-8ec3-4029-b4b3-109887a8afbf)
)
(fp_text user "${REFERENCE}" (at 1.25 2.7 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp aa56998b-ed2f-428f-b788-3cb40902350a)
)
(fp_line (start 1.75 -1.7) (end 1.75 -2.45) (layer "F.SilkS") (width 0.12) (tstamp 0adc786e-c434-4492-a65f-ea2dbf023bbb))
(fp_line (start 3.25 -2.45) (end 3.25 -1.7) (layer "F.SilkS") (width 0.12) (tstamp 0d7ef226-df0e-4ed6-9909-f4b0f354bab3))
(fp_line (start -0.75 -1.7) (end -0.75 -2.45) (layer "F.SilkS") (width 0.12) (tstamp 160e3aa7-3701-49c7-ad98-92f1e15d11f8))
(fp_line (start -0.75 -2.45) (end -2.55 -2.45) (layer "F.SilkS") (width 0.12) (tstamp 2b7bbe5f-c126-44cb-b4b1-e244ebde95ee))
(fp_line (start 5.06 3.51) (end 5.06 -2.46) (layer "F.SilkS") (width 0.12) (tstamp 3a2be3ae-5b9f-4985-b114-a1d73118bdd5))
(fp_line (start 4.3 2.75) (end 1.25 2.75) (layer "F.SilkS") (width 0.12) (tstamp 4e612ece-fe1a-4dc9-bcaa-56144fb56ae7))
(fp_line (start 1.75 -2.45) (end 0.75 -2.45) (layer "F.SilkS") (width 0.12) (tstamp 693f5d3d-c257-4591-ba57-643f4dd8f12f))
(fp_line (start -1.8 2.75) (end 1.25 2.75) (layer "F.SilkS") (width 0.12) (tstamp 72ff50c9-cd49-4a9d-95e2-0bddea9e2ec6))
(fp_line (start -2.85 -2.75) (end -2.85 -1.5) (layer "F.SilkS") (width 0.12) (tstamp 8b531cb0-7ec5-4668-88c3-ed1f751d9ae0))
(fp_line (start -2.56 3.51) (end 5.06 3.51) (layer "F.SilkS") (width 0.12) (tstamp 8db24d26-d584-4a2b-b885-53f2a17f7f23))
(fp_line (start 5.05 -0.2) (end 4.3 -0.2) (layer "F.SilkS") (width 0.12) (tstamp 9ad31be3-f81c-4b40-93c6-8b9855b7b1e8))
(fp_line (start 5.05 -1.7) (end 5.05 -2.45) (layer "F.SilkS") (width 0.12) (tstamp a2f9f4d8-e32c-4580-80ed-c6cc2fa36113))
(fp_line (start 0.75 -2.45) (end 0.75 -1.7) (layer "F.SilkS") (width 0.12) (tstamp aac2db70-65e0-4898-bd39-c8b4fba038bd))
(fp_line (start -2.55 -0.2) (end -1.8 -0.2) (layer "F.SilkS") (width 0.12) (tstamp aef9a042-b20f-4834-b164-e4cc1cb1f32b))
(fp_line (start -1.6 -2.75) (end -2.85 -2.75) (layer "F.SilkS") (width 0.12) (tstamp b5f184ae-0e27-4509-8a1d-e7b96ae4c9fa))
(fp_line (start 4.3 -0.2) (end 4.3 2.75) (layer "F.SilkS") (width 0.12) (tstamp cc8b3c58-18e6-4da7-a2a3-9ecde619a75c))
(fp_line (start -2.56 -2.46) (end -2.56 3.51) (layer "F.SilkS") (width 0.12) (tstamp d1320845-83f4-4737-b44b-07cd86704024))
(fp_line (start 3.25 -1.7) (end 5.05 -1.7) (layer "F.SilkS") (width 0.12) (tstamp d7823cab-9c8f-4dc0-9506-0a2a7b8fdae4))
(fp_line (start 5.05 -2.45) (end 3.25 -2.45) (layer "F.SilkS") (width 0.12) (tstamp dc90412b-136f-45a5-a31f-0b39e3721120))
(fp_line (start 5.06 -2.46) (end -2.56 -2.46) (layer "F.SilkS") (width 0.12) (tstamp e9fcc632-df34-4d57-8ec2-22abfbb30b49))
(fp_line (start 0.75 -1.7) (end 1.75 -1.7) (layer "F.SilkS") (width 0.12) (tstamp ed07a464-ed7a-413f-8d50-8d9c57b9309e))
(fp_line (start -2.55 -2.45) (end -2.55 -1.7) (layer "F.SilkS") (width 0.12) (tstamp f242d7ed-dd2b-4b02-8b66-0400b2ebf1ca))
(fp_line (start -2.55 -1.7) (end -0.75 -1.7) (layer "F.SilkS") (width 0.12) (tstamp f63d17db-7403-4945-9e25-4449fa42e5d6))
(fp_line (start -1.8 -0.2) (end -1.8 2.75) (layer "F.SilkS") (width 0.12) (tstamp fd2a834b-e8e8-4a59-91b4-ad4e82a6491f))
(fp_line (start -2.95 3.9) (end 5.45 3.9) (layer "F.CrtYd") (width 0.05) (tstamp 4474e8cf-5c61-44f1-8ff7-1135bc46ae95))
(fp_line (start -2.95 -2.85) (end -2.95 3.9) (layer "F.CrtYd") (width 0.05) (tstamp 8b55d4c2-87a8-403f-838c-e6b39d114ff0))
(fp_line (start 5.45 -2.85) (end -2.95 -2.85) (layer "F.CrtYd") (width 0.05) (tstamp e1ec3d4c-ab08-4d7a-8324-c084d2f73cc2))
(fp_line (start 5.45 3.9) (end 5.45 -2.85) (layer "F.CrtYd") (width 0.05) (tstamp feda8083-3526-4fc0-8620-a5e5ff75c5c7))
(fp_line (start 0 -1.35) (end 0.625 -2.35) (layer "F.Fab") (width 0.1) (tstamp 049059f8-ba6f-4aa3-bf0e-92fba6efdda8))
(fp_line (start -2.45 -2.35) (end -2.45 3.4) (layer "F.Fab") (width 0.1) (tstamp 2b5a54ae-a37d-4aff-a271-0f825a8e855d))
(fp_line (start 4.95 -2.35) (end -2.45 -2.35) (layer "F.Fab") (width 0.1) (tstamp 757b9ed4-8089-4438-80e3-665859bf0e00))
(fp_line (start -2.45 3.4) (end 4.95 3.4) (layer "F.Fab") (width 0.1) (tstamp b6e260db-b404-43d2-9d13-3d72bf702940))
(fp_line (start -0.625 -2.35) (end 0 -1.35) (layer "F.Fab") (width 0.1) (tstamp d901e84b-f741-4b4a-93a0-440497371c23))
(fp_line (start 4.95 3.4) (end 4.95 -2.35) (layer "F.Fab") (width 0.1) (tstamp e9b8a997-2bef-41da-8437-468ed47a22a5))
(pad "1" thru_hole roundrect (at 0 0 90) (size 1.7 2) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.147059)
(net 2 "Net-(C1-Pad1)") (pinfunction "Pin_1") (tstamp 3bbb4641-3942-4c40-a8f5-028930bd1924))
(pad "2" thru_hole oval (at 2.5 0 90) (size 1.7 2) (drill 1) (layers *.Cu *.Mask)
(net 1 "Net-(C1-Pad2)") (pinfunction "Pin_2") (tstamp 63fbe990-c88a-466e-a812-693fc90734fb))
(model "${KISYS3DMOD}/Connector_JST.3dshapes/JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" (layer "F.Cu")
(tedit 5AE50EF1) (tstamp fecac377-cfa5-4d67-9270-d63a7c66c00c)
(at 180 102.25 90)
(descr "CP, Radial series, Radial, pin pitch=5.00mm, , diameter=10mm, Electrolytic Capacitor")
(tags "CP Radial series Radial pin pitch 5.00mm diameter 10mm Electrolytic Capacitor")
(property "LCSC N°" "C269977")
(property "N°" "NPXE21E102MF")
(property "Sheet file" "Test.kicad_sch")
(property "Sheet name" "")
(path "/7ebeac02-393a-4151-9559-9db3b8be9961")
(attr through_hole)
(fp_text reference "C1" (at -3.75 0 180) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp e5e52899-e0de-4e04-8746-78b577c36af5)
)
(fp_text value "1m25vPY_5x10x16" (at 2.5 6.25 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 98f8be92-7c06-4a54-97f1-61787cc482c3)
)
(fp_text user "${REFERENCE}" (at 2.5 0 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 79624cc3-c938-4ff0-8a1f-3b13ce2aa3d3)
)
(fp_line (start 7.501 -1.062) (end 7.501 1.062) (layer "F.SilkS") (width 0.12) (tstamp 00b05f18-0e06-4b46-821b-c7f161938bac))
(fp_line (start 4.181 -4.797) (end 4.181 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 01f2e100-cdd3-42bd-acf5-7a88e45cce89))
(fp_line (start 5.501 1.241) (end 5.501 4.11) (layer "F.SilkS") (width 0.12) (tstamp 024a7aca-bec2-4578-8445-48a708a13045))
(fp_line (start 5.861 1.241) (end 5.861 3.824) (layer "F.SilkS") (width 0.12) (tstamp 0594fa4e-2824-4f8f-8462-e1e1334dc2d3))
(fp_line (start 4.101 -4.824) (end 4.101 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 06236bb5-26c7-4456-b124-49ef63b0ecfc))
(fp_line (start 6.141 1.241) (end 6.141 3.561) (layer "F.SilkS") (width 0.12) (tstamp 06ab3f7f-0f0b-4483-a8bd-cebb81bf193a))
(fp_line (start 3.341 -5.011) (end 3.341 5.011) (layer "F.SilkS") (width 0.12) (tstamp 075ab4e9-9612-4837-b5bb-f91cc1114ec7))
(fp_line (start 4.981 -4.44) (end 4.981 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 087ab4c3-6e8b-430e-ad09-5ab00bd82065))
(fp_line (start 6.461 -3.206) (end 6.461 3.206) (layer "F.SilkS") (width 0.12) (tstamp 08bca672-6143-40fa-9ba4-f14c540fdff4))
(fp_line (start 4.501 1.241) (end 4.501 4.674) (layer "F.SilkS") (width 0.12) (tstamp 097859a4-9a0e-493d-a779-f392ad3891f8))
(fp_line (start 4.301 -4.754) (end 4.301 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 0affac55-d139-4a0c-b828-287224830a85))
(fp_line (start 6.341 -3.347) (end 6.341 3.347) (layer "F.SilkS") (width 0.12) (tstamp 0e82f150-a23f-4f27-94e0-d560d33c65de))
(fp_line (start 7.461 -1.23) (end 7.461 1.23) (layer "F.SilkS") (width 0.12) (tstamp 0f9735c4-48b5-4f25-bdfc-10aa7e217bf2))
(fp_line (start 6.181 1.241) (end 6.181 3.52) (layer "F.SilkS") (width 0.12) (tstamp 0fa2bc3d-8823-4b75-a4af-ccda3d353330))
(fp_line (start 4.821 1.241) (end 4.821 4.525) (layer "F.SilkS") (width 0.12) (tstamp 10b86fbe-23ef-48af-80c6-0c5493244771))
(fp_line (start 6.261 -3.436) (end 6.261 3.436) (layer "F.SilkS") (width 0.12) (tstamp 13f3d4ce-597f-455d-80ae-315f78884dfc))
(fp_line (start 4.221 1.241) (end 4.221 4.783) (layer "F.SilkS") (width 0.12) (tstamp 14c210a8-2285-47ac-8099-fd1ad3b59913))
(fp_line (start 5.341 -4.221) (end 5.341 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 15c4a868-b475-4019-a726-517d2fcd437b))
(fp_line (start 3.06 -5.05) (end 3.06 5.05) (layer "F.SilkS") (width 0.12) (tstamp 15f58a68-c178-47c1-8ff9-f98d23bc5227))
(fp_line (start 3.501 -4.982) (end 3.501 4.982) (layer "F.SilkS") (width 0.12) (tstamp 2095ccb6-9c42-43a8-a724-99616f9199f1))
(fp_line (start 2.78 -5.073) (end 2.78 5.073) (layer "F.SilkS") (width 0.12) (tstamp 20f8682f-96e2-4143-9fc3-83809f1982ff))
(fp_line (start 6.421 -3.254) (end 6.421 3.254) (layer "F.SilkS") (width 0.12) (tstamp 21c1ba5c-4e69-4797-b955-5fce5e2b75c1))
(fp_line (start 7.261 -1.846) (end 7.261 1.846) (layer "F.SilkS") (width 0.12) (tstamp 22545a84-fda7-4790-83f9-027f6f9f548d))
(fp_line (start 6.781 -2.77) (end 6.781 2.77) (layer "F.SilkS") (width 0.12) (tstamp 2507935a-1f85-454f-9826-e6331a415534))
(fp_line (start 5.581 -4.05) (end 5.581 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 29aca26e-38f5-48a4-843b-554578d9b614))
(fp_line (start 4.901 1.241) (end 4.901 4.483) (layer "F.SilkS") (width 0.12) (tstamp 2d585dcb-616c-4b76-b00b-980f97ea8fa4))
(fp_line (start 5.221 -4.298) (end 5.221 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 2e79819f-be74-4e23-946c-1c3e1e94df06))
(fp_line (start 5.181 -4.323) (end 5.181 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 2f3f6771-98bd-40b0-a9d2-30e9468e15f6))
(fp_line (start 3.821 1.241) (end 3.821 4.907) (layer "F.SilkS") (width 0.12) (tstamp 3110298d-5024-4503-a8e3-e300d94eaaa7))
(fp_line (start 3.861 -4.897) (end 3.861 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 328c63e4-f3c4-4a0e-a34c-aac1448dbf59))
(fp_line (start 5.261 -4.273) (end 5.261 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 32c875f0-075f-43af-a268-23a9dcc69ace))
(fp_line (start 6.061 1.241) (end 6.061 3.64) (layer "F.SilkS") (width 0.12) (tstamp 34b909a0-e084-48d5-b0b8-6435ad6c6d0c))
(fp_line (start 4.901 -4.483) (end 4.901 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 351a705f-9d8d-4ac8-bb2b-f0c0d08b9834))
(fp_line (start 3.541 -4.974) (end 3.541 4.974) (layer "F.SilkS") (width 0.12) (tstamp 35699a4f-8e19-4673-aa40-8e098e615b30))
(fp_line (start 3.02 -5.054) (end 3.02 5.054) (layer "F.SilkS") (width 0.12) (tstamp 360d4c22-351f-4ab0-9c44-6f97df18883c))
(fp_line (start 7.301 -1.742) (end 7.301 1.742) (layer "F.SilkS") (width 0.12) (tstamp 3dce54ce-6b84-4d3f-82d2-ed2fd79e54f2))
(fp_line (start 6.541 -3.106) (end 6.541 3.106) (layer "F.SilkS") (width 0.12) (tstamp 3e01d98b-2d9c-4b0e-9ba6-c80253237900))
(fp_line (start 3.301 -5.018) (end 3.301 5.018) (layer "F.SilkS") (width 0.12) (tstamp 3e5b5017-7ee6-4e89-a4a9-4024259d2207))
(fp_line (start 4.581 -4.639) (end 4.581 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 3f0382f0-10fb-4d53-ad3e-527b4387e50e))
(fp_line (start 5.701 1.241) (end 5.701 3.957) (layer "F.SilkS") (width 0.12) (tstamp 3ff3e0e6-936b-4268-95cd-3d73b38321dc))
(fp_line (start 3.221 -5.03) (end 3.221 5.03) (layer "F.SilkS") (width 0.12) (tstamp 4014377f-e7a9-482b-9b92-d12670b51571))
(fp_line (start 4.141 -4.811) (end 4.141 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 4308de1c-6d88-48c1-93a7-c374543255a1))
(fp_line (start 5.701 -3.957) (end 5.701 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 4443a06a-03ba-4ac9-a6eb-b0f2bd40f57a))
(fp_line (start 5.901 -3.789) (end 5.901 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 448f0e9b-8735-4d76-8c46-49b29a9685eb))
(fp_line (start 5.821 1.241) (end 5.821 3.858) (layer "F.SilkS") (width 0.12) (tstamp 465d24e5-397a-4783-a2e3-cb3069d3ad4d))
(fp_line (start 3.701 -4.938) (end 3.701 4.938) (layer "F.SilkS") (width 0.12) (tstamp 46654ee5-cb57-441e-a04f-361fcfa352c8))
(fp_line (start 2.66 -5.078) (end 2.66 5.078) (layer "F.SilkS") (width 0.12) (tstamp 4824cece-77c5-4a40-8ef6-d425462172ed))
(fp_line (start 5.101 -4.371) (end 5.101 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 4c478afd-dcb2-48a4-903e-c8e7ac24b6f7))
(fp_line (start 3.18 -5.035) (end 3.18 5.035) (layer "F.SilkS") (width 0.12) (tstamp 4d6dcb9c-f004-4cda-a343-4ae882b6769a))
(fp_line (start 5.381 1.241) (end 5.381 4.194) (layer "F.SilkS") (width 0.12) (tstamp 4dac91e1-0296-4ed8-b215-5c92f437459f))
(fp_line (start 5.741 1.241) (end 5.741 3.925) (layer "F.SilkS") (width 0.12) (tstamp 4db1051c-3f7c-4cd9-9066-a0a23b2d342c))
(fp_line (start 6.621 -3) (end 6.621 3) (layer "F.SilkS") (width 0.12) (tstamp 4f68a024-9417-41fc-978f-8cfd734abf86))
(fp_line (start 5.141 1.241) (end 5.141 4.347) (layer "F.SilkS") (width 0.12) (tstamp 51a60e65-74ef-4569-8386-534884225370))
(fp_line (start 2.9 -5.065) (end 2.9 5.065) (layer "F.SilkS") (width 0.12) (tstamp 5323904c-9def-4308-8b4a-b9452427decd))
(fp_line (start 6.381 -3.301) (end 6.381 3.301) (layer "F.SilkS") (width 0.12) (tstamp 55dfd4de-1303-4f9f-b50b-57690aea5ac9))
(fp_line (start 5.061 1.241) (end 5.061 4.395) (layer "F.SilkS") (width 0.12) (tstamp 55f73149-cd2b-4a83-84ca-47e302be4f6b))
(fp_line (start 3.741 -4.928) (end 3.741 4.928) (layer "F.SilkS") (width 0.12) (tstamp 5649c996-d8d0-4645-8e28-6556a8f6ba9e))
(fp_line (start 4.421 -4.707) (end 4.421 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 586c9930-509a-48dc-a9b5-6e6b43255fe6))
(fp_line (start 5.101 1.241) (end 5.101 4.371) (layer "F.SilkS") (width 0.12) (tstamp 59ddec14-c507-47f5-9536-bd0e39971356))
(fp_line (start 3.421 -4.997) (end 3.421 4.997) (layer "F.SilkS") (width 0.12) (tstamp 5b67b876-1c86-44cb-98b7-4e6665a37198))
(fp_line (start 4.941 -4.462) (end 4.941 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 5bf49bd5-ce3b-4423-a60b-d31f1e8c5012))
(fp_line (start 6.221 1.241) (end 6.221 3.478) (layer "F.SilkS") (width 0.12) (tstamp 5d14b903-b5a9-4935-873b-e7afb4bd5c92))
(fp_line (start 5.661 -3.989) (end 5.661 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 5e4289c1-04da-4383-9843-9aff061e6718))
(fp_line (start 4.541 1.241) (end 4.541 4.657) (layer "F.SilkS") (width 0.12) (tstamp 60ed5d4c-63d3-41be-a18a-3a410dd7a32e))
(fp_line (start 4.661 -4.603) (end 4.661 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 6155d754-1341-4df9-8a64-b55d3b22f7cc))
(fp_line (start 7.421 -1.378) (end 7.421 1.378) (layer "F.SilkS") (width 0.12) (tstamp 636c2718-5d83-4666-94c1-2357824415ed))
(fp_line (start 6.101 1.241) (end 6.101 3.601) (layer "F.SilkS") (width 0.12) (tstamp 6444cc49-2cb7-4803-b370-653805920e97))
(fp_line (start 6.941 -2.51) (end 6.941 2.51) (layer "F.SilkS") (width 0.12) (tstamp 64879e0a-5371-4f90-a8e7-169dfb430090))
(fp_line (start 4.341 -4.738) (end 4.341 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 653fca3b-28f8-48b7-a4cf-37149907bb17))
(fp_line (start 4.621 -4.621) (end 4.621 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 6567566b-1f2b-49fb-b627-cb1e22aea713))
(fp_line (start 2.7 -5.077) (end 2.7 5.077) (layer "F.SilkS") (width 0.12) (tstamp 67c03d8a-1a8e-4007-87b9-651110652ad7))
(fp_line (start 6.221 -3.478) (end 6.221 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 68c1a27a-61d4-4d69-900f-7a8903290b20))
(fp_line (start 6.181 -3.52) (end 6.181 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 6ba1b01d-8063-4e09-953e-1a468760b89e))
(fp_line (start 4.781 -4.545) (end 4.781 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 6bb6d9f6-3d22-4afb-a2cb-1e080089e637))
(fp_line (start 5.941 -3.753) (end 5.941 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 6c744d22-9a11-4c83-8ecc-70071bf0d791))
(fp_line (start 3.861 1.241) (end 3.861 4.897) (layer "F.SilkS") (width 0.12) (tstamp 6d48f5c5-f872-4d62-9608-ccd225d0da51))
(fp_line (start 4.861 -4.504) (end 4.861 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 6dda008c-26ad-449f-83ab-c612ff1457d0))
(fp_line (start 4.941 1.241) (end 4.941 4.462) (layer "F.SilkS") (width 0.12) (tstamp 6fb2f71b-74b2-4d76-b953-06b10a298916))
(fp_line (start 5.821 -3.858) (end 5.821 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 7095031d-69b9-429f-a292-f4644b2f0ce7))
(fp_line (start 6.581 -3.054) (end 6.581 3.054) (layer "F.SilkS") (width 0.12) (tstamp 745ed2d0-bc1a-45ac-a7e9-7a03b02eeb22))
(fp_line (start 6.981 -2.439) (end 6.981 2.439) (layer "F.SilkS") (width 0.12) (tstamp 760730dd-00dd-4cda-b68b-82102a85aaab))
(fp_line (start 7.541 -0.862) (end 7.541 0.862) (layer "F.SilkS") (width 0.12) (tstamp 770e6227-b93d-47c2-8d2e-095d2537b7c0))
(fp_line (start 5.781 1.241) (end 5.781 3.892) (layer "F.SilkS") (width 0.12) (tstamp 7931b7ae-941d-40ce-89c2-4484b905dc9a))
(fp_line (start 4.021 1.241) (end 4.021 4.85) (layer "F.SilkS") (width 0.12) (tstamp 7a327928-2c1d-4099-b263-292bc93b2d9d))
(fp_line (start 5.021 -4.417) (end 5.021 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 7bcc4e09-c987-4e9c-a234-36b2fabd8d7d))
(fp_line (start 5.341 1.241) (end 5.341 4.221) (layer "F.SilkS") (width 0.12) (tstamp 7cd70240-afaa-4709-a6ac-8b244a7ee6ad))
(fp_line (start 4.821 -4.525) (end 4.821 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 7d3897bd-9f5f-4524-ac99-9488291299e7))
(fp_line (start 4.381 1.241) (end 4.381 4.723) (layer "F.SilkS") (width 0.12) (tstamp 7d886562-8e4c-4b33-89e5-2cbda899bb88))
(fp_line (start 5.421 -4.166) (end 5.421 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 7e5ca114-8994-49f3-bc35-104624c20cb3))
(fp_line (start 7.141 -2.125) (end 7.141 2.125) (layer "F.SilkS") (width 0.12) (tstamp 7ec7636f-e3fa-4365-b96e-308cfded0a7c))
(fp_line (start 4.301 1.241) (end 4.301 4.754) (layer "F.SilkS") (width 0.12) (tstamp 7feec632-75eb-4aac-822f-44a3ed9652ca))
(fp_line (start 6.021 1.241) (end 6.021 3.679) (layer "F.SilkS") (width 0.12) (tstamp 803d3bad-800b-4e4f-96d3-eeeafe6b9bfb))
(fp_line (start 4.501 -4.674) (end 4.501 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 826d73ec-7bb9-4d4a-a15b-ddfedbaff37f))
(fp_line (start 2.98 -5.058) (end 2.98 5.058) (layer "F.SilkS") (width 0.12) (tstamp 82a8b867-cb05-49eb-a12e-49c70401fcc3))
(fp_line (start 4.741 -4.564) (end 4.741 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 8304fee6-30de-4f03-8604-793dac127ac9))
(fp_line (start 3.1 -5.045) (end 3.1 5.045) (layer "F.SilkS") (width 0.12) (tstamp 83bcc279-3bc9-44b7-9454-7d97c636d8b4))
(fp_line (start 7.341 -1.63) (end 7.341 1.63) (layer "F.SilkS") (width 0.12) (tstamp 8648109c-7d10-4e37-82ab-0a18dbe043f5))
(fp_line (start 3.981 1.241) (end 3.981 4.862) (layer "F.SilkS") (width 0.12) (tstamp 88469774-57ff-4793-80eb-3844b5f12a78))
(fp_line (start 4.101 1.241) (end 4.101 4.824) (layer "F.SilkS") (width 0.12) (tstamp 897dbb8b-46c8-44f4-af23-79382d6b8735))
(fp_line (start 6.661 -2.945) (end 6.661 2.945) (layer "F.SilkS") (width 0.12) (tstamp 8b50beb0-adfc-4f16-b748-787265e8df62))
(fp_line (start 3.661 -4.947) (end 3.661 4.947) (layer "F.SilkS") (width 0.12) (tstamp 8b97e4e4-80a2-4fff-9a65-c2e69e0964f9))
(fp_line (start 4.221 -4.783) (end 4.221 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 8c1bfcec-1efa-4faa-bfb2-c9607823bc04))
(fp_line (start 2.58 -5.08) (end 2.58 5.08) (layer "F.SilkS") (width 0.12) (tstamp 8cf2ceff-c770-4895-b7b1-6acb66494e4f))
(fp_line (start 4.661 1.241) (end 4.661 4.603) (layer "F.SilkS") (width 0.12) (tstamp 8d1043f9-f06c-438f-8fc1-a9979642f4de))
(fp_line (start 2.86 -5.068) (end 2.86 5.068) (layer "F.SilkS") (width 0.12) (tstamp 8d531e35-b815-4e34-bd75-8ba6a898dcc0))
(fp_line (start -2.479646 -3.375) (end -2.479646 -2.375) (layer "F.SilkS") (width 0.12) (tstamp 8d718d22-560d-4317-9f8d-a9db9086243a))
(fp_line (start 3.261 -5.024) (end 3.261 5.024) (layer "F.SilkS") (width 0.12) (tstamp 90581459-fe4c-4747-b412-be3d8b19c70b))
(fp_line (start 4.181 1.241) (end 4.181 4.797) (layer "F.SilkS") (width 0.12) (tstamp 915215b2-6428-4d80-894c-ff7570ce630f))
(fp_line (start -2.979646 -2.875) (end -1.979646 -2.875) (layer "F.SilkS") (width 0.12) (tstamp 93d53163-0674-415b-a586-1f07bc1edf8f))
(fp_line (start 5.461 1.241) (end 5.461 4.138) (layer "F.SilkS") (width 0.12) (tstamp 93e084fa-b00c-4bf3-bf83-3e07e7f793ce))
(fp_line (start 3.901 -4.885) (end 3.901 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 94f9a7b7-7405-46f1-81f5-6a885796acac))
(fp_line (start 7.061 -2.289) (end 7.061 2.289) (layer "F.SilkS") (width 0.12) (tstamp 9527dd48-5479-49f6-966d-ce29e5d251f6))
(fp_line (start 4.061 1.241) (end 4.061 4.837) (layer "F.SilkS") (width 0.12) (tstamp 95b2e4a4-7a7f-4304-889f-27e6a75f7131))
(fp_line (start 3.901 1.241) (end 3.901 4.885) (layer "F.SilkS") (width 0.12) (tstamp 978c07dd-a688-4516-9deb-135e9084a0b8))
(fp_line (start 7.581 -0.599) (end 7.581 0.599) (layer "F.SilkS") (width 0.12) (tstamp 99467e89-9e60-497c-b834-286269f5804b))
(fp_line (start 4.261 1.241) (end 4.261 4.768) (layer "F.SilkS") (width 0.12) (tstamp 9a53c171-2f37-424b-b87b-35eb42295883))
(fp_line (start 7.221 -1.944) (end 7.221 1.944) (layer "F.SilkS") (width 0.12) (tstamp 9a76fc7d-2ed7-42ba-8076-fe65e01b4156))
(fp_line (start 3.14 -5.04) (end 3.14 5.04) (layer "F.SilkS") (width 0.12) (tstamp 9a920a88-d15d-4171-a60f-8e9129241404))
(fp_line (start 5.621 -4.02) (end 5.621 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 9b0adb63-309b-40e9-bf2e-ee3fca634dc3))
(fp_line (start 4.061 -4.837) (end 4.061 -1.241) (layer "F.SilkS") (width 0.12) (tstamp 9b5457f8-0e32-415c-a5d7-bdf1c3020c06))
(fp_line (start 2.82 -5.07) (end 2.82 5.07) (layer "F.SilkS") (width 0.12) (tstamp 9c46841c-1bb4-4a24-8ec9-e7f9bac61aeb))
(fp_line (start 5.901 1.241) (end 5.901 3.789) (layer "F.SilkS") (width 0.12) (tstamp 9c478603-1935-4bb9-8c37-8ef8c46c7573))
(fp_line (start 7.381 -1.51) (end 7.381 1.51) (layer "F.SilkS") (width 0.12) (tstamp 9d04d366-e218-496b-b141-aaecc539a766))
(fp_line (start 3.581 -4.965) (end 3.581 4.965) (layer "F.SilkS") (width 0.12) (tstamp 9f0bc0ea-da98-458e-be95-608230693920))
(fp_line (start 4.421 1.241) (end 4.421 4.707) (layer "F.SilkS") (width 0.12) (tstamp 9f805312-b381-4858-b3ad-a601f6f5dc15))
(fp_line (start 4.621 1.241) (end 4.621 4.621) (layer "F.SilkS") (width 0.12) (tstamp a0b35aae-de7f-483d-a8a6-1cedf0db7e6c))
(fp_line (start 6.701 -2.889) (end 6.701 2.889) (layer "F.SilkS") (width 0.12) (tstamp a239ecac-612e-4693-a5e4-11ac1ad49430))
(fp_line (start 5.301 -4.247) (end 5.301 -1.241) (layer "F.SilkS") (width 0.12) (tstamp a2f6a828-ce5c-44d9-8ed2-82985417d921))
(fp_line (start 6.861 -2.645) (end 6.861 2.645) (layer "F.SilkS") (width 0.12) (tstamp a5ab3588-e3ba-4348-a585-d93c7c7165dd))
(fp_line (start 6.901 -2.579) (end 6.901 2.579) (layer "F.SilkS") (width 0.12) (tstamp a600ddea-0a86-4c35-99c4-d2cc00e3249c))
(fp_line (start 4.261 -4.768) (end 4.261 -1.241) (layer "F.SilkS") (width 0.12) (tstamp a9a2ab35-21e4-4311-8f91-07de98eda808))
(fp_line (start 4.021 -4.85) (end 4.021 -1.241) (layer "F.SilkS") (width 0.12) (tstamp aa814003-1ba4-4558-a6eb-615930f29490))
(fp_line (start 4.981 1.241) (end 4.981 4.44) (layer "F.SilkS") (width 0.12) (tstamp acd6a93f-ffb4-4159-8605-80f3521971e9))
(fp_line (start 5.861 -3.824) (end 5.861 -1.241) (layer "F.SilkS") (width 0.12) (tstamp ad17ce75-f501-4cb4-811c-ffeadc45fbee))
(fp_line (start 2.5 -5.08) (end 2.5 5.08) (layer "F.SilkS") (width 0.12) (tstamp b04cbd22-1413-4fd1-a90d-ed548b06a3ce))
(fp_line (start 5.381 -4.194) (end 5.381 -1.241) (layer "F.SilkS") (width 0.12) (tstamp b2b48266-6f6d-48b8-aa62-fe6fe663fc7b))
(fp_line (start 5.461 -4.138) (end 5.461 -1.241) (layer "F.SilkS") (width 0.12) (tstamp b57f840b-3df9-4697-bc08-de4acec04ec9))
(fp_line (start 5.261 1.241) (end 5.261 4.273) (layer "F.SilkS") (width 0.12) (tstamp b7a96062-d07d-4968-a26e-a6f69e2f20b3))
(fp_line (start 3.941 -4.874) (end 3.941 -1.241) (layer "F.SilkS") (width 0.12) (tstamp bc912439-7bc2-4c1b-9519-43c15c9d405d))
(fp_line (start 3.621 -4.956) (end 3.621 4.956) (layer "F.SilkS") (width 0.12) (tstamp bd209c4e-6d9d-4f2f-adb3-5662f64b95ac))
(fp_line (start 6.101 -3.601) (end 6.101 -1.241) (layer "F.SilkS") (width 0.12) (tstamp bd9dd838-7d15-4fef-ba78-c184e8fc7501))
(fp_line (start 4.781 1.241) (end 4.781 4.545) (layer "F.SilkS") (width 0.12) (tstamp bf3e1d95-5341-4145-8c45-9971cb4dd1d2))
(fp_line (start 5.541 -4.08) (end 5.541 -1.241) (layer "F.SilkS") (width 0.12) (tstamp bfa87417-64ef-47fa-a305-ed7b966c7c94))
(fp_line (start 5.981 1.241) (end 5.981 3.716) (layer "F.SilkS") (width 0.12) (tstamp c02a00ee-6839-40b6-8934-0cd39f1125d7))
(fp_line (start 4.581 1.241) (end 4.581 4.639) (layer "F.SilkS") (width 0.12) (tstamp c105a172-99a1-452f-96d2-90cb41c42f46))
(fp_line (start 5.981 -3.716) (end 5.981 -1.241) (layer "F.SilkS") (width 0.12) (tstamp c282486f-e72c-4fc0-be9c-a137a5745dda))
(fp_line (start 5.301 1.241) (end 5.301 4.247) (layer "F.SilkS") (width 0.12) (tstamp c2d0ec68-495b-4dca-b0d2-0688c1341529))
(fp_line (start 5.421 1.241) (end 5.421 4.166) (layer "F.SilkS") (width 0.12) (tstamp c2d393ea-adaf-4846-b15c-7e59abc58b83))
(fp_line (start 7.021 -2.365) (end 7.021 2.365) (layer "F.SilkS") (width 0.12) (tstamp c7433b48-1dce-4871-a630-066b70e5eada))
(fp_line (start 5.661 1.241) (end 5.661 3.989) (layer "F.SilkS") (width 0.12) (tstamp c79ca0d9-9eab-4485-ac8b-b61b32decf43))
(fp_line (start 3.821 -4.907) (end 3.821 -1.241) (layer "F.SilkS") (width 0.12) (tstamp c81a88b6-b8ec-446b-9ec2-23150b6280ee))
(fp_line (start 4.381 -4.723) (end 4.381 -1.241) (layer "F.SilkS") (width 0.12) (tstamp cafbdda1-3cf8-4adc-b9c6-d406fb248bc3))
(fp_line (start 3.941 1.241) (end 3.941 4.874) (layer "F.SilkS") (width 0.12) (tstamp ccfa855d-5bf7-4a8a-8d69-faeb92b0eb29))
(fp_line (start 5.781 -3.892) (end 5.781 -1.241) (layer "F.SilkS") (width 0.12) (tstamp cd61ceac-90d2-4247-97b8-a4b8bcc2455c))
(fp_line (start 4.541 -4.657) (end 4.541 -1.241) (layer "F.SilkS") (width 0.12) (tstamp ceb84962-5b84-4434-aee4-62ce6d60d502))
(fp_line (start 5.541 1.241) (end 5.541 4.08) (layer "F.SilkS") (width 0.12) (tstamp cff2f0d7-b228-41fc-810e-cc3f1b9f5556))
(fp_line (start 5.621 1.241) (end 5.621 4.02) (layer "F.SilkS") (width 0.12) (tstamp d0676532-ce19-45d3-bf53-ae3bfe47c604))
(fp_line (start 3.981 -4.862) (end 3.981 -1.241) (layer "F.SilkS") (width 0.12) (tstamp d147fab7-0795-4fb7-9d63-40895e0bac2f))
(fp_line (start 6.821 -2.709) (end 6.821 2.709) (layer "F.SilkS") (width 0.12) (tstamp d1762de7-669d-43c5-a57f-28ad7ed78206))
(fp_line (start 5.941 1.241) (end 5.941 3.753) (layer "F.SilkS") (width 0.12) (tstamp d2db1f5d-e162-4690-ac0f-b3ef490f09cd))
(fp_line (start 5.741 -3.925) (end 5.741 -1.241) (layer "F.SilkS") (width 0.12) (tstamp d31bfe78-eaee-4cd1-85a2-1c0f0f28448e))
(fp_line (start 2.94 -5.062) (end 2.94 5.062) (layer "F.SilkS") (width 0.12) (tstamp d3975807-4b20-47c2-94f6-a53c0dcd090b))
(fp_line (start 7.101 -2.209) (end 7.101 2.209) (layer "F.SilkS") (width 0.12) (tstamp d463ed2a-3ccf-4cab-a57e-6171b7df49ba))
(fp_line (start 6.301 -3.392) (end 6.301 3.392) (layer "F.SilkS") (width 0.12) (tstamp d5776fd4-bef5-494d-a4c5-959971e6b3ba))
(fp_line (start 5.221 1.241) (end 5.221 4.298) (layer "F.SilkS") (width 0.12) (tstamp d62c6028-25d4-4720-8704-442dae79e1e4))
(fp_line (start 3.781 -4.918) (end 3.781 -1.241) (layer "F.SilkS") (width 0.12) (tstamp d638727d-b546-4cee-8f67-3aa8c1e4ccd6))
(fp_line (start 4.141 1.241) (end 4.141 4.811) (layer "F.SilkS") (width 0.12) (tstamp d6d4debe-7777-4130-af11-b631a866bd82))
(fp_line (start 4.701 -4.584) (end 4.701 -1.241) (layer "F.SilkS") (width 0.12) (tstamp dd015371-1695-4777-b5cd-d1d26b323efe))
(fp_line (start 4.861 1.241) (end 4.861 4.504) (layer "F.SilkS") (width 0.12) (tstamp dddcc2fc-0260-43c2-bd0c-f1ae41ea30e3))
(fp_line (start 4.461 -4.69) (end 4.461 -1.241) (layer "F.SilkS") (width 0.12) (tstamp e380fea8-3e17-42de-81eb-8d376235825a))
(fp_line (start 5.141 -4.347) (end 5.141 -1.241) (layer "F.SilkS") (width 0.12) (tstamp e609a25f-73cb-4674-88f2-4daf5c21a11d))
(fp_line (start 6.061 -3.64) (end 6.061 -1.241) (layer "F.SilkS") (width 0.12) (tstamp e6f11173-f124-4e4d-bb9a-36d2ed2398f0))
(fp_line (start 2.62 -5.079) (end 2.62 5.079) (layer "F.SilkS") (width 0.12) (tstamp ea39debf-28f7-455e-a4bd-5aa983c021d2))
(fp_line (start 5.021 1.241) (end 5.021 4.417) (layer "F.SilkS") (width 0.12) (tstamp eadd193e-ae5c-4c83-bf6a-3404427a1165))
(fp_line (start 2.74 -5.075) (end 2.74 5.075) (layer "F.SilkS") (width 0.12) (tstamp eae8cd29-8dcb-417f-9ba0-405fc0491008))
(fp_line (start 4.701 1.241) (end 4.701 4.584) (layer "F.SilkS") (width 0.12) (tstamp ed43f6e7-2754-4435-ad07-cfc53435a7fc))
(fp_line (start 6.021 -3.679) (end 6.021 -1.241) (layer "F.SilkS") (width 0.12) (tstamp ed99211a-0bdb-4d48-88f1-1cd3f8af3edb))
(fp_line (start 4.461 1.241) (end 4.461 4.69) (layer "F.SilkS") (width 0.12) (tstamp f03fcb65-1d13-44e5-8708-f27d682fe434))
(fp_line (start 3.381 -5.004) (end 3.381 5.004) (layer "F.SilkS") (width 0.12) (tstamp f0e5c7e9-2a24-4647-9485-1ac5c992f9c8))
(fp_line (start 5.061 -4.395) (end 5.061 -1.241) (layer "F.SilkS") (width 0.12) (tstamp f23f9197-a158-4651-9ed5-5a9f794e42a8))
(fp_line (start 6.741 -2.83) (end 6.741 2.83) (layer "F.SilkS") (width 0.12) (tstamp f2f793ea-950e-4ee7-ae0b-a55f38b0d593))
(fp_line (start 4.341 1.241) (end 4.341 4.738) (layer "F.SilkS") (width 0.12) (tstamp f44c8cb0-4178-4846-a1eb-c16b51dda54b))
(fp_line (start 5.581 1.241) (end 5.581 4.05) (layer "F.SilkS") (width 0.12) (tstamp f6412363-4315-4058-96cc-1e9b8819e0a8))
(fp_line (start 4.741 1.241) (end 4.741 4.564) (layer "F.SilkS") (width 0.12) (tstamp f6e41d4d-9fb0-437f-b367-b16a7f1465b5))
(fp_line (start 2.54 -5.08) (end 2.54 5.08) (layer "F.SilkS") (width 0.12) (tstamp fb26ef8d-d266-46aa-94a4-78ffea24776e))
(fp_line (start 3.781 1.241) (end 3.781 4.918) (layer "F.SilkS") (width 0.12) (tstamp fb657bdc-02cb-4b0c-b894-8a409951a913))
(fp_line (start 6.141 -3.561) (end 6.141 -1.241) (layer "F.SilkS") (width 0.12) (tstamp fd24332e-60da-4974-9c44-bf83556bd232))
(fp_line (start 3.461 -4.99) (end 3.461 4.99) (layer "F.SilkS") (width 0.12) (tstamp fe3af0f1-abb8-4b64-8541-83ddb214e8c9))
(fp_line (start 7.181 -2.037) (end 7.181 2.037) (layer "F.SilkS") (width 0.12) (tstamp fe666047-7dc3-4fee-b6fe-ef9ebac7d5e0))
(fp_line (start 5.181 1.241) (end 5.181 4.323) (layer "F.SilkS") (width 0.12) (tstamp fec95837-b655-47b6-9bc7-c9a4357cde96))
(fp_line (start 5.501 -4.11) (end 5.501 -1.241) (layer "F.SilkS") (width 0.12) (tstamp fee9dd2c-0369-46a2-9f68-39b6a4059674))
(fp_line (start 6.501 -3.156) (end 6.501 3.156) (layer "F.SilkS") (width 0.12) (tstamp ff615066-83eb-4e0d-9a9c-afb7b52f7148))
(fp_circle (center 2.5 0) (end 7.62 0) (layer "F.SilkS") (width 0.12) (fill none) (tstamp c5502fc4-681e-4a0e-8c85-2f62505c7633))
(fp_circle (center 2.5 0) (end 7.75 0) (layer "F.CrtYd") (width 0.05) (fill none) (tstamp bbb7ad6c-6f51-491d-8fb2-8b7566a0b0d9))
(fp_line (start -1.288861 -2.6875) (end -1.288861 -1.6875) (layer "F.Fab") (width 0.1) (tstamp b6c4deb0-fbd8-49e2-b960-ea1125602887))
(fp_line (start -1.788861 -2.1875) (end -0.788861 -2.1875) (layer "F.Fab") (width 0.1) (tstamp fae7d5ad-c3c5-4fcb-bcd4-fc23876b2809))
(fp_circle (center 2.5 0) (end 7.5 0) (layer "F.Fab") (width 0.1) (fill none) (tstamp 5b63012c-bc76-4056-91fe-35f030921af3))
(pad "1" thru_hole rect (at 0 0 90) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 2 "Net-(C1-Pad1)") (tstamp d1b41142-17bd-4982-b9b6-d4a10278ed3d))
(pad "2" thru_hole circle (at 5 0 90) (size 2 2) (drill 1) (layers *.Cu *.Mask)
(net 1 "Net-(C1-Pad2)") (tstamp a9206b2b-cfcc-466f-81ba-e763a0afb122))
(model "${KISYS3DMOD}/Capacitor_THT.3dshapes/CP_Radial_D10.0mm_P5.00mm.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_rect (start 162.5 85) (end 190 115) (layer "Edge.Cuts") (width 0.1) (fill none) (tstamp d6dc7ba5-12ea-4d23-aae3-e1f22944a80b))
(segment (start 167 98.75) (end 167.20001 98.95001) (width 1) (layer "F.Cu") (net 1) (tstamp 3763d5fd-23ae-414f-80fe-60c053b93edf))
(segment (start 165.5 98.75) (end 167 98.75) (width 1) (layer "F.Cu") (net 1) (tstamp 4bb8694e-4af2-4323-88be-6408e12be99f))
(segment (start 167.20001 98.95001) (end 167.20001 103.93001) (width 1) (layer "F.Cu") (net 1) (tstamp 6badcf5a-4110-4424-871b-5fcc4354d868))
(segment (start 167.94 104.67) (end 172.58 104.67) (width 1) (layer "F.Cu") (net 1) (tstamp c80b70f7-bcfb-41b1-978e-44c24763a006))
(segment (start 172.58 104.67) (end 180 97.25) (width 1) (layer "F.Cu") (net 1) (tstamp dc290915-31f5-4f0b-ab64-8739fddbcb76))
(segment (start 167.20001 103.93001) (end 167.94 104.67) (width 1) (layer "F.Cu") (net 1) (tstamp f6868b20-ef70-414e-925a-2c4c9f34cb51))
(segment (start 165.5 101.25) (end 165.5 106.75) (width 1) (layer "F.Cu") (net 2) (tstamp 2404edcf-bf9e-4398-926e-3c87149c9e87))
(segment (start 165.5 101.25) (end 165.25 101.25) (width 0.25) (layer "F.Cu") (net 2) (tstamp 310f0fbf-62d2-41b4-a487-1a46623d436e))
(segment (start 165.5 106.75) (end 170 111.25) (width 1) (layer "F.Cu") (net 2) (tstamp 3644bbd8-a9d9-4c8e-8dd6-6a37d4866b02))
(segment (start 170 111.25) (end 171 111.25) (width 1) (layer "F.Cu") (net 2) (tstamp 3af17702-004e-460b-a2d0-f0d3d8066df2))
(segment (start 171 111.25) (end 180 102.25) (width 1) (layer "F.Cu") (net 2) (tstamp 55ddfac6-70ec-48ed-90ad-fc1178b0e3cc))
)

394
qa/data/issue6879.kicad_pro Executable file
View File

@ -0,0 +1,394 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.09999999999999999,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.15,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 1
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_too_small": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_too_small": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "error",
"silk_overlap": "error",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.19999999999999998,
"min_copper_edge_clearance": 0.5,
"min_hole_clearance": 0.0,
"min_hole_to_hole": 0.254,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.15,
"min_via_diameter": 0.6,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"solder_paste_clearance": 0.0,
"solder_paste_margin_ratio": -0.0
},
"track_widths": [
0.0,
1.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_sheet_names": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "Test.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 6.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 0
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 40.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.0,
"field_names": [],
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 0
},
"net_format_name": "",
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"8f39686c-273b-419b-9330-c9f7a9a20c4d",
""
]
],
"text_variables": {}
}

61
qa/data/issue6945.kicad_dru Executable file
View File

@ -0,0 +1,61 @@
(version 1)
(rule "Distance between 1mm test points"
(constraint courtyard_clearance (min 1.54mm))
(condition "A.Reference =='TP*' && B.Reference == 'TP*")
)
(rule "Distance between Vias Hole Same Nets"
(constraint hole_to_hole (min 0.254mm))
(condition "A.Type =='Via' && B.Type =='Via' && A.Net == B.Net")
)
(rule "Distance between Vias Hole Different Nets"
(constraint hole_to_hole (min 0.5mm))
(condition "A.Type =='Via' && B.Type =='Via' && A.Net != B.Net")
)
(rule "Via Hole to Track Clearance"
(constraint hole_clearance (min 0.254mm))
(condition "A.Type =='Via' && B.Type =='Track'")
)
(rule "Pad to Track Clearance"
(constraint clearance (min 0.2mm))
(condition "A.Type =='Pad' && B.Type =='Track'")
)
(rule "Distance between Pads Hole Same Nets"
(constraint hole_to_hole (min 0.254mm))
(condition "A.Type =='Pad' && B.Type =='Pad' && A.Net == B.Net")
)
(rule "Distance between Pads Hole Different Nets"
(constraint hole_to_hole (min 0.50mm))
(condition "A.Type =='Pad' && B.Type =='Pad' && A.Net != B.Net")
)
(rule "PTH to Track Clearance"
(constraint hole_clearance (min 0.33mm))
(condition "A.Type == 'Pad' && A.Pad_Type == 'Through-hole' && B.Type =='Track'")
)
(rule "NPTH to Track Clearance"
(constraint hole_clearance (min 0.254mm))
(condition "(A.Type == 'Pad' && A.Pad_Type == 'NPTH, mechanical') && B.Type =='Track'")
)
(rule "Max Drill Hole Size Mechanical"
(constraint hole (max 6.3mm))
(condition "A.Pad_Type == 'NPTH, mechanical'")
)
(rule "Max Drill Hole Size PTH"
(constraint hole (max 6.35mm))
(condition "A.Pad_Type == 'Through-hole'")
)
#TEST
(rule "Disallow via in testpoint pad"
(constraint disallow via)
(condition "A.insideCourtyard('TP*')")
)

1387
qa/data/issue6945.kicad_pcb Executable file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,84 @@
(kicad_pcb (version 20210722) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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)
(50 "User.1" user)
(51 "User.2" user)
(52 "User.3" user)
(53 "User.4" user)
(54 "User.5" user)
(55 "User.6" user)
(56 "User.7" user)
(57 "User.8" user)
(58 "User.9" user)
)
(setup
(pad_to_mask_clearance 0)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 "")
(gr_rect (start 78.105 50.165) (end 228.6 130.81) (layer "Edge.Cuts") (width 0.05) (fill none) (tstamp d0d883cf-992c-40b1-8baf-44f8b31bd338))
(gr_text "Text should generate DRC warning...." (at 202.565 119.38) (layer "Edge.Cuts") (tstamp dc3e6522-5d53-4f8e-b319-7cf9c7db49ec)
(effects (font (size 1 1) (thickness 0.15)))
)
)

149
qa/data/issue7267.kicad_pcb Normal file
View File

@ -0,0 +1,149 @@
(kicad_pcb (version 20210722) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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)
(50 "User.1" user)
(51 "User.2" user)
(52 "User.3" user)
(53 "User.4" user)
(54 "User.5" user)
(55 "User.6" user)
(56 "User.7" user)
(57 "User.8" user)
(58 "User.9" user)
)
(setup
(stackup
(layer "F.SilkS" (type "Top Silk Screen"))
(layer "F.Paste" (type "Top Solder Paste"))
(layer "F.Mask" (type "Top Solder Mask") (color "Green") (thickness 0.01))
(layer "F.Cu" (type "copper") (thickness 0.035))
(layer "dielectric 1" (type "core") (thickness 1.51) (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") (color "Green") (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)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 "")
(net 1 "signal")
(footprint "Housings_DIP:DIP-14_W7.62mm_LongPads" (layer "F.Cu")
(tedit 6105426B) (tstamp 3bd3a1e0-b35d-4974-99fa-33d3eee5d601)
(at 154.305 74.93)
(descr "14-lead dip package, row spacing 7.62 mm (300 mils), longer pads")
(tags "dil dip 2.54 300")
(attr through_hole)
(fp_text reference "REF**" (at 0 -5.22) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 59609e9e-6f8e-414a-8e1a-68271157d0f4)
)
(fp_text value "DIP-14_W7.62mm_LongPads" (at 0 -3.72) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 777520c7-f251-417a-a971-c4b28beed159)
)
(fp_line (start 0.135 17.535) (end 0.135 16.265) (layer "F.SilkS") (width 0.15) (tstamp 0b79ddb5-29b5-4d02-b254-210c2c0bc52a))
(fp_line (start 0.135 17.535) (end 7.485 17.535) (layer "F.SilkS") (width 0.15) (tstamp 0f83140d-7d8e-4df7-9004-7d55d208e970))
(fp_line (start 7.485 -2.295) (end 7.485 -1.025) (layer "F.SilkS") (width 0.15) (tstamp 47d1c952-cc7e-48d8-8bf3-43e84030b5b6))
(fp_line (start 7.485 17.535) (end 7.485 16.265) (layer "F.SilkS") (width 0.15) (tstamp 4a6fe592-662f-4920-ac12-4fe3becc67da))
(fp_line (start 0.135 -1.025) (end -1.15 -1.025) (layer "F.SilkS") (width 0.15) (tstamp 4c82108f-9f12-4804-907e-f81706f9251d))
(fp_line (start 0.135 -2.295) (end 7.485 -2.295) (layer "F.SilkS") (width 0.15) (tstamp e79a53c0-2b0d-4f45-9b3a-0d8f6a3f73f2))
(fp_line (start 0.135 -2.295) (end 0.135 -1.025) (layer "F.SilkS") (width 0.15) (tstamp fddf502b-35d9-4c79-83ea-e86b1347b469))
(fp_rect (start 2.286 0.127) (end 5.334 14.732) (layer "Edge.Cuts") (width 0.05) (fill none) (tstamp 1d78c688-c2db-4868-a03f-0436a459cbaf))
(fp_line (start 9 -2.45) (end 9 17.7) (layer "F.CrtYd") (width 0.05) (tstamp 2fe33ec7-1451-4a28-bf38-24c176dee936))
(fp_line (start -1.4 -2.45) (end -1.4 17.7) (layer "F.CrtYd") (width 0.05) (tstamp 9873122d-04aa-4cf6-96df-5df12ef3440f))
(fp_line (start -1.4 -2.45) (end 9 -2.45) (layer "F.CrtYd") (width 0.05) (tstamp 9abef0ec-7068-4aa5-a4b2-c8cd8b0ceb6e))
(fp_line (start -1.4 17.7) (end 9 17.7) (layer "F.CrtYd") (width 0.05) (tstamp c1c9a072-3005-4d0b-b7f6-70565ddfb731))
(pad "1" thru_hole oval locked (at 0 0) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 2fe6f3ef-3519-45f5-bd91-8d7847304292))
(pad "2" thru_hole oval locked (at 0 2.54) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 4f8caf82-f2fe-4ebb-b03c-0226aa886a96))
(pad "3" thru_hole oval locked (at 0 5.08) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp a01719d5-72b8-433b-882b-36b730f1b10d))
(pad "4" thru_hole oval locked (at 0 7.62) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask)
(net 1 "signal") (tstamp 7616ae07-fea3-41ec-baf7-0f401270819a))
(pad "5" thru_hole oval locked (at 0 10.16) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 3443dd40-4950-45cf-ab02-9e2253c6bb3c))
(pad "6" thru_hole oval locked (at 0 12.7) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp cf6b8e1e-93f3-4e63-9f77-8c9ec064201c))
(pad "7" thru_hole oval locked (at 0 15.24) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp f522aabe-6821-4dcd-853d-a284f451356d))
(pad "8" thru_hole oval locked (at 7.62 15.24) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp db0b3374-d270-4249-87b7-9a0a6163297e))
(pad "9" thru_hole oval locked (at 7.62 12.7) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 07dd9b8f-a4b6-4b90-9868-4559ed6f6a32))
(pad "10" thru_hole oval locked (at 7.62 10.16) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 036d5919-6a4b-49ac-851e-0b99804de700))
(pad "11" thru_hole oval locked (at 7.62 7.62) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 54ecef87-4bce-44eb-93cf-a1f86ce2bb62))
(pad "12" thru_hole oval locked (at 7.62 5.08) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask)
(net 1 "signal") (tstamp 2f3483f5-a99f-4f68-b6b1-fe893d5ab874))
(pad "13" thru_hole oval locked (at 7.62 2.54) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp 30760006-239e-48b2-9ad2-bdc85ca119ed))
(pad "14" thru_hole oval locked (at 7.62 0) (size 2.3 1.6) (drill 0.8) (layers *.Cu *.Mask) (tstamp fefb1ddf-3d2b-4862-9521-565bc091912b))
(model "Housings_DIP.3dshapes/DIP-14_W7.62mm_LongPads.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_rect (start 78.105 50.165) (end 228.6 130.81) (layer "Edge.Cuts") (width 0.05) (fill none) (tstamp d0d883cf-992c-40b1-8baf-44f8b31bd338))
(segment (start 159.385 80.01) (end 156.845 82.55) (width 0.25) (layer "F.Cu") (net 1) (tstamp 21b5daa4-e65f-4e1c-a333-2091740a1e4a))
(segment (start 156.845 82.55) (end 154.305 82.55) (width 0.25) (layer "F.Cu") (net 1) (tstamp 3d3d3243-6bbc-49ec-beed-2a25912450f2))
(segment (start 161.925 80.01) (end 238.125 80.01) (width 0.25) (layer "F.Cu") (net 1) (tstamp 621611c9-2b28-46fa-ba36-db611bc29586))
(segment (start 161.925 80.01) (end 159.385 80.01) (width 0.25) (layer "F.Cu") (net 1) (tstamp d3322cbe-61d2-451b-b61a-efdb757a7742))
)

427
qa/data/issue7267.kicad_pro Executable file
View File

@ -0,0 +1,427 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.0,
"copper_text_size_v": 1.0,
"copper_text_thickness": 0.19999999999999998,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 1,
"dimension_units": 2,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 1,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 0.8128,
"fab_text_size_v": 0.8128,
"fab_text_thickness": 0.15239999999999998,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 0.8128,
"other_text_size_v": 0.8128,
"other_text_thickness": 0.15239999999999998,
"other_text_upright": false,
"pads": {
"drill": 3.2,
"height": 6.0,
"width": 6.0
},
"silk_line_width": 0.15239999999999998,
"silk_text_italic": false,
"silk_text_size_h": 0.8128,
"silk_text_size_v": 0.8128,
"silk_text_thickness": 0.15239999999999998,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.2032
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 1
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "ignore",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.2032,
"min_copper_edge_clearance": 0.19999999999999998,
"min_hole_clearance": 0.0,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.15,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.2032,
"min_via_annular_width": 0.15,
"min_via_diameter": 0.6,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"solder_paste_clearance": 0.0,
"solder_paste_margin_ratio": -0.0
},
"track_widths": [
0.0,
0.2032,
0.254,
0.3048,
0.4064,
0.508,
0.6096,
0.8128,
1.016,
1.27,
1.524,
1.778,
2.032,
2.286,
2.54
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
},
{
"diameter": 0.6,
"drill": 0.3
},
{
"diameter": 0.7,
"drill": 0.4
},
{
"diameter": 0.8,
"drill": 0.5
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_sheet_names": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "error",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "020.02.010.0221.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2032,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2032,
"via_diameter": 0.6,
"via_drill": 0.3,
"wire_width": 6.0
}
],
"meta": {
"version": 0
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 36.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.0,
"field_names": [],
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 0
},
"net_format_name": "",
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"155f8eea-0e5f-4cd4-af54-d2a6a7cc5844",
"AM2315 sensors I2C interface"
],
[
"3171c8e1-e8bd-4b55-9726-8c0ea0490320",
"230V & general interface"
],
[
"155f8eea-0e5f-4cd4-af54-d2a6a7cc5844",
""
]
],
"text_variables": {}
}

7
qa/data/issue7325.kicad_dru Executable file
View File

@ -0,0 +1,7 @@
#(version 1.0)
#(rule silk2via
# (constraint silk_clearance(min 0.15mm))
# (condition "A.Type=='*Text' && B.Type=='Via'"))
#(rule silk2via1
#(constraint silk_clearance(min 0.15mm))
#(condition "A.Type=='Graphic*' && B.Type=='Via'"))

57761
qa/data/issue7325.kicad_pcb Executable file

File diff suppressed because it is too large Load Diff

427
qa/data/issue7325.kicad_pro Executable file
View File

@ -0,0 +1,427 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.0,
"copper_text_size_v": 1.0,
"copper_text_thickness": 0.19999999999999998,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 1,
"dimension_units": 2,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 1,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 0.8128,
"fab_text_size_v": 0.8128,
"fab_text_thickness": 0.15239999999999998,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 0.8128,
"other_text_size_v": 0.8128,
"other_text_thickness": 0.15239999999999998,
"other_text_upright": false,
"pads": {
"drill": 3.2,
"height": 6.0,
"width": 6.0
},
"silk_line_width": 0.15239999999999998,
"silk_text_italic": false,
"silk_text_size_h": 0.8128,
"silk_text_size_v": 0.8128,
"silk_text_thickness": 0.15239999999999998,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.2032
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 1
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "ignore",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.2032,
"min_copper_edge_clearance": 0.19999999999999998,
"min_hole_clearance": 0.0,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.15,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.2032,
"min_via_annular_width": 0.15,
"min_via_diameter": 0.6,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"solder_paste_clearance": 0.0,
"solder_paste_margin_ratio": -0.0
},
"track_widths": [
0.0,
0.2032,
0.254,
0.3048,
0.4064,
0.508,
0.6096,
0.8128,
1.016,
1.27,
1.524,
1.778,
2.032,
2.286,
2.54
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
},
{
"diameter": 0.6,
"drill": 0.3
},
{
"diameter": 0.7,
"drill": 0.4
},
{
"diameter": 0.8,
"drill": 0.5
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_sheet_names": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "error",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "020.02.010.0221.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2032,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2032,
"via_diameter": 0.6,
"via_drill": 0.3,
"wire_width": 6.0
}
],
"meta": {
"version": 0
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 36.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.0,
"field_names": [],
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 0
},
"net_format_name": "",
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"155f8eea-0e5f-4cd4-af54-d2a6a7cc5844",
"AM2315 sensors I2C interface"
],
[
"3171c8e1-e8bd-4b55-9726-8c0ea0490320",
"230V & general interface"
],
[
"155f8eea-0e5f-4cd4-af54-d2a6a7cc5844",
""
]
],
"text_variables": {}
}

View File

@ -0,0 +1,9 @@
(version 1)
(rule "keepout holes"
(constraint disallow hole)
(condition "A.insideArea('NoBottomFootprints')" )
)
(rule "keepout bottom footprints"
(constraint disallow pad)
(condition "A.Layer_Bottom && A.insideArea('NoBottomFootprints')" )
)

343
qa/data/issue7567.kicad_pcb Normal file
View File

@ -0,0 +1,343 @@
(kicad_pcb (version 20210126) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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") (color "Green") (thickness 0.01))
(layer "F.Cu" (type "copper") (thickness 0.035))
(layer "dielectric 1" (type "core") (thickness 1.51) (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") (color "Green") (thickness 0.01))
(layer "B.Paste" (type "Bottom Solder Paste"))
(layer "B.SilkS" (type "Bottom Silk Screen"))
(copper_finish "None")
(dielectric_constraints no)
)
(aux_axis_origin 96.52 144.78)
(grid_origin 96.52 144.78)
(pcbplotparams
(layerselection 0x00000fc_80000001)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 0)
(scaleselection 1)
(outputdirectory "")
)
)
(net 0 "")
(net 1 "GND")
(net 2 "+5V")
(net 3 "+3V3")
(net 4 "GPIO_SPI_CS#")
(net 5 "GPIO_UART1_TXD")
(net 6 "GPIO_SPI_MISO")
(net 7 "GPIO_UART1_RXD")
(net 8 "GPIO_SPI_MOSI")
(net 9 "GPIO_UART1_CTS")
(net 10 "GPIO_SPI_CLK")
(net 11 "GPIO_UART1_RTS")
(net 12 "GPIO_I2C_SCL")
(net 13 "GPIO_I2S_CLK")
(net 14 "GPIO_I2C_SDA")
(net 15 "GPIO_I2S_FRM")
(net 16 "GPIO_UART2_TXD")
(net 17 "GPIO_I2S_DO")
(net 18 "GPIO_UART2_RXD")
(net 19 "GPIO_I2S_DI")
(net 20 "GPIO_S5_0")
(net 21 "GPIO_PWM0")
(net 22 "GPIO_S5_1")
(net 23 "GPIO_PWM1")
(net 24 "GPIO_S5_2")
(net 25 "I2SMCLK_GPIO")
(footprint "Pin_Headers:Pin_Header_Straight_2x13" locked (layer "F.Cu")
(tedit 577F1E14) (tstamp 00000000-0000-0000-0000-000057710c62)
(at 109.855 142.24 90)
(descr "Through hole pin header")
(tags "pin header")
(path "/00000000-0000-0000-0000-0000576c994f")
(attr through_hole)
(fp_text reference "P1" (at 1.27 -3.175 90) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp df6ea7ea-4c97-406e-b3d5-74ea4b56d842)
)
(fp_text value "CONN_02X13" (at 5.08 3.175 180) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 0521fa67-7953-4a88-8d72-df0659d06791)
)
(fp_line (start 3.81 31.75) (end -1.27 31.75) (layer "F.SilkS") (width 0.15) (tstamp 30162e69-e978-4092-8abd-fb8cf99fe5ab))
(fp_line (start 3.81 -1.27) (end 3.81 31.75) (layer "F.SilkS") (width 0.15) (tstamp 3167fff6-db1d-4c63-8d24-a011d71fcd96))
(fp_line (start -1.27 1.27) (end -1.27 31.75) (layer "F.SilkS") (width 0.15) (tstamp 4ec22dd7-3cbb-4efa-95a5-9b85d3a13668))
(fp_line (start -1.55 -1.55) (end -1.55 0) (layer "F.SilkS") (width 0.15) (tstamp 520abb36-f693-4622-b926-5fd5e9d9c40f))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer "F.SilkS") (width 0.15) (tstamp 76480a74-d043-445b-9be1-34656ab0d843))
(fp_line (start 1.27 1.27) (end -1.27 1.27) (layer "F.SilkS") (width 0.15) (tstamp 8ca8e6ad-651f-477d-a59c-8edaf8b2b42c))
(fp_line (start 3.81 -1.27) (end 1.27 -1.27) (layer "F.SilkS") (width 0.15) (tstamp dbee2a3c-b78c-4689-9dd1-8914940b4295))
(fp_line (start 1.27 -1.27) (end 1.27 1.27) (layer "F.SilkS") (width 0.15) (tstamp fe0079fa-49e6-44bd-858a-d6eca245c70a))
(fp_line (start -1.75 -1.75) (end -1.75 32.25) (layer "F.CrtYd") (width 0.05) (tstamp 21911c5e-dd6e-443e-bc92-e82c3328f409))
(fp_line (start 4.3 -1.75) (end 4.3 32.25) (layer "F.CrtYd") (width 0.05) (tstamp 77f54041-c0e8-49fd-9556-2a085e8bb35a))
(fp_line (start -1.75 32.25) (end 4.3 32.25) (layer "F.CrtYd") (width 0.05) (tstamp cbcc1b9b-48ca-474c-acf7-2372da4972d7))
(fp_line (start -1.75 -1.75) (end 4.3 -1.75) (layer "F.CrtYd") (width 0.05) (tstamp ce51c7f4-52d7-4410-99e2-85e15b2e1ca9))
(pad "1" thru_hole rect (at 0 0 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 1 "GND") (tstamp 50e46035-d009-4bc9-9144-01a2b287fa35))
(pad "2" thru_hole oval (at 2.54 0 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 1 "GND") (tstamp da748863-9757-41e5-820a-7f527a6b67f4))
(pad "3" thru_hole oval (at 0 2.54 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 2 "+5V") (tstamp 5e5f556f-b431-451a-97db-c239bfdb6b76))
(pad "4" thru_hole oval (at 2.54 2.54 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 3 "+3V3") (tstamp 3549d9b3-8d6e-45c8-9dc8-155d51b3f1f4))
(pad "5" thru_hole oval (at 0 5.08 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 4 "GPIO_SPI_CS#") (tstamp bb0fbcdb-2c6a-42d9-b77d-949cc4808960))
(pad "6" thru_hole oval (at 2.54 5.08 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 5 "GPIO_UART1_TXD") (tstamp 12b020e9-d4e0-43a5-806a-e9106735ab66))
(pad "7" thru_hole oval (at 0 7.62 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 6 "GPIO_SPI_MISO") (tstamp 7693013d-863f-442e-99fb-6039d8b588de))
(pad "8" thru_hole oval (at 2.54 7.62 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 7 "GPIO_UART1_RXD") (tstamp bc5ffcde-e33e-441d-b6ac-3e6afc4d94e7))
(pad "9" thru_hole oval (at 0 10.16 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 8 "GPIO_SPI_MOSI") (tstamp 7f45ed09-d0b5-4fac-9eb4-20ee6c6f07a5))
(pad "10" thru_hole oval (at 2.54 10.16 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 9 "GPIO_UART1_CTS") (tstamp 98154aac-31dc-461f-bfc2-29e338d032b8))
(pad "11" thru_hole oval (at 0 12.7 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 10 "GPIO_SPI_CLK") (tstamp fe7b12bd-1172-47eb-89b1-4e16aee85fab))
(pad "12" thru_hole oval (at 2.54 12.7 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 11 "GPIO_UART1_RTS") (tstamp f205cafc-4bc4-4231-937b-c32e5ee0917f))
(pad "13" thru_hole oval (at 0 15.24 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 12 "GPIO_I2C_SCL") (tstamp 0d650c51-94a2-4a05-b514-dcca6c661b70))
(pad "14" thru_hole oval (at 2.54 15.24 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 13 "GPIO_I2S_CLK") (tstamp 62385088-5982-4c59-83ee-a3e784b8dcc6))
(pad "15" thru_hole oval (at 0 17.78 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 14 "GPIO_I2C_SDA") (tstamp 13faa25d-676b-4b52-bb43-20b12e4ee67b))
(pad "16" thru_hole oval (at 2.54 17.78 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 15 "GPIO_I2S_FRM") (tstamp 12e0b964-6275-4d6d-bc8e-1115d1e67dd0))
(pad "17" thru_hole oval (at 0 20.32 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 16 "GPIO_UART2_TXD") (tstamp e6f77aad-8f77-428b-b3da-8b4736e0a396))
(pad "18" thru_hole oval (at 2.54 20.32 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 17 "GPIO_I2S_DO") (tstamp 456b7b6c-732b-4dd9-bb8c-bbfb8fd8ea8c))
(pad "19" thru_hole oval (at 0 22.86 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 18 "GPIO_UART2_RXD") (tstamp 6d5620cd-9778-4c77-be23-94a57f004611))
(pad "20" thru_hole oval (at 2.54 22.86 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 19 "GPIO_I2S_DI") (tstamp 31a6a5b8-e9b4-41b0-be22-3a2ae05ecc51))
(pad "21" thru_hole oval (at 0 25.4 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 20 "GPIO_S5_0") (tstamp 5426cde5-01bb-4e04-b1c2-1eb7426cbec8))
(pad "22" thru_hole oval (at 2.54 25.4 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 21 "GPIO_PWM0") (tstamp 4c4613cf-50b8-4d30-b330-d44b7505f7a5))
(pad "23" thru_hole oval (at 0 27.94 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 22 "GPIO_S5_1") (tstamp 040a8c56-a2c5-489c-8167-8b7186664393))
(pad "24" thru_hole oval (at 2.54 27.94 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 23 "GPIO_PWM1") (tstamp 376a7697-de73-4228-b597-7420574cb8f4))
(pad "25" thru_hole oval (at 0 30.48 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 24 "GPIO_S5_2") (tstamp ad3c0573-42eb-4ab4-acec-a839887126ca))
(pad "26" thru_hole oval (at 2.54 30.48 90) (locked) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask "F.SilkS")
(net 25 "I2SMCLK_GPIO") (tstamp 874ff977-dbaa-4613-abf6-c2d848b5b3f0))
(model "Pin_Headers.3dshapes/Pin_Header_Straight_2x13.wrl"
(offset (xyz 1.269999980926514 -15.23999977111816 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 90))
)
)
(footprint "Mounting_Holes:MountingHole_3-5mm" locked (layer "F.Cu")
(tedit 58633422) (tstamp 00000000-0000-0000-0000-0000577da462)
(at 191.77 140.97)
(descr "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(tags "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(path "/00000000-0000-0000-0000-000058633372")
(attr through_hole)
(fp_text reference "MK2" (at 0 -4.50088) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ff4093c6-37e5-4062-80ab-cee0613ea782)
)
(fp_text value "Mounting_Hole" (at 0 5.00126) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 36b1a5f8-8293-4311-8bd7-8513e6eb0138)
)
(fp_circle (center 0 0) (end 3.5 0) (layer "Cmts.User") (width 0.381) (fill none) (tstamp 4c0a7678-dfed-4c31-b09a-348c5d219b65))
(pad "1" thru_hole circle (at 0 0) (locked) (size 3.5 3.5) (drill 3.5) (layers) (tstamp 86ce1d0e-da25-49eb-ae42-604350131569))
)
(footprint "Mounting_Holes:MountingHole_3-5mm" locked (layer "F.Cu")
(tedit 58633418) (tstamp 00000000-0000-0000-0000-0000577f1cae)
(at 100.33 140.97)
(descr "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(tags "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(path "/00000000-0000-0000-0000-000058633409")
(attr through_hole)
(fp_text reference "MK1" (at 0 -4.50088) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp fdb9b92b-133b-4b47-8202-34e9c2a71818)
)
(fp_text value "Mounting_Hole" (at 0 5.00126) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ca7648fb-bd9d-45ae-8e68-a244b40b89bf)
)
(fp_circle (center 0 0) (end 3.5 0) (layer "Cmts.User") (width 0.381) (fill none) (tstamp cfd355b8-7252-45d7-a9a6-e63b1c0f609e))
(pad "1" thru_hole circle (at 0 0) (locked) (size 3.5 3.5) (drill 3.5) (layers) (tstamp 342f95af-1da3-4ffa-a9ef-dbc51ce2b75b))
)
(footprint "Mounting_Holes:MountingHole_3-5mm" locked (layer "F.Cu")
(tedit 58633440) (tstamp 00000000-0000-0000-0000-0000577f1cb9)
(at 100.33 74.93)
(descr "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(tags "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(path "/00000000-0000-0000-0000-00005863348e")
(attr through_hole)
(fp_text reference "MK4" (at 0 -4.50088) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 89f8f381-144b-4f6d-97c0-9d50963af224)
)
(fp_text value "Mounting_Hole" (at 0 5.00126) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ff263f3e-bbfb-4282-8c12-7e0a8c90d9df)
)
(fp_circle (center 0 0) (end 3.5 0) (layer "Cmts.User") (width 0.381) (fill none) (tstamp 76b47b06-f231-4716-8dcb-54ce4ae94eba))
(pad "1" thru_hole circle (at 0 0) (locked) (size 3.5 3.5) (drill 3.5) (layers) (tstamp 6cb52416-0698-4f08-a129-189ae148bc82))
)
(footprint "Mounting_Holes:MountingHole_3-5mm" locked (layer "F.Cu")
(tedit 58633432) (tstamp 00000000-0000-0000-0000-0000577f1cc4)
(at 191.77 74.93)
(descr "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(tags "Mounting hole, Befestigungsbohrung, 3,5mm, No Annular, Kein Restring,")
(path "/00000000-0000-0000-0000-000058633454")
(attr through_hole)
(fp_text reference "MK3" (at 0 -4.50088) (layer "F.SilkS") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ec3af793-b9a1-4776-987a-62dc3ac44e4a)
)
(fp_text value "Mounting_Hole" (at 0 5.00126) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 8c0e2f03-e8db-4bd4-ad91-3d9de85fd0f2)
)
(fp_circle (center 0 0) (end 3.5 0) (layer "Cmts.User") (width 0.381) (fill none) (tstamp 66a6fefc-396c-447b-beb4-eae4fe6b8a65))
(pad "1" thru_hole circle (at 0 0) (locked) (size 3.5 3.5) (drill 3.5) (layers) (tstamp 93ef87f2-708b-4e52-b54c-2cbd6740e799))
)
(footprint "Resistor_SMD:R_0201_0603Metric" (layer "F.Cu")
(tedit 5B301BBD) (tstamp c6d657fd-5fb9-4795-b35b-b8b571ac9973)
(at 108.52 103.78)
(descr "Resistor SMD 0201 (0603 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://www.vishay.com/docs/20052/crcw0201e3.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(attr smd)
(fp_text reference "REF**" (at 0 -1.05) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp b6a6c6e2-647b-497b-8063-30c5dc6ae238)
)
(fp_text value "R_0201_0603Metric" (at 0 1.05) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp c2ff6069-851b-4586-b813-0d29f1cbb91b)
)
(fp_text user "${REFERENCE}" (at 0 -0.68) (layer "F.Fab")
(effects (font (size 0.25 0.25) (thickness 0.04)))
(tstamp 0f52edb2-e666-4472-ab5f-bb943a6d007e)
)
(fp_line (start -0.7 0.35) (end -0.7 -0.35) (layer "F.CrtYd") (width 0.05) (tstamp 45f6e2c1-c089-4110-a24d-4249fde80857))
(fp_line (start 0.7 -0.35) (end 0.7 0.35) (layer "F.CrtYd") (width 0.05) (tstamp 7ec5d1ba-e069-46ae-9fc3-70f2e9b2906e))
(fp_line (start -0.7 -0.35) (end 0.7 -0.35) (layer "F.CrtYd") (width 0.05) (tstamp d056470e-03a4-4f41-8395-855673becbea))
(fp_line (start 0.7 0.35) (end -0.7 0.35) (layer "F.CrtYd") (width 0.05) (tstamp fb1761cf-0ef1-4597-8f11-48d5c123d152))
(fp_line (start 0.3 0.15) (end -0.3 0.15) (layer "F.Fab") (width 0.1) (tstamp 19f10a3f-3d39-4d89-b75d-d9a5d401cf26))
(fp_line (start 0.3 -0.15) (end 0.3 0.15) (layer "F.Fab") (width 0.1) (tstamp 3d91e15e-8b12-4a4b-b942-ea0234aad4d4))
(fp_line (start -0.3 -0.15) (end 0.3 -0.15) (layer "F.Fab") (width 0.1) (tstamp e04c0cff-46c6-4a93-a0a4-b1521960a47e))
(fp_line (start -0.3 0.15) (end -0.3 -0.15) (layer "F.Fab") (width 0.1) (tstamp fd9b1b23-22c5-4c46-83f1-64f36867c37d))
(pad "" smd roundrect (at -0.345 0) (locked) (size 0.318 0.36) (layers "F.Paste") (roundrect_rratio 0.25) (tstamp 05de845e-b7f4-43e8-bc7c-621f0a3d63eb))
(pad "" smd roundrect (at 0.345 0) (locked) (size 0.318 0.36) (layers "F.Paste") (roundrect_rratio 0.25) (tstamp f3ca4cf6-bb49-45aa-bbc0-df85cd44b58f))
(pad "1" smd roundrect (at -0.32 0) (locked) (size 0.46 0.4) (layers "F.Cu" "F.Mask") (roundrect_rratio 0.25) (tstamp a2d80f69-5f89-4bbd-a0e6-bd1f2450f16f))
(pad "2" smd roundrect (at 0.32 0) (locked) (size 0.46 0.4) (layers "F.Cu" "F.Mask") (roundrect_rratio 0.25) (tstamp 377331a3-75db-48e6-8254-e27dc43ff779))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0201_0603Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_line (start 195.58 71.12) (end 96.52 71.12) (angle 90) (layer "Edge.Cuts") (width 0.15) (tstamp 2668eae5-e838-4dec-a87d-2b40a098a0a2))
(gr_line (start 96.52 144.78) (end 195.58 144.78) (angle 90) (layer "Edge.Cuts") (width 0.15) (tstamp 4db5a4c9-4072-41cd-a257-fadcefa47294))
(gr_line (start 195.58 144.78) (end 195.58 71.12) (angle 90) (layer "Edge.Cuts") (width 0.15) (tstamp c5eebce5-78a3-4142-8902-e211c6cd5c8f))
(gr_line (start 96.52 71.12) (end 96.52 144.78) (angle 90) (layer "Edge.Cuts") (width 0.15) (tstamp deb9b139-58fd-49d8-9b12-09ad44d4f842))
(target plus (at 96.52 144.78) (size 5) (width 0.15) (layer "Edge.Cuts") (tstamp 0656fbe8-d593-4158-9bf3-80d6a1b2e6a0))
(zone (net 0) (net_name "") (layer "B.Cu") (tstamp 7ecf5a8d-7053-4645-8dde-8ebe3d86d387) (name "NoBottomFootprints") (hatch full 0.508)
(connect_pads (clearance 0))
(min_thickness 0.254)
(keepout (tracks allowed) (vias allowed) (pads allowed ) (copperpour allowed) (footprints allowed))
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 114.96 110.15)
(xy 96.52 110.15)
(xy 96.52 92.05)
(xy 114.96 92.05)
)
)
)
(zone (net 0) (net_name "") (layer "B.Cu") (tstamp a318326d-41b9-4ad1-a1b1-e90c920d74a2) (name "NoBottomFootprints") (hatch full 0.508)
(connect_pads (clearance 0))
(min_thickness 0.254)
(keepout (tracks allowed) (vias allowed) (pads allowed ) (copperpour allowed) (footprints not_allowed))
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 195.58 112.02)
(xy 178.86 112.02)
(xy 178.86 96.83)
(xy 195.58 96.83)
)
)
)
)

176
qa/data/issue8003.kicad_pcb Executable file
View File

@ -0,0 +1,176 @@
(kicad_pcb (version 20210228) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4")
(layers
(0 "F.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)
(50 "User.1" user)
(51 "User.2" user)
(52 "User.3" user)
(53 "User.4" user)
(54 "User.5" user)
(55 "User.6" user)
(56 "User.7" user)
(57 "User.8" user)
(58 "User.9" user)
)
(setup
(pad_to_mask_clearance 0)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes true)
(usegerberadvancedattributes true)
(creategerberjobfile true)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(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 "")
(net 1 "/NET_B")
(net 2 "/NET_A")
(footprint "Resistor_SMD:R_1206_3216Metric" (layer "F.Cu")
(tedit 5F68FEEE) (tstamp b68b261f-f4c9-4eef-9ff6-988c61cc3af7)
(at 141.351 78.867 90)
(descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Sheetfile" "drc4.kicad_sch")
(property "Sheetname" "")
(path "/9a8b5393-bbd4-45fa-9ab2-b594d7c05cb6")
(attr smd)
(fp_text reference "R1" (at 0.127 2.0574 90) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 254bdf2d-d49b-452a-9897-795d9599eed4)
)
(fp_text value "10k" (at 0 1.82 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 1865a67d-1664-4d96-911b-938a14f746b9)
)
(fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
(effects (font (size 0.8 0.8) (thickness 0.12)))
(tstamp 4a9b9b15-194c-4782-8e95-78cb930f8c9b)
)
(fp_line (start -0.727064 -0.91) (end 0.727064 -0.91) (layer "F.SilkS") (width 0.12) (tstamp b0089ac4-7bc4-4525-92d3-216f60e81c1d))
(fp_line (start -0.727064 0.91) (end 0.727064 0.91) (layer "F.SilkS") (width 0.12) (tstamp ddde4b4e-5356-4156-b6cc-8a7f3eb720cf))
(fp_line (start -2.28 -1.12) (end 2.28 -1.12) (layer "F.CrtYd") (width 0.05) (tstamp 6b778cda-fdd8-4407-b62a-093e677637f9))
(fp_line (start 2.28 -1.12) (end 2.28 1.12) (layer "F.CrtYd") (width 0.05) (tstamp da85902f-328c-42c8-aeb4-473134dff5da))
(fp_line (start 2.28 1.12) (end -2.28 1.12) (layer "F.CrtYd") (width 0.05) (tstamp f5e73456-a50d-4267-a859-b88b4cdcdb42))
(fp_line (start -2.28 1.12) (end -2.28 -1.12) (layer "F.CrtYd") (width 0.05) (tstamp ffc540a3-0864-46af-8164-c3b19b9eb622))
(fp_line (start 1.6 0.8) (end -1.6 0.8) (layer "F.Fab") (width 0.1) (tstamp 31a251c4-fd62-4958-9ad2-c98c1c153758))
(fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer "F.Fab") (width 0.1) (tstamp 57c6cf04-f25a-4eb2-89c5-bfc561cc28c2))
(fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer "F.Fab") (width 0.1) (tstamp d646a40a-faef-4906-b541-818321c1a58a))
(fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer "F.Fab") (width 0.1) (tstamp e5f2a5e0-5af2-409c-a9cd-236a55b46972))
(pad "1" smd roundrect (at -1.4625 0 90) (locked) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
(net 2 "/NET_A") (pintype "passive") (tstamp c69de6ad-e39a-4788-a757-b7516dce18a6))
(pad "2" smd roundrect (at 1.4625 0 90) (locked) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
(net 1 "/NET_B") (pintype "passive") (tstamp 64df41cd-249a-44e2-8ece-db9044298f6e))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_1206_3216Metric" (layer "F.Cu")
(tedit 5F68FEEE) (tstamp f14ef839-68d9-418e-ad16-64736560725d)
(at 135.509 77.851 90)
(descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Sheetfile" "drc4.kicad_sch")
(property "Sheetname" "")
(path "/03610aed-5c3d-40b0-978d-59519cfeb402")
(attr smd)
(fp_text reference "R2" (at 0 -1.82 90) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 986e4117-8fd6-4956-92bc-2f11fcba2513)
)
(fp_text value "10k" (at 0 1.82 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp efd356e0-9fbc-4eba-b41e-a09ea03128ed)
)
(fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab")
(effects (font (size 0.8 0.8) (thickness 0.12)))
(tstamp 809a3f4f-871d-42c0-933f-934021ed715d)
)
(fp_line (start -0.727064 -0.91) (end 0.727064 -0.91) (layer "F.SilkS") (width 0.12) (tstamp 4292c661-4eb3-43f7-8718-8c91a9e1637b))
(fp_line (start -0.727064 0.91) (end 0.727064 0.91) (layer "F.SilkS") (width 0.12) (tstamp e82654a8-5bfa-4229-b151-0284374c6ca9))
(fp_line (start 2.28 -1.12) (end 2.28 1.12) (layer "F.CrtYd") (width 0.05) (tstamp 00dd09e3-562c-4a68-9c39-97744c61c9a6))
(fp_line (start -2.28 -1.12) (end 2.28 -1.12) (layer "F.CrtYd") (width 0.05) (tstamp 7f96b14e-a999-4d90-8ae1-42c1ffcc021f))
(fp_line (start -2.28 1.12) (end -2.28 -1.12) (layer "F.CrtYd") (width 0.05) (tstamp 8b9c1d99-4b8f-4fe7-a139-663a2b2adcea))
(fp_line (start 2.28 1.12) (end -2.28 1.12) (layer "F.CrtYd") (width 0.05) (tstamp 9e84a299-c391-455a-9f9f-d7bdd5e6ee8a))
(fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer "F.Fab") (width 0.1) (tstamp 03355848-54f2-498d-8fb4-ad0472fb93da))
(fp_line (start 1.6 0.8) (end -1.6 0.8) (layer "F.Fab") (width 0.1) (tstamp 3f7c3a19-588e-4554-93de-0acd855f92a0))
(fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer "F.Fab") (width 0.1) (tstamp 751ae58c-818d-4189-9578-8d12393fb4de))
(fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer "F.Fab") (width 0.1) (tstamp d3c0f7ad-d7da-4987-b647-5585bf5137b3))
(pad "1" smd roundrect (at -1.4625 0 90) (locked) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
(net 2 "/NET_A") (pintype "passive") (tstamp a202d05d-6123-4f3b-83ac-e9b52ab59302))
(pad "2" smd roundrect (at 1.4625 0 90) (locked) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
(net 1 "/NET_B") (pintype "passive") (tstamp 79a76fdb-bb70-453e-9d81-12637b5ac88f))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_rect (start 130.9624 74.1426) (end 145.669 82.3976) (layer "Edge.Cuts") (width 0.1) (fill none) (tstamp 08c0673b-d188-4c34-917e-8882ac6e1e61))
(segment (start 137.6025 76.3885) (end 138.6185 77.4045) (width 0.25) (layer "F.Cu") (net 1) (tstamp 4fafb321-75ab-428f-a223-7df9a10734e0))
(segment (start 138.6185 77.4045) (end 141.351 77.4045) (width 0.25) (layer "F.Cu") (net 1) (tstamp b14a6fe5-b108-4eb0-874f-5289bbab5bfa))
(segment (start 135.509 76.3885) (end 137.6025 76.3885) (width 0.25) (layer "F.Cu") (net 1) (tstamp d3626667-3ba8-4618-aa74-3caa02344256))
(segment (start 139.848946 79.3135) (end 135.509 79.3135) (width 0.25) (layer "F.Cu") (net 2) (tstamp 2eeacdee-4d9d-4c65-bec0-86c0df177b61))
(segment (start 141.351 80.3295) (end 141.351 78.1812) (width 0.25) (layer "F.Cu") (net 2) (tstamp cc9b6272-14ca-4190-9739-bbef74b465c0))
(segment (start 139.858023 79.304423) (end 139.848946 79.3135) (width 0.25) (layer "F.Cu") (net 2) (tstamp cf2dd366-898e-44f5-a25d-72ceb10e7a23))
(segment (start 141.351 78.1812) (end 139.858023 79.304423) (width 0.25) (layer "F.Cu") (net 2) (tstamp d9381e5d-0866-4d83-ad66-159c2205cc99))
)

View File

@ -56,21 +56,25 @@ struct DRC_REGRESSION_TEST_FIXTURE
}
std::string absPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString();
std::string projectPath = absPath + ".kicad_pro";
wxFileName projectFile( absPath + ".kicad_pro" );
std::string boardPath = absPath + ".kicad_pcb";
wxFileName rulesFile( absPath + ".kicad_dru" );
wxFileName pro( projectPath );
if( pro.Exists() )
m_settingsManager.LoadProject( pro.GetFullPath() );
if( projectFile.Exists() )
m_settingsManager.LoadProject( projectFile.GetFullPath() );
m_board = KI_TEST::ReadBoardFromFileOrStream( boardPath );
if( pro.Exists() )
if( projectFile.Exists() )
m_board->SetProject( &m_settingsManager.Prj() );
m_DRCEngine = std::make_shared<DRC_ENGINE>( m_board.get(), &m_board->GetDesignSettings() );
m_DRCEngine->InitEngine( wxFileName() );
if( rulesFile.Exists() )
m_DRCEngine->InitEngine( rulesFile );
else
m_DRCEngine->InitEngine( wxFileName() );
m_board->GetDesignSettings().m_DRCEngine = m_DRCEngine;
m_toolMgr = std::make_unique<TOOL_MANAGER>();
@ -105,15 +109,20 @@ BOOST_FIXTURE_TEST_SUITE( TestDRCRegressions, DRC_REGRESSION_TEST_FIXTURE )
constexpr int delta = KiROUND( 0.006 * IU_PER_MM );
BOOST_AUTO_TEST_CASE( DRCRegressions )
BOOST_AUTO_TEST_CASE( DRCFalsePositiveRegressions )
{
for( const wxString& relPath : { "issue4139",
"issue4774",
"issue5978",
"issue5990",
"issue6443",
"issue7975",
"issue8407" } )
// These documents at one time flagged DRC errors that they shouldn't have.
std::vector<wxString> tests = { "issue4139",
"issue4774",
"issue5978",
"issue5990",
"issue6443",
"issue7567",
"issue7975",
"issue8407" };
for( const wxString& relPath : tests )
{
loadBoard( relPath );
fillZones( 6 );
@ -121,8 +130,8 @@ BOOST_AUTO_TEST_CASE( DRCRegressions )
std::vector<DRC_ITEM> violations;
BOARD_DESIGN_SETTINGS& bds = m_board->GetDesignSettings();
bds.m_DRCSeverities[ DRCE_INVALID_OUTLINE ] = SEVERITY::RPT_SEVERITY_WARNING;
bds.m_DRCSeverities[ DRCE_UNCONNECTED_ITEMS ] = SEVERITY::RPT_SEVERITY_WARNING;
bds.m_DRCSeverities[ DRCE_INVALID_OUTLINE ] = SEVERITY::RPT_SEVERITY_IGNORE;
bds.m_DRCSeverities[ DRCE_UNCONNECTED_ITEMS ] = SEVERITY::RPT_SEVERITY_IGNORE;
m_DRCEngine->SetViolationHandler(
[&]( const std::shared_ptr<DRC_ITEM>& aItem, wxPoint aPos )
@ -133,17 +142,76 @@ BOOST_AUTO_TEST_CASE( DRCRegressions )
m_DRCEngine->RunTests( EDA_UNITS::MILLIMETRES, true, false );
BOOST_TEST_MESSAGE( wxString::Format( "DRC regression: %s, %s",
relPath,
violations.empty() ? "passed" : "failed" ) );
if( !violations.empty() )
if( violations.empty() )
{
BOOST_TEST_MESSAGE( wxString::Format( "DRC regression: %s, passed", relPath ) );
}
else
{
std::map<KIID, EDA_ITEM*> itemMap;
m_board->FillItemMap( itemMap );
for( const DRC_ITEM& item : violations )
BOOST_ERROR( item.ShowReport( EDA_UNITS::INCHES, RPT_SEVERITY_ERROR, itemMap ) );
{
BOOST_TEST_MESSAGE( item.ShowReport( EDA_UNITS::INCHES, RPT_SEVERITY_ERROR,
itemMap ) );
}
BOOST_ERROR( wxString::Format( "DRC regression: %s, failed", relPath ) );
}
}
}
BOOST_AUTO_TEST_CASE( DRCFalseNegativeRegressions )
{
// These documents at one time failed to catch DRC errors that they should have.
std::vector< std::pair<wxString, int> > tests = { { "issue1358", 2 },
{ "issue2528", 1 },
{ "issue5750", 4 },
{ "issue5854", 3 },
{ "issue6879", 6 },
{ "issue6945", 2 },
{ "issue7241", 1 },
{ "issue7267", 4 },
{ "issue7325", 21 },
{ "issue8003", 2 } };
for( const std::pair<wxString, int>& entry : tests )
{
loadBoard( entry.first );
fillZones( 6 );
std::vector<DRC_ITEM> violations;
BOARD_DESIGN_SETTINGS& bds = m_board->GetDesignSettings();
m_DRCEngine->SetViolationHandler(
[&]( const std::shared_ptr<DRC_ITEM>& aItem, wxPoint aPos )
{
violations.push_back( *aItem );
} );
m_DRCEngine->RunTests( EDA_UNITS::MILLIMETRES, true, false );
if( violations.size() == entry.second )
{
BOOST_TEST_MESSAGE( wxString::Format( "DRC regression: %s, passed", entry.first ) );
}
else
{
BOOST_CHECK_EQUAL( violations.size(), entry.second );
std::map<KIID, EDA_ITEM*> itemMap;
m_board->FillItemMap( itemMap );
for( const DRC_ITEM& item : violations )
{
BOOST_TEST_MESSAGE( item.ShowReport( EDA_UNITS::INCHES, RPT_SEVERITY_ERROR,
itemMap ) );
}
BOOST_ERROR( wxString::Format( "DRC regression: %s, failed", entry.first ) );
}
}
}

View File

@ -56,21 +56,25 @@ struct ZONE_FILL_TEST_FIXTURE
}
std::string absPath = KI_TEST::GetPcbnewTestDataDir() + relPath.ToStdString();
std::string projectPath = absPath + ".kicad_pro";
wxFileName projectFile( absPath + ".kicad_pro" );
std::string boardPath = absPath + ".kicad_pcb";
wxFileName rulesFile( absPath + ".kicad_dru" );
wxFileName pro( projectPath );
if( pro.Exists() )
m_settingsManager.LoadProject( pro.GetFullPath() );
if( projectFile.Exists() )
m_settingsManager.LoadProject( projectFile.GetFullPath() );
m_board = KI_TEST::ReadBoardFromFileOrStream( boardPath );
if( pro.Exists() )
if( projectFile.Exists() )
m_board->SetProject( &m_settingsManager.Prj() );
m_DRCEngine = std::make_shared<DRC_ENGINE>( m_board.get(), &m_board->GetDesignSettings() );
m_DRCEngine->InitEngine( wxFileName() );
if( rulesFile.Exists() )
m_DRCEngine->InitEngine( rulesFile );
else
m_DRCEngine->InitEngine( wxFileName() );
m_board->GetDesignSettings().m_DRCEngine = m_DRCEngine;
m_toolMgr = std::make_unique<TOOL_MANAGER>();
@ -233,16 +237,20 @@ BOOST_AUTO_TEST_CASE( NotchedZones )
BOOST_AUTO_TEST_CASE( RegressionZoneFillTests )
{
for( const wxString& relPath : { "issue2568",
"issue3812",
"issue5102",
"issue5320",
"issue5567",
"issue5830",
"issue6039",
"issue6260",
"issue6284",
"issue7086" } )
std::vector<wxString> tests = { "issue18",
"issue2568",
"issue3812",
"issue5102",
"issue5313",
"issue5320",
"issue5567",
"issue5830",
"issue6039",
"issue6260",
"issue6284",
"issue7086" };
for( const wxString& relPath : tests )
{
loadBoard( relPath );
@ -261,18 +269,26 @@ BOOST_AUTO_TEST_CASE( RegressionZoneFillTests )
m_DRCEngine->RunTests( EDA_UNITS::MILLIMETRES, true, false );
BOOST_TEST_MESSAGE( wxString::Format( "Zone fill regression: %s, V%d fill algo %s",
relPath,
fillVersion,
violations.empty() ? "passed" : "failed" ) );
if( !violations.empty() )
if( violations.empty() )
{
BOOST_TEST_MESSAGE( wxString::Format( "Zone fill regression: %s, V%d algo passed",
relPath,
fillVersion ) );
}
else
{
std::map<KIID, EDA_ITEM*> itemMap;
m_board->FillItemMap( itemMap );
for( const DRC_ITEM& v : violations )
BOOST_ERROR( v.ShowReport( EDA_UNITS::INCHES, RPT_SEVERITY_ERROR, itemMap ) );
for( const DRC_ITEM& item : violations )
{
BOOST_TEST_MESSAGE( item.ShowReport( EDA_UNITS::INCHES, RPT_SEVERITY_ERROR,
itemMap ) );
}
BOOST_ERROR( wxString::Format( "Zone fill regression: %s, V%d algo failed",
relPath,
fillVersion ) );
}
}
}