From 0d503479eba01fe14c959ad467a50ad82955919e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 17 Apr 2023 13:48:29 -0300 Subject: [PATCH] [Tests][KiCad 7] Adapted some test cases to 7.0.2 - Mostly to ignore new errors --- tests/board_samples/kicad_7/3Rs.kicad_pcb | 148 ++++---- .../board_samples/kicad_7/bom_w_prj.kicad_pro | 2 +- .../kicad_7/fail-project.kicad_pcb | 13 + .../kicad_7/fail-project.kicad_pro | 23 +- .../kicad_7/qr_test/qr_test.kicad_pro | 341 ++++-------------- 5 files changed, 182 insertions(+), 345 deletions(-) diff --git a/tests/board_samples/kicad_7/3Rs.kicad_pcb b/tests/board_samples/kicad_7/3Rs.kicad_pcb index 0e32118c..94eec7b3 100644 --- a/tests/board_samples/kicad_7/3Rs.kicad_pcb +++ b/tests/board_samples/kicad_7/3Rs.kicad_pcb @@ -68,46 +68,50 @@ (net 0 "") - (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" (layer "F.Cu") + (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (layer "F.Cu") (tstamp 00000000-0000-0000-0000-00005ea76d80) (at 105 35 90) - (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (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 handsolder") (attr smd) (fp_text reference "R1" (at 0 -1.65 90) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))) - (tstamp 7accab11-60c9-461f-ba53-a70ef610ef19) + (tstamp d5259baa-0c18-494f-a20f-00e295621b76) ) - (fp_text value "R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" (at 0 1.65 90) (layer "F.Fab") + (fp_text value "R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (at 0 1.65 90) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))) - (tstamp bfb2ae84-71ae-497d-817c-7afccc6c3d10) + (tstamp 0ecb0a7e-9fa6-4475-9c3c-2d77d5dd9b3b) ) (fp_text user "100" (at 0 0 90) (layer "F.Fab") (effects (font (size 0.5 0.5) (thickness 0.08))) (tstamp 3e391892-edcb-4f5c-8776-b26e20029ef6) ) - (fp_line (start -0.261252 -0.71) (end 0.261252 -0.71) - (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp f46daced-b9c6-4d64-a28c-6afb7e2c3065)) - (fp_line (start -0.261252 0.71) (end 0.261252 0.71) - (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 3011df62-c0d7-4b9c-b1f9-a9984bc57a14)) + (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab") + (effects (font (size 0.5 0.5) (thickness 0.08))) + (tstamp 78a72518-b2b7-4f29-9a93-ceaf6d4f500c) + ) + (fp_line (start -0.227064 -0.735) (end 0.227064 -0.735) + (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 0e6a97ea-ec43-4a59-a8bf-7a9a4aae7128)) + (fp_line (start -0.227064 0.735) (end 0.227064 0.735) + (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp bffce242-4ab0-43fa-81a3-a975a97adf00)) (fp_line (start -1.85 -0.95) (end 1.85 -0.95) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 4b0e6714-7a3d-4a9c-8633-296acc4bc88d)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 82480222-ae5b-4898-8cf5-2224c6106050)) (fp_line (start -1.85 0.95) (end -1.85 -0.95) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 3e9cce14-3415-452e-bdc2-0227361387b6)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 917f694c-5c2e-4604-82b0-08087c1ce9eb)) (fp_line (start 1.85 -0.95) (end 1.85 0.95) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 7cd569c7-a497-43f6-8a18-c63a614332b7)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 1cc42fde-3b61-4e84-a4f5-879bb3b91126)) (fp_line (start 1.85 0.95) (end -1.85 0.95) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 0217af6d-5725-4e07-b2d1-e6f17cf8c636)) - (fp_line (start -1 -0.6) (end 1 -0.6) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 2ddef00a-9f12-4837-8569-6063e471cad8)) - (fp_line (start -1 0.6) (end -1 -0.6) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 85bb78b4-3e17-45b4-b116-981f52407a88)) - (fp_line (start 1 -0.6) (end 1 0.6) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 8023ef0f-6945-46ec-a981-7b131d3d0abe)) - (fp_line (start 1 0.6) (end -1 0.6) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 2702b853-e972-47a7-ad9a-9798d1c0efbd)) - (pad "1" smd roundrect (at -1.025 0 90) (size 1.15 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.217391) (tstamp 9b6853f1-1f2b-46bb-86bb-c96ab23e5fa9)) - (pad "2" smd roundrect (at 1.025 0 90) (size 1.15 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.217391) (tstamp 082ba767-9485-4883-93b1-46cd6b032d47)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 45b3db91-4322-4b3c-a9cb-f352971d334c)) + (fp_line (start -1 -0.625) (end 1 -0.625) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp d53ab96d-4f69-44a1-ac0e-2306cfddaa20)) + (fp_line (start -1 0.625) (end -1 -0.625) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 80b023c4-e502-41e0-a3f1-346a20e11940)) + (fp_line (start 1 -0.625) (end 1 0.625) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp b780ef4e-22cd-4efd-8f33-aa9f50e9869d)) + (fp_line (start 1 0.625) (end -1 0.625) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 004f1b41-a73d-473b-be60-37a9746d6aaa)) + (pad "1" smd roundrect (at -1 0 90) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333) (tstamp 60b2d0d2-d26d-4595-b58c-da1f82a5f40f)) + (pad "2" smd roundrect (at 1 0 90) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333) (tstamp a45b1e9b-45e8-4b71-95f1-21cd3be435f2)) (model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl" (offset (xyz 0 0 0)) (scale (xyz 1 1 1)) @@ -123,42 +127,46 @@ (attr through_hole) (fp_text reference "R3" (at 4.5 -3.25) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))) - (tstamp 60ea5e3e-dd18-4da5-b8f0-939cb41d6498) + (tstamp 342be9f8-fdd7-41a3-8462-55f6fa96a3ba) ) (fp_text value "R_Box_L13.0mm_W4.0mm_P9.00mm" (at 4.5 3.25) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))) - (tstamp 3def6d7e-7290-44d2-8ed9-c2e5c43626ce) + (tstamp 0c9f6734-8344-462e-bc9a-4d4649085988) + ) + (fp_text user "${REFERENCE}" (at 4.5 0) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 22473056-0f22-4bb9-b862-f1e4b9408c74) ) (fp_text user "300" (at 4.5 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))) (tstamp 27407789-cdfc-4f8a-8ac7-06bdef979f56) ) (fp_line (start -2.12 -2.12) (end -2.12 2.12) - (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 7af4e766-b871-48ce-8b98-48f12ab55700)) + (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 69abf917-7ee8-4d86-ac9f-dbe071c81924)) (fp_line (start -2.12 -2.12) (end 11.12 -2.12) - (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp f4411b38-872b-4492-b9f6-a161361afc62)) + (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 09962251-3e6e-46cb-a0e8-822158d7b952)) (fp_line (start -2.12 2.12) (end 11.12 2.12) - (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp cf4e44be-ae4e-40a9-ad68-f03d79dcb1dd)) + (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp e8d22967-a830-42b4-b1bc-e1799ecefc44)) (fp_line (start 11.12 -2.12) (end 11.12 2.12) - (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp bff197df-2e9d-4e5b-b02a-6d1d875c548e)) + (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 6e0abdb8-e209-4055-a77e-f1c97c7f19f5)) (fp_line (start -2.25 -2.25) (end -2.25 2.25) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 77564e42-6b2c-411a-a64c-f03943640b57)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 86bf55c3-bf37-4746-b6df-ceb8143526cb)) (fp_line (start -2.25 2.25) (end 11.25 2.25) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp ca93b3d8-521f-49e8-81e9-b797eabca533)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 5df59a85-5237-41f9-9724-65f09eb23e43)) (fp_line (start 11.25 -2.25) (end -2.25 -2.25) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 5e6c289d-b3c4-4bbb-80aa-eb9526a12989)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 9e9e5ff0-331c-4f60-9b5b-1b25514ab7a7)) (fp_line (start 11.25 2.25) (end 11.25 -2.25) - (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 6e5e110d-b885-4f13-9af0-7002489251f2)) + (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 00cf3bd2-d178-416a-9a2a-68be713eee25)) (fp_line (start -2 -2) (end -2 2) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp bab10405-2df6-4f09-a546-81486a8098ef)) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 790b8dc6-79a3-43d4-8b7a-5e2c5f5e6f84)) (fp_line (start -2 2) (end 11 2) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 69b2f250-7e3c-4177-a6a5-11798c1789fe)) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp a17f899e-0c5e-4258-b25e-2ab8c9d3dc4f)) (fp_line (start 11 -2) (end -2 -2) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp dcbc4cda-7fe2-47d5-b1dc-59b7e2a8301a)) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp b87959bd-eb84-481c-a376-5e60d510717f)) (fp_line (start 11 2) (end 11 -2) - (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp c88e7db9-6e27-4690-a360-aa8a64ff13e1)) - (pad "1" thru_hole circle (at 0 0) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask") (tstamp 785912b7-60c1-43ec-9811-4a74538adb8a)) - (pad "2" thru_hole circle (at 9 0) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask") (tstamp d69c2026-913a-4a9c-866d-4df3d8ce63a8)) + (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 03891e14-12d3-48e0-8714-4480913c8e8c)) + (pad "1" thru_hole circle (at 0 0) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask") (tstamp 445a0b17-deb0-4f1f-a6b9-9e96832a2d02)) + (pad "2" thru_hole circle (at 9 0) (size 2 2) (drill 1) (layers "*.Cu" "*.Mask") (tstamp 5536fbfa-4455-43ec-83bf-fb856d13e52d)) (model "${KISYS3DMOD}/Resistor_THT.3dshapes/R_Box_L13.0mm_W4.0mm_P9.00mm.wrl" (offset (xyz 0 0 0)) (scale (xyz 1 1 1)) @@ -174,63 +182,67 @@ (attr exclude_from_pos_files exclude_from_bom) (fp_text reference "REF**" (at 0 -3.2) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))) - (tstamp 1d2988d6-294f-4e93-b979-f438ff3544cc) + (tstamp ae47c44a-6df3-48c7-9598-4064199a05ce) ) (fp_text value "MountingHole_2.1mm" (at 0 3.2) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))) - (tstamp e014c3c2-85c0-400c-8ee1-749eca4c0d34) + (tstamp 024d650a-a510-435a-817b-079074e29e97) ) (fp_text user "${REFERENCE}" (at 0.3 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))) - (tstamp c994ca02-fbbf-4c56-9a36-6854a0a43ff0) + (tstamp 168777c5-dbdf-478c-b534-eb54387b7525) ) (fp_circle (center 0 0) (end 2.1 0) - (stroke (width 0.15) (type solid)) (fill none) (layer "Cmts.User") (tstamp 7387fc61-ddba-40f1-bd9e-b6df68988ed3)) + (stroke (width 0.15) (type solid)) (fill none) (layer "Cmts.User") (tstamp b23f0e4e-ed0f-47eb-8d13-1dfa9583abce)) (fp_circle (center 0 0) (end 2.35 0) - (stroke (width 0.05) (type solid)) (fill none) (layer "F.CrtYd") (tstamp 0d6b9c1e-4afb-499a-a533-00e027146f71)) - (pad "" np_thru_hole circle (at 0 0) (size 2.1 2.1) (drill 2.1) (layers "*.Cu" "*.Mask") (tstamp ceb4799f-93d5-4176-a733-69d970a274b6)) + (stroke (width 0.05) (type solid)) (fill none) (layer "F.CrtYd") (tstamp c3be9650-f90b-447d-921d-5a820678ada3)) + (pad "" np_thru_hole circle (at 0 0) (size 2.1 2.1) (drill 2.1) (layers "*.Cu" "*.Mask") (tstamp 2d830ff4-6512-4239-ada1-6804b5763e49)) ) - (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" (layer "B.Cu") + (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (layer "B.Cu") (tstamp 00000000-0000-0000-0000-00005ea76de9) (at 110 35 -90) - (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator") + (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (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 handsolder") (attr smd) (fp_text reference "R2" (at 0 1.65 -90) (layer "B.SilkS") (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - (tstamp e71fc067-1e15-464b-a67c-ed53b03d94de) + (tstamp a2625a58-8c52-4e8b-8261-54548483cbcd) ) - (fp_text value "R_0805_2012Metric_Pad1.15x1.40mm_HandSolder" (at 0 -1.65 -90) (layer "B.Fab") + (fp_text value "R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (at 0 -1.65 -90) (layer "B.Fab") (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - (tstamp 47b7ed7b-6581-4ac7-a0c2-91351ff83e2e) + (tstamp 67134459-07b5-4e2d-985e-a703985037d1) ) (fp_text user "150" (at 0 0 -90) (layer "B.Fab") (effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror)) (tstamp c62bf5bc-d850-4481-a9b8-3934e9ff0e51) ) - (fp_line (start -0.261252 -0.71) (end 0.261252 -0.71) - (stroke (width 0.12) (type solid)) (layer "B.SilkS") (tstamp f3ca6d98-c2d2-499c-a2b3-2b3e369f9988)) - (fp_line (start -0.261252 0.71) (end 0.261252 0.71) - (stroke (width 0.12) (type solid)) (layer "B.SilkS") (tstamp f9e5a22a-6646-4709-b9b7-9673f6fcc184)) + (fp_text user "${REFERENCE}" (at 0 0 90) (layer "B.Fab") + (effects (font (size 0.5 0.5) (thickness 0.08)) (justify mirror)) + (tstamp eb9bcd5c-218a-473b-82b1-0a0a316308a0) + ) + (fp_line (start -0.227064 -0.735) (end 0.227064 -0.735) + (stroke (width 0.12) (type solid)) (layer "B.SilkS") (tstamp a970a19d-5a9c-483b-b0f0-34768aec8c52)) + (fp_line (start -0.227064 0.735) (end 0.227064 0.735) + (stroke (width 0.12) (type solid)) (layer "B.SilkS") (tstamp 2ed49a9e-cebe-446c-a75a-17c3b410565a)) (fp_line (start -1.85 -0.95) (end -1.85 0.95) - (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp eb39ded6-0c38-4927-9aa9-43dba7d17210)) + (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 7fdd18c8-8812-4d07-8f6f-b95b47f5dffc)) (fp_line (start -1.85 0.95) (end 1.85 0.95) - (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp c2821538-1c13-4611-9dba-ef30a5f812b7)) + (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 7a5fd584-dac6-4945-aeee-dfaf953e555a)) (fp_line (start 1.85 -0.95) (end -1.85 -0.95) - (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 35b98d65-bd80-4ef9-8e78-54ec2fd1d85a)) + (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 8f42273f-4f05-4818-b7e9-3ac6c8b0385c)) (fp_line (start 1.85 0.95) (end 1.85 -0.95) - (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 067cc84e-2712-40e8-a493-07e950859342)) - (fp_line (start -1 -0.6) (end -1 0.6) - (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 600a7f13-2d22-43ba-84c0-98c3577b6a77)) - (fp_line (start -1 0.6) (end 1 0.6) - (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 7c8ec9db-6194-410f-91ef-e468f5bdb544)) - (fp_line (start 1 -0.6) (end -1 -0.6) - (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 56f71ae4-54d4-4aea-911f-bd9df256d954)) - (fp_line (start 1 0.6) (end 1 -0.6) - (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 2715ac95-ae1c-47bd-8b6a-bcf194b9cd8d)) - (pad "1" smd roundrect (at -1.025 0 270) (size 1.15 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.217391) (tstamp d736e075-184f-4366-96db-afeb06451de8)) - (pad "2" smd roundrect (at 1.025 0 270) (size 1.15 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.217391) (tstamp 385f301d-d00a-47c6-9ff4-fd5305d883b6)) + (stroke (width 0.05) (type solid)) (layer "B.CrtYd") (tstamp 84f55f06-99d2-4008-8a70-918dcb065a10)) + (fp_line (start -1 -0.625) (end -1 0.625) + (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp a625a591-f007-4634-b7d0-fe3e14d47241)) + (fp_line (start -1 0.625) (end 1 0.625) + (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp aab4edd7-2c48-4a0f-a226-eeaa8ca4d35f)) + (fp_line (start 1 -0.625) (end -1 -0.625) + (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp ee17dbda-c127-4b08-886f-ac652bdc76bf)) + (fp_line (start 1 0.625) (end 1 -0.625) + (stroke (width 0.1) (type solid)) (layer "B.Fab") (tstamp 35e3cbdc-dac7-44ea-8200-7595f5d4342c)) + (pad "1" smd roundrect (at -1 0 270) (size 1.2 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.208333) (tstamp 34b1dc0f-f9f5-4fe7-aab0-d4a6cb00757f)) + (pad "2" smd roundrect (at 1 0 270) (size 1.2 1.4) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.208333) (tstamp 2db42983-2668-4071-aeb7-435b854a0938)) (model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl" (offset (xyz 0 0 0)) (scale (xyz 1 1 1)) diff --git a/tests/board_samples/kicad_7/bom_w_prj.kicad_pro b/tests/board_samples/kicad_7/bom_w_prj.kicad_pro index 1900662e..ce68fdcc 100644 --- a/tests/board_samples/kicad_7/bom_w_prj.kicad_pro +++ b/tests/board_samples/kicad_7/bom_w_prj.kicad_pro @@ -276,4 +276,4 @@ "MYVAR": "tests/data", "PRUEBITA": "Hola!" } -} +} \ No newline at end of file diff --git a/tests/board_samples/kicad_7/fail-project.kicad_pcb b/tests/board_samples/kicad_7/fail-project.kicad_pcb index d35a2951..3fb455d7 100644 --- a/tests/board_samples/kicad_7/fail-project.kicad_pcb +++ b/tests/board_samples/kicad_7/fail-project.kicad_pcb @@ -29,6 +29,19 @@ ) (setup + (stackup + (layer "F.SilkS" (type "Top Silk Screen")) + (layer "F.Paste" (type "Top Solder Paste")) + (layer "F.Mask" (type "Top Solder Mask") (thickness 0.01)) + (layer "F.Cu" (type "copper") (thickness 0.035)) + (layer "dielectric 1" (type "core") (thickness 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") (thickness 0.01)) + (layer "B.Paste" (type "Bottom Solder Paste")) + (layer "B.SilkS" (type "Bottom Silk Screen")) + (copper_finish "None") + (dielectric_constraints no) + ) (pad_to_mask_clearance 0.051) (solder_mask_min_width 0.25) (pcbplotparams diff --git a/tests/board_samples/kicad_7/fail-project.kicad_pro b/tests/board_samples/kicad_7/fail-project.kicad_pro index fe637832..9598748b 100644 --- a/tests/board_samples/kicad_7/fail-project.kicad_pro +++ b/tests/board_samples/kicad_7/fail-project.kicad_pro @@ -49,11 +49,15 @@ "min_clearance": 0.508 } }, - "diff_pair_dimensions": [], + "diff_pair_dimensions": [ + { + "gap": 0.0, + "via_gap": 0.0, + "width": 0.0 + } + ], "drc_exclusions": [ "clearance|176385001|79614999|7e023245-2c2b-4e2b-bfb9-5d35176e88f2|666713b0-70f4-42df-8761-f65bc212d03b", - "invalid_outline|165100000|80645000|13afaae8-0f17-437c-8995-388b4489e4bd|00000000-0000-0000-0000-000000000000", - "invalid_outline|165100000|80645000|e6d8b5bb-6f41-4222-9a89-b8a6280d0752|00000000-0000-0000-0000-000000000000", "silk_over_copper|153440000|84620000|3f5fe6b7-98fc-4d3e-9567-f9f7202d1455|f4f99e3d-7269-4f6a-a759-16ad2a258779", "solder_mask_bridge|176385001|79614999|7e023245-2c2b-4e2b-bfb9-5d35176e88f2|666713b0-70f4-42df-8761-f65bc212d03b" ], @@ -93,7 +97,7 @@ "pth_inside_courtyard": "ignore", "shorting_items": "error", "silk_edge_clearance": "warning", - "silk_over_copper": "warning", + "silk_over_copper": "ignore", "silk_overlap": "warning", "skew_out_of_range": "error", "solder_mask_bridge": "error", @@ -172,8 +176,15 @@ "td_width_to_size_filter_ratio": 0.9 } ], - "track_widths": [], - "via_dimensions": [], + "track_widths": [ + 0.0 + ], + "via_dimensions": [ + { + "diameter": 0.0, + "drill": 0.0 + } + ], "zones_allow_external_fillets": false, "zones_use_no_outline": true }, diff --git a/tests/board_samples/kicad_7/qr_test/qr_test.kicad_pro b/tests/board_samples/kicad_7/qr_test/qr_test.kicad_pro index ed9f3af5..7d11e406 100644 --- a/tests/board_samples/kicad_7/qr_test/qr_test.kicad_pro +++ b/tests/board_samples/kicad_7/qr_test/qr_test.kicad_pro @@ -38,15 +38,14 @@ "height": 1.524, "width": 1.524 }, - "silk_line_width": 0.12, + "silk_line_width": 0.09999999999999999, "silk_text_italic": false, "silk_text_size_h": 1.0, "silk_text_size_v": 1.0, - "silk_text_thickness": 0.15, + "silk_text_thickness": 0.09999999999999999, "silk_text_upright": false, "zones": { - "45_degree_only": false, - "min_clearance": 0.508 + "min_clearance": 0.5 } }, "diff_pair_dimensions": [], @@ -57,32 +56,43 @@ "rule_severities": { "annular_width": "error", "clearance": "error", + "connection_width": "warning", "copper_edge_clearance": "error", + "copper_sliver": "warning", "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", - "footprint_type_mismatch": "error", + "footprint": "error", + "footprint_type_mismatch": "ignore", "hole_clearance": "error", "hole_near_hole": "error", "invalid_outline": "error", + "isolated_copper": "warning", "item_on_disabled_layer": "error", "items_not_allowed": "error", "length_out_of_range": "error", + "lib_footprint_issues": "warning", + "lib_footprint_mismatch": "warning", "malformed_courtyard": "error", "microvia_drill_out_of_range": "error", "missing_courtyard": "ignore", "missing_footprint": "warning", "net_conflict": "warning", "npth_inside_courtyard": "ignore", - "padstack": "error", + "padstack": "warning", "pth_inside_courtyard": "ignore", "shorting_items": "error", + "silk_edge_clearance": "warning", "silk_over_copper": "warning", "silk_overlap": "warning", "skew_out_of_range": "error", + "solder_mask_bridge": "error", + "starved_thermal": "error", + "text_height": "warning", + "text_thickness": "warning", "through_hole_pad_without_hole": "error", "too_many_vias": "error", "track_dangling": "warning", @@ -91,30 +101,71 @@ "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_connection": 0.0, + "min_copper_edge_clearance": 0.5, "min_hole_clearance": 0.25, "min_hole_to_hole": 0.25, "min_microvia_diameter": 0.19999999999999998, "min_microvia_drill": 0.09999999999999999, + "min_resolved_spokes": 2, "min_silk_clearance": 0.0, + "min_text_height": 0.7999999999999999, + "min_text_thickness": 0.08, "min_through_hole_diameter": 0.3, - "min_track_width": 0.19999999999999998, - "min_via_annular_width": 0.049999999999999996, - "min_via_diameter": 0.39999999999999997, + "min_track_width": 0.0, + "min_via_annular_width": 0.09999999999999999, + "min_via_diameter": 0.5, + "solder_mask_to_copper_clearance": 0.0, "use_height_for_length_calcs": true }, + "teardrop_options": [ + { + "td_allow_use_two_tracks": true, + "td_curve_segcount": 5, + "td_on_pad_in_zone": false, + "td_onpadsmd": true, + "td_onroundshapesonly": false, + "td_ontrackend": false, + "td_onviapad": true + } + ], + "teardrop_parameters": [ + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_round_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_rect_shape", + "td_width_to_size_filter_ratio": 0.9 + }, + { + "td_curve_segcount": 0, + "td_height_ratio": 1.0, + "td_length_ratio": 0.5, + "td_maxheight": 2.0, + "td_maxlen": 1.0, + "td_target_name": "td_track_end", + "td_width_to_size_filter_ratio": 0.9 + } + ], "track_widths": [], "via_dimensions": [], - "zones_allow_external_fillets": false, - "zones_use_no_outline": true + "zones_allow_external_fillets": false }, "layer_presets": [], "viewports": [] @@ -123,217 +174,6 @@ "cvpcb": { "equivalence_files": [] }, - "erc": { - "erc_exclusions": [], - "meta": { - "version": 0 - }, - "pin_map": [ - [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 2 - ], - [ - 0, - 2, - 0, - 1, - 0, - 0, - 1, - 0, - 2, - 2, - 2, - 2 - ], - [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 1, - 0, - 1, - 2 - ], - [ - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 2, - 1, - 1, - 2 - ], - [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 2 - ], - [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 2 - ], - [ - 1, - 1, - 1, - 1, - 1, - 0, - 1, - 1, - 1, - 1, - 1, - 2 - ], - [ - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 2 - ], - [ - 0, - 2, - 1, - 2, - 0, - 0, - 1, - 0, - 2, - 2, - 2, - 2 - ], - [ - 0, - 2, - 0, - 1, - 0, - 0, - 1, - 0, - 2, - 0, - 0, - 2 - ], - [ - 0, - 2, - 1, - 1, - 0, - 0, - 1, - 0, - 2, - 0, - 0, - 2 - ], - [ - 2, - 2, - 2, - 2, - 2, - 2, - 2, - 2, - 2, - 2, - 2, - 2 - ] - ], - "rule_severities": { - "bus_definition_conflict": "error", - "bus_entry_needed": "error", - "bus_to_bus_conflict": "error", - "bus_to_net_conflict": "error", - "conflicting_netclasses": "error", - "different_unit_footprint": "error", - "different_unit_net": "error", - "duplicate_reference": "error", - "duplicate_sheet_names": "error", - "endpoint_off_grid": "warning", - "extra_units": "error", - "global_label_dangling": "warning", - "hier_label_mismatch": "error", - "label_dangling": "error", - "lib_symbol_issues": "warning", - "missing_bidi_pin": "warning", - "missing_input_pin": "warning", - "missing_power_pin": "error", - "missing_unit": "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", - "simulation_model_issue": "error", - "unannotated": "error", - "unit_value_mismatch": "error", - "unresolved_variable": "error", - "wire_dangling": "error" - } - }, "libraries": { "pinned_footprint_libs": [], "pinned_symbol_libs": [] @@ -356,9 +196,9 @@ "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, + "track_width": 0.2, + "via_diameter": 0.6, + "via_drill": 0.3, "wire_width": 6 } ], @@ -381,48 +221,9 @@ "page_layout_descr_file": "" }, "schematic": { - "annotate_start_num": 0, - "drawing": { - "dashed_lines_dash_length_ratio": 12.0, - "dashed_lines_gap_length_ratio": 3.0, - "default_line_thickness": 6.0, - "default_text_size": 50.0, - "field_names": [], - "intersheets_ref_own_page": false, - "intersheets_ref_prefix": "", - "intersheets_ref_short": false, - "intersheets_ref_show": false, - "intersheets_ref_suffix": "", - "junction_size_choice": 3, - "label_size_ratio": 0.375, - "pin_symbol_size": 25.0, - "text_offset_ratio": 0.15 - }, "legacy_lib_dir": "", - "legacy_lib_list": [], - "meta": { - "version": 1 - }, - "net_format_name": "", - "page_layout_descr_file": "", - "plot_directory": "", - "spice_current_sheet_as_root": false, - "spice_external_command": "spice \"%I\"", - "spice_model_current_sheet_as_root": true, - "spice_save_all_currents": false, - "spice_save_all_voltages": false, - "subpart_first_id": 65, - "subpart_id_separator": 0 + "legacy_lib_list": [] }, - "sheets": [ - [ - "8efee08b-b92e-4ba6-8722-c058e18114fe", - "" - ], - [ - "00000000-0000-0000-0000-000061d2163a", - "Subsheet" - ] - ], + "sheets": [], "text_variables": {} }