An IC has small pads (LGA16). The default pad clearance is 0.2mm
The DRC fails because the default clearance is too large. (pad clearances overlap)
0.1mm clearance works for these pads.
Created a new net class and applied it to the pads. That worked for most pads.
However, some pads are assigned to common nets such as 3.3V and GND
If I would assign the net class to the 3.3V net then that class it would apply to other
pads that use the same net and not use 0.1mm clearance.
Is there a solution to apply difference clearance for pads using shared nets ?
In KiCad V5.1.x there is no real solution for this. The only workaround is to use net-ties to split the actual net and then different rules can be applied to different sections of the same net.
In KiCad-nightly V5.99 you can define “custom rules” and it also has “rule area’s” to do things like this. I have not used these myself though.