kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43966
Re: DRC rules
Hi Mark,
The condition syntax was just a preview. It’s not implemented yet.
You’ll need to use the selector syntax for now.
So, for instance:
(selector (match_netclass "Net-(C1-Pad1)") (match_netclass "Net-(C1-Pad1)”) (rule “Min_Net-(C1-Pad1)")
Cheers,
Jeff.
> On 2 Jun 2020, at 11:05, mdoesbur@xxxxxxxxx wrote:
>
> 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
-
DRC rules
From: Jeff Young, 2020-05-16
-
Re: DRC rules
From: mdoesbur, 2020-05-18
-
Re: DRC rules
From: Jeff Young, 2020-05-18
-
Re: DRC rules
From: mdoesbur, 2020-05-18
-
Re: DRC rules
From: mdoesbur, 2020-05-18
-
Re: DRC rules
From: Jeff Young, 2020-05-18
-
Re: DRC rules
From: mdoesbur, 2020-05-21
-
Re: DRC rules
From: Jeff Young, 2020-05-21
-
Re: DRC rules
From: mdoesbur, 2020-05-21
-
Re: DRC rules
From: Jeff Young, 2020-05-21
-
Re: DRC rules
From: mdoesbur, 2020-06-02
-
Re: DRC rules
From: Jeff Young, 2020-06-02
-
Re: DRC rules
From: mdoesbur, 2020-06-02