Vias seem to be impossible to be placed inside a footprint. Right now we use through holes as a replacement, however they lack solder resist covering. The following change might fix this:
@@ -44,7 +44,7 @@ def via(loc: P2D, diameter: float, drill: float) -> str:
Returns:
str: the via, formatted for use in the footprint file
"""
- via = f' (pad "" thru_hole circle (at {loc}) (size {diameter} {diameter}) (drill {drill}) (layers *.Cu *.Mask) ({tstamp()}))\n'
+ via = f' (pad "" thru_hole circle (at {loc}) (size {diameter} {diameter}) (drill {drill}) (layers *.Cu) ({tstamp()}))\n'
return via
Vias seem to be impossible to be placed inside a footprint. Right now we use through holes as a replacement, however they lack solder resist covering. The following change might fix this: