[Variants][Changed] Avoid W045 on nameless pads.
Assuming they are on purpose and not real pads. See #584
This commit is contained in:
parent
8d7482f7f8
commit
b93115dbbb
|
|
@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
## [1.6.5] - Unreleased
|
||||
### Changed
|
||||
- KiRi: continue even on corrupted schematics (#583)
|
||||
- Variants: avoid W045 on nameless pads. Assuming they are on purpose and not
|
||||
real pads. (See #584)
|
||||
|
||||
### Fixed
|
||||
- Netlist generation problems with components on the PCB but not in schematic.
|
||||
|
|
|
|||
|
|
@ -431,7 +431,11 @@ class VariantOptions(BaseOptions):
|
|||
# No layers at all. Ridiculous, but happens.
|
||||
# At least add an F.Mask
|
||||
pad_layers.addLayer(fmask if is_front else bmask)
|
||||
logger.warning(W_WRONGPASTE+'Pad with solder paste, but no copper or solder mask aperture in '+ref)
|
||||
pad_name = p.GetName()
|
||||
# Some footprints has solder paste "pads" they don't have a name
|
||||
if pad_name:
|
||||
logger.warning(f"{W_WRONGPASTE}Pad with solder paste, but no copper or solder mask aperture "
|
||||
f" in {ref} ({pad_name})")
|
||||
p.SetLayerSet(pad_layers)
|
||||
old_layers.append(old_c_layers)
|
||||
logger.debugl(3, '- Removed paste/mask from '+ref)
|
||||
|
|
|
|||
Loading…
Reference in New Issue