← Back to team overview

kicad-developers team mailing list archive

Re: DRC rules

 

I just tested the old simple testcase, the new rule file is:

--------------------------------------------------------------------------------
(rule "Max_Net-(C1-Pad1)"
        (constraint clearance (min 1.3mm))
        (condition "A.netclass == Net-(C1-Pad1)"))
(rule "Min_Net-(C1-Pad1)"
        (constraint clearance (min 0.25mm))
        (condition "A.netclass == Net-(C1-Pad1) && B.netclass == Net-(C1-Pad1)"))
(rule "Max_Net-(R1-Pad2)"
        (constraint clearance (min 1.3mm))
        (condition "A.netclass == Net-(R1-Pad2)"))
(rule "Min_Net-(R1-Pad2)"
        (constraint clearance (min 0.25mm))
        (condition "A.netclass == Net-(R1-Pad2) && B.netclass == Net-(R1-Pad2)"))
(rule "Max_Net-(R4-Pad2)"
        (constraint clearance (min 1.3mm))
        (condition "A.netclass == Net-(R4-Pad2)"))
(rule "Min_Net-(R4-Pad2)"
        (constraint clearance (min 0.25mm))
        (condition "A.netclass == Net-(R4-Pad2) && B.netclass == Net-(R4-Pad2)"))
(rule "Specific_Net-(C1-Pad1)__Net-(R1-Pad2)"
        (constraint clearance (min 1.3mm))
        (condition "A.netclass == Net-(C1-Pad1) && B.netclass == Net-(R1-Pad2)"))
(rule "Specific_Net-(C1-Pad1)__Net-(R4-Pad2)"
        (constraint clearance (min 1.3mm))
        (condition "A.netclass == Net-(C1-Pad1) && B.netclass == Net-(R4-Pad2)"))
--------------------------------------------------------------------------------

I'm probably completely missing the point, but everything seems to be
constrained at 0.25mm clearance.


regards,

Mark.


Follow ups

References