drc_proto: simple test cases for copper clearance and hole clearance tests
This commit is contained in:
parent
128ae8b49e
commit
e32c38ef81
|
@ -0,0 +1,205 @@
|
|||
(kicad_pcb (version 20200628) (host pcbnew "(5.99.0-2386-g51f3b0bf76-dirty)")
|
||||
|
||||
(general
|
||||
(thickness 1.6002)
|
||||
(drawings 0)
|
||||
(tracks 15)
|
||||
(modules 4)
|
||||
(nets 5)
|
||||
)
|
||||
|
||||
(paper "A3")
|
||||
(title_block
|
||||
(title "KiCad demo")
|
||||
(date "2015-10-14")
|
||||
(rev "1.A")
|
||||
)
|
||||
|
||||
(layers
|
||||
(0 "Composant" signal)
|
||||
(1 "GND_layer" signal)
|
||||
(2 "VCC_layer" signal)
|
||||
(31 "Cuivre" 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)
|
||||
)
|
||||
|
||||
(setup
|
||||
(aux_axis_origin 40.9 173.1)
|
||||
(pcbplotparams
|
||||
(layerselection 0x010fc_80000007)
|
||||
(usegerberextensions false)
|
||||
(usegerberattributes true)
|
||||
(usegerberadvancedattributes true)
|
||||
(creategerberjobfile true)
|
||||
(svguseinch false)
|
||||
(svgprecision 6)
|
||||
(excludeedgelayer false)
|
||||
(linewidth 0.100000)
|
||||
(plotframeref false)
|
||||
(viasonmask false)
|
||||
(mode 1)
|
||||
(useauxorigin true)
|
||||
(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 0)
|
||||
(scaleselection 1)
|
||||
(outputdirectory "plots")
|
||||
)
|
||||
)
|
||||
|
||||
(net 0 "")
|
||||
(net 1 "Net-(C48-Pad2)")
|
||||
(net 2 "Net-(L6-Pad1)")
|
||||
(net 3 "Net-(L6-Pad2)")
|
||||
(net 4 "Net-(R10-Pad2)")
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Cuivre") (tedit 54019107) (tstamp cf6d41b6-be24-4142-a50b-7bf0419214d3)
|
||||
(at 77.31 42.02 90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760fbc")
|
||||
(attr smd)
|
||||
(fp_text reference "R11" (at 0 0 -90) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 -90) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_line (start -0.889 1.143) (end -2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 1.143) (end 2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 -1.143) (end -0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(pad "2" smd rect (at 1.651 0 90) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 1 "Net-(C48-Pad2)") (tstamp 11cb9d3f-10e3-41e4-b53f-517fc40917f8))
|
||||
(pad "1" smd rect (at -1.651 0 90) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 3 "Net-(L6-Pad2)") (tstamp aa67310d-5884-4d05-8dcf-bf41060498ff))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Cuivre") (tedit 54019107) (tstamp 7878478d-dbff-4e07-9acb-bbb7715fff75)
|
||||
(at 74.75 42.046 -90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760f80")
|
||||
(attr smd)
|
||||
(fp_text reference "R10" (at 0 0 -270) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 -270) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_line (start -0.889 1.143) (end -2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 1.143) (end 2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 -1.143) (end -0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(pad "2" smd rect (at 1.651 0 270) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 4 "Net-(R10-Pad2)") (tstamp b1cfb053-add6-4c39-a602-ee8cec92ed6d))
|
||||
(pad "1" smd rect (at -1.651 0 270) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 2 "Net-(L6-Pad1)") (tstamp d85d64ec-0c45-4808-b66c-a6e95250cd7d))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Composant") (tedit 54019107) (tstamp 00000000-0000-0000-0000-00005402cf81)
|
||||
(at 57.26 43.686 90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760f80")
|
||||
(attr smd)
|
||||
(fp_text reference "R10" (at 0 0 270) (layer "F.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 270) (layer "F.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(pad "1" smd rect (at -1.651 0 90) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 2 "Net-(L6-Pad1)") (tstamp d85d64ec-0c45-4808-b66c-a6e95250cd7d))
|
||||
(pad "2" smd rect (at 1.651 0 90) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 4 "Net-(R10-Pad2)") (tstamp b1cfb053-add6-4c39-a602-ee8cec92ed6d))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Composant") (tedit 54019107) (tstamp 00000000-0000-0000-0000-00005402cf8c)
|
||||
(at 57.26 50.29 -90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760fbc")
|
||||
(attr smd)
|
||||
(fp_text reference "R11" (at 0 0 90) (layer "F.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 90) (layer "F.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(pad "1" smd rect (at -1.651 0 270) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 3 "Net-(L6-Pad2)") (tstamp aa67310d-5884-4d05-8dcf-bf41060498ff))
|
||||
(pad "2" smd rect (at 1.651 0 270) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 1 "Net-(C48-Pad2)") (tstamp 11cb9d3f-10e3-41e4-b53f-517fc40917f8))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(segment (start 57.26 51.57) (end 61.7 47.13) (width 0.2032) (layer "Composant") (net 1) (tstamp f694334e-a9e7-4d5c-a90b-b15a26d06084))
|
||||
(segment (start 61.7 47.13) (end 61.7 46.24) (width 0.2032) (layer "Composant") (net 1) (tstamp 2911a49d-d9ac-4dad-8965-d7abcbd48932))
|
||||
(segment (start 61.7 46.24) (end 62.67077 45.26923) (width 0.2032) (layer "Composant") (net 1) (tstamp 78574693-36f7-41c3-8372-1beb483f4919))
|
||||
(segment (start 62.67077 45.26923) (end 65.01834 45.26923) (width 0.2032) (layer "Composant") (net 1) (tstamp 5223ac82-4207-4e56-8f80-fc8163229ff2))
|
||||
(segment (start 57.26 51.941) (end 57.26 51.57) (width 0.2032) (layer "Composant") (net 1) (tstamp 8a8d348d-69c0-4919-a6e5-75f8709b0d4b))
|
||||
(segment (start 65.01834 45.26923) (end 64.87 45.26923) (width 0.2032) (layer "Composant") (net 1) (tstamp f3f895af-921c-4405-9d2c-a994ff46a36e))
|
||||
(segment (start 61.03618 44.86282) (end 64.85 44.86282) (width 0.2032) (layer "Composant") (net 3) (tstamp eac47d05-6561-4d3b-88a5-073ca5967b09))
|
||||
(segment (start 57.26 48.639) (end 61.03618 44.86282) (width 0.2032) (layer "Composant") (net 3) (tstamp 18e8fb07-1048-4440-81bf-85c3063dee17))
|
||||
(segment (start 60.89166 44.45641) (end 65.95641 44.45641) (width 0.2032) (layer "Composant") (net 2) (tstamp efec1be9-cdeb-40da-a27f-a503d55d30a2))
|
||||
(segment (start 60.40359 44.45641) (end 60.89166 44.45641) (width 0.2032) (layer "Composant") (net 2) (tstamp 8e2d1065-302e-482f-81b6-3d31d0643e24))
|
||||
(segment (start 59.523 45.337) (end 60.40359 44.45641) (width 0.2032) (layer "Composant") (net 2) (tstamp c954b2e0-51d2-4950-8f2a-7143adff5865))
|
||||
(segment (start 57.26 45.337) (end 59.523 45.337) (width 0.2032) (layer "Composant") (net 2) (tstamp ef9660dc-199b-4386-8c7f-92cec3d85773))
|
||||
(segment (start 57.26 42.035) (end 59.045 42.035) (width 0.2032) (layer "Composant") (net 4) (tstamp 75276ab2-082f-49bf-89bf-cb2785abb992))
|
||||
(segment (start 59.045 42.035) (end 61.06 44.05) (width 0.2032) (layer "Composant") (net 4) (tstamp 6d7d1289-6535-423f-a199-f228105c6d91))
|
||||
(segment (start 61.06 44.05) (end 65.86 44.05) (width 0.2032) (layer "Composant") (net 4) (tstamp 84f97f24-934c-4869-a0a5-9b902def1b2b))
|
||||
|
||||
)
|
|
@ -0,0 +1,6 @@
|
|||
(version 20200610)
|
||||
|
||||
(condition (expression "A.type == 'Pad' && B.type == 'Pad' && (A.onlayer('B.Cu'))") (rule "pad2pad_clearance_back") )
|
||||
|
||||
(rule "pad2pad_clearance_back" (type "clearance") (priority 1) (severity error) (min "1mm") )
|
||||
(rule "default" (type "clearance") (priority 0) (severity error) (min "0.2mm") )
|
|
@ -0,0 +1,280 @@
|
|||
(kicad_pcb (version 20200628) (host pcbnew "(5.99.0-2386-g51f3b0bf76-dirty)")
|
||||
|
||||
(general
|
||||
(thickness 1.6002)
|
||||
(drawings 0)
|
||||
(tracks 24)
|
||||
(modules 6)
|
||||
(nets 5)
|
||||
)
|
||||
|
||||
(paper "A3")
|
||||
(title_block
|
||||
(title "KiCad demo")
|
||||
(date "2015-10-14")
|
||||
(rev "1.A")
|
||||
)
|
||||
|
||||
(layers
|
||||
(0 "Composant" signal)
|
||||
(1 "GND_layer" signal)
|
||||
(2 "VCC_layer" signal)
|
||||
(31 "Cuivre" 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)
|
||||
)
|
||||
|
||||
(setup
|
||||
(aux_axis_origin 40.9 173.1)
|
||||
(pcbplotparams
|
||||
(layerselection 0x010fc_80000007)
|
||||
(usegerberextensions false)
|
||||
(usegerberattributes true)
|
||||
(usegerberadvancedattributes true)
|
||||
(creategerberjobfile true)
|
||||
(svguseinch false)
|
||||
(svgprecision 6)
|
||||
(excludeedgelayer false)
|
||||
(linewidth 0.100000)
|
||||
(plotframeref false)
|
||||
(viasonmask false)
|
||||
(mode 1)
|
||||
(useauxorigin true)
|
||||
(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 0)
|
||||
(scaleselection 1)
|
||||
(outputdirectory "plots")
|
||||
)
|
||||
)
|
||||
|
||||
(net 0 "")
|
||||
(net 1 "Net1")
|
||||
(net 2 "Net2")
|
||||
(net 3 "Net3")
|
||||
(net 4 "Net4")
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Composant") (tedit 5F1AFF3A) (tstamp 62f63c2d-5de7-4136-94e8-8bc3f03545b5)
|
||||
(at 53.56 43.68 90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760f80")
|
||||
(attr smd)
|
||||
(fp_text reference "R10" (at 0 0 270) (layer "F.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 270) (layer "F.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(pad "2" smd rect (at 1.651 0 90) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 4 "Net4") (tstamp b1cfb053-add6-4c39-a602-ee8cec92ed6d))
|
||||
(pad "1" thru_hole rect (at -1.651 0 90) (size 1.524 2.032) (drill 1) (layers *.Cu *.Mask)
|
||||
(net 2 "Net2") (tstamp d85d64ec-0c45-4808-b66c-a6e95250cd7d))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Cuivre") (tedit 5F1AFEB3) (tstamp 6839e320-e6b8-495a-b2b3-9c17db9c24c2)
|
||||
(at 77.29 47.42 -90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760fbc")
|
||||
(attr smd)
|
||||
(fp_text reference "R11" (at 0 0 -90) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 -90) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_line (start -2.54 1.143) (end -2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 -1.143) (end -0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 1.143) (end 2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -0.889 1.143) (end -2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_text user "${REFERENCE}" (at 0 0 -90) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text user "${VALUE}" (at 0 0 -90) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(pad "1" thru_hole rect (at -1.651 0 270) (size 1.524 2.032) (drill 1) (layers *.Cu *.Mask)
|
||||
(net 3 "Net3") (tstamp aa67310d-5884-4d05-8dcf-bf41060498ff))
|
||||
(pad "2" smd rect (at 1.651 0 270) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 1 "Net1") (tstamp 11cb9d3f-10e3-41e4-b53f-517fc40917f8))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Cuivre") (tedit 5F1AFEB3) (tstamp cf6d41b6-be24-4142-a50b-7bf0419214d3)
|
||||
(at 77.31 42.02 90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760fbc")
|
||||
(attr smd)
|
||||
(fp_text reference "R11" (at 0 0 -90) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 -90) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text user "${VALUE}" (at -0.08 3.02 -90) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at -0.08 3.02 -90) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_line (start -0.889 1.143) (end -2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 1.143) (end 2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 -1.143) (end -0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(pad "2" smd rect (at 1.651 0 90) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 1 "Net1") (tstamp 11cb9d3f-10e3-41e4-b53f-517fc40917f8))
|
||||
(pad "1" thru_hole rect (at -1.651 0 90) (size 1.524 2.032) (drill 1) (layers *.Cu *.Mask)
|
||||
(net 3 "Net3") (tstamp aa67310d-5884-4d05-8dcf-bf41060498ff))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Cuivre") (tedit 54019107) (tstamp 7878478d-dbff-4e07-9acb-bbb7715fff75)
|
||||
(at 74.75 42.046 -90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760f80")
|
||||
(attr smd)
|
||||
(fp_text reference "R10" (at 0 0 -270) (layer "B.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 -270) (layer "B.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)) (justify mirror))
|
||||
)
|
||||
(fp_line (start -0.889 1.143) (end -2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 1.143) (end 2.54 1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 -1.143) (end -0.889 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -2.54 -1.143) (layer "B.SilkS") (width 0.127))
|
||||
(pad "2" smd rect (at 1.651 0 270) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 4 "Net4") (tstamp b1cfb053-add6-4c39-a602-ee8cec92ed6d))
|
||||
(pad "1" smd rect (at -1.651 0 270) (size 1.524 2.032) (layers "Cuivre" "B.Paste" "B.Mask")
|
||||
(net 2 "Net2") (tstamp d85d64ec-0c45-4808-b66c-a6e95250cd7d))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Composant") (tedit 5F1AFF3A) (tstamp 00000000-0000-0000-0000-00005402cf81)
|
||||
(at 57.26 43.686 90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760f80")
|
||||
(attr smd)
|
||||
(fp_text reference "R10" (at 0 0 270) (layer "F.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 270) (layer "F.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(pad "1" thru_hole rect (at -1.651 0 90) (size 1.524 2.032) (drill 1) (layers *.Cu *.Mask)
|
||||
(net 2 "Net2") (tstamp d85d64ec-0c45-4808-b66c-a6e95250cd7d))
|
||||
(pad "2" smd rect (at 1.651 0 90) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 4 "Net4") (tstamp b1cfb053-add6-4c39-a602-ee8cec92ed6d))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(module "lib_smd:SM1206" (layer "Composant") (tedit 54019107) (tstamp 00000000-0000-0000-0000-00005402cf8c)
|
||||
(at 57.26 50.29 -90)
|
||||
(path "/00000000-0000-0000-0000-00004bf0367f/00000000-0000-0000-0000-000022760fbc")
|
||||
(attr smd)
|
||||
(fp_text reference "R11" (at 0 0 90) (layer "F.SilkS")
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_text value "1K" (at 0 0 90) (layer "F.SilkS") hide
|
||||
(effects (font (size 0.762 0.762) (thickness 0.127)))
|
||||
)
|
||||
(fp_line (start -2.54 -1.143) (end -2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -2.54 1.143) (end -0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 0.889 -1.143) (end 2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 -1.143) (end 2.54 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start 2.54 1.143) (end 0.889 1.143) (layer "F.SilkS") (width 0.127))
|
||||
(fp_line (start -0.889 -1.143) (end -2.54 -1.143) (layer "F.SilkS") (width 0.127))
|
||||
(pad "1" smd rect (at -1.651 0 270) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 3 "Net3") (tstamp aa67310d-5884-4d05-8dcf-bf41060498ff))
|
||||
(pad "2" smd rect (at 1.651 0 270) (size 1.524 2.032) (layers "Composant" "F.Paste" "F.Mask")
|
||||
(net 1 "Net1") (tstamp 11cb9d3f-10e3-41e4-b53f-517fc40917f8))
|
||||
(model "SMD_Packages.3dshapes/SMD-1206.wrl"
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 0.17 0.16 0.16))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
|
||||
(segment (start 65.95641 44.45641) (end 66.48 44.98) (width 0.2032) (layer "Composant") (net 2) (tstamp 14bb23f7-15be-43d6-82ba-05802d6e870c))
|
||||
(segment (start 66.48 44.98) (end 74.11 44.98) (width 0.2032) (layer "Composant") (net 2) (tstamp 58870eeb-1ee8-4365-81f6-644d10260a70))
|
||||
(segment (start 74.11 44.98) (end 74.75 44.34) (width 0.2032) (layer "Composant") (net 2) (tstamp 33b71764-2dee-43d4-862d-4ce8ab506b73))
|
||||
(via (at 74.75 40.395) (size 0.889) (drill 0.635) (layers "Composant" "Cuivre") (net 2) (tstamp 2ee707fc-c4c2-436b-9f8a-082000400e64))
|
||||
(segment (start 74.75 44.34) (end 74.75 40.395) (width 0.2032) (layer "Composant") (net 2) (tstamp 34677ff2-0a86-43cc-8da2-df756ebaf399))
|
||||
(segment (start 67.56 43.75) (end 72.99 43.75) (width 0.2032) (layer "Composant") (net 4) (tstamp ae29a614-f3a7-4e3a-8466-54ac0eb68621))
|
||||
(segment (start 65.86 44.05) (end 67.26 44.05) (width 0.2032) (layer "Composant") (net 4) (tstamp 4f87807d-8760-44de-8181-8c3a080a5a75))
|
||||
(via (at 72.99 43.75) (size 0.889) (drill 0.635) (layers "Composant" "Cuivre") (net 4) (tstamp 3a8e56c3-5066-45b4-9519-5a33d6834af0))
|
||||
(segment (start 67.26 44.05) (end 67.56 43.75) (width 0.2032) (layer "Composant") (net 4) (tstamp 3b16deb7-8d8e-44b8-b5c1-b34386add5b7))
|
||||
(segment (start 57.26 51.57) (end 61.7 47.13) (width 0.2032) (layer "Composant") (net 1) (tstamp f694334e-a9e7-4d5c-a90b-b15a26d06084))
|
||||
(segment (start 61.7 47.13) (end 61.7 46.24) (width 0.2032) (layer "Composant") (net 1) (tstamp 2911a49d-d9ac-4dad-8965-d7abcbd48932))
|
||||
(segment (start 61.7 46.24) (end 62.67077 45.26923) (width 0.2032) (layer "Composant") (net 1) (tstamp 78574693-36f7-41c3-8372-1beb483f4919))
|
||||
(segment (start 62.67077 45.26923) (end 65.01834 45.26923) (width 0.2032) (layer "Composant") (net 1) (tstamp 5223ac82-4207-4e56-8f80-fc8163229ff2))
|
||||
(segment (start 57.26 51.941) (end 57.26 51.57) (width 0.2032) (layer "Composant") (net 1) (tstamp 8a8d348d-69c0-4919-a6e5-75f8709b0d4b))
|
||||
(segment (start 65.01834 45.26923) (end 64.87 45.26923) (width 0.2032) (layer "Composant") (net 1) (tstamp f3f895af-921c-4405-9d2c-a994ff46a36e))
|
||||
(segment (start 61.03618 44.86282) (end 64.85 44.86282) (width 0.2032) (layer "Composant") (net 3) (tstamp eac47d05-6561-4d3b-88a5-073ca5967b09))
|
||||
(segment (start 57.26 48.639) (end 61.03618 44.86282) (width 0.2032) (layer "Composant") (net 3) (tstamp 18e8fb07-1048-4440-81bf-85c3063dee17))
|
||||
(segment (start 60.89166 44.45641) (end 65.95641 44.45641) (width 0.2032) (layer "Composant") (net 2) (tstamp efec1be9-cdeb-40da-a27f-a503d55d30a2))
|
||||
(segment (start 60.40359 44.45641) (end 60.89166 44.45641) (width 0.2032) (layer "Composant") (net 2) (tstamp 8e2d1065-302e-482f-81b6-3d31d0643e24))
|
||||
(segment (start 59.523 45.337) (end 60.40359 44.45641) (width 0.2032) (layer "Composant") (net 2) (tstamp c954b2e0-51d2-4950-8f2a-7143adff5865))
|
||||
(segment (start 57.26 45.337) (end 59.523 45.337) (width 0.2032) (layer "Composant") (net 2) (tstamp ef9660dc-199b-4386-8c7f-92cec3d85773))
|
||||
(segment (start 57.26 42.035) (end 59.045 42.035) (width 0.2032) (layer "Composant") (net 4) (tstamp 75276ab2-082f-49bf-89bf-cb2785abb992))
|
||||
(segment (start 59.045 42.035) (end 61.06 44.05) (width 0.2032) (layer "Composant") (net 4) (tstamp 6d7d1289-6535-423f-a199-f228105c6d91))
|
||||
(segment (start 61.06 44.05) (end 65.86 44.05) (width 0.2032) (layer "Composant") (net 4) (tstamp 84f97f24-934c-4869-a0a5-9b902def1b2b))
|
||||
|
||||
)
|
|
@ -0,0 +1,10 @@
|
|||
(version 20200610)
|
||||
|
||||
(condition (expression "A.type == 'Pad' && A.netname == 'Net3'") (rule "small_pad_hole_clearance") )
|
||||
(condition (expression "A.type == 'Pad' && A.netname == 'Net2'") (rule "big_pad_hole_clearance") )
|
||||
|
||||
(rule "small_pad_hole_clearance" (type "hole_clearance") (priority 1) (severity error) (min "0.1mm") )
|
||||
(rule "big_pad_hole_clearance" (type "hole_clearance") (priority 1) (severity error) (min "5mm") )
|
||||
(rule "default" (type "hole_clearance") (priority 0) (severity error) (min "0.5mm") )
|
||||
|
||||
|
Loading…
Reference in New Issue