How to set the courtyard_clearence for footprint level. Like 0805 || 0603
In KiCad I work with 0.1mm grid and when positioning footprints I just touch one to another with courtyard.
So in footprints I place courtyard rectangles in 0.1mm grid.
For small parts I left min 0.2mm from copper and min 0.3mm from element itself.
For 0603 my courtyard size is 2.6x1.4.
For 0805 it is 3.0x1.8.
Thanks.
is there any options to set in custom rule with using courtyard_clearence syntax
i couldnt find correct syntax for footprint or package
Sorry, I’m having trouble understanding your question.
Do you wish to set the courtyard clearance between two footprints or do you wish to set the clearance between footprint pads and their courtyard?
@srinivasan replied to my question as a PM instead of a forum reply. Below is his PM:
Thanks for your reply
Yes i am asking for Between two footprints their courtyard
Like below
(version 1)
(rule “basic_courtyard_check”
(constraint courtyard_clearance (min 0.5mm))
)
In this custom rule i have to try to add any two footprints(like 0805 to IC or 0603 to 0805) their courtyard
I dont know correct skill for this case
I have never used any custom rule.
I don’t know what courtyard_clearance is and what ‘courtyard_clearence syntax’ is.
I assume you are trying to ensure extra distance between element courtyards.
As I place footprint with courtyard touching each other I don’t understand your case.
From my point of view the needed margin is inserted inside courtyard so you need not to ensure extra margin.
I was also surprised to see that you can create custom rules to increase the courtyard. An alternative way is to first create a library from the footprints that are used in your project (You can do a direct export from your PCB) and then modify the courtyard in the footprints in that library.
Yes , There is custom rule . we can set the custome rule what need in constraints
At least you need to have strictly correct courtyard graphics in the footprints.
I guess you can try to use a condition with A.Library_Link=='*0804*'
etc.