Thermal relief for specified components | 🧨 KiCad Rules

Intro

This series of short notes showing practical examples of using custom text-based rules for KiCad EDA.

πŸ”Ί Issue Description

I have many 0402/0603 LEDs on the board (mostly for power and signal statuses):

Image

Since ground zone have defaultΒ solid connection I want apply thermal relief only for LEDs, because they more sensitive to heat and to prevent uneven heating of the pads:

Image

πŸ”§ Issue Fix

Board -> Custom Rules -> DRC Rules:

  1. (rule led_thermal_relief
  2. (constraint zone_connection thermal_reliefs)
  3. (condition "A.Reference=='LD*'")
  4. (constraint thermal_relief_gap (min 0.2mm))
  5. (constraint thermal_spoke_width (min 0.2mm))
  6. )

Note 1: if you use another reference designator change LD to your (e.g. LED, D)

Note 2: you can also use as a condition specific footprint:

(condition Β«A.memberOfFootprint('LED_SMD:LED_0402_E_1005Metric')Β»)

βœ” Fixed

πŸ”΄ BEFORE🟒 AFTER
ImageImage
ImageImage

🌟 Related Article

ImageHow to write custom KiCad rule exception? Simple example of courtyard overlap resolve

Conclusions

🟑Use thermal relief for the most soldering sensitive components
🟒Using rule it's good development approach instead of any manual pad properties changes
🟒This tiny rule can save a lot of time and give more repeatable results
196
No comments yet. Be the first to add a comment!
Cookies?