summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-06-29 22:55:01 +0200
committerjaseg <git@jaseg.de>2023-06-29 22:55:01 +0200
commit7a95a0dde70481f62ad3d9c24597a3ef87ee09d8 (patch)
treee7a2fe2e50beb80d12d5bb40728035f3bce397ee
parent88642a18037923a351f406435dc0d2c50c10d1ed (diff)
downloadgerbonara-7a95a0dde70481f62ad3d9c24597a3ef87ee09d8.tar.gz
gerbonara-7a95a0dde70481f62ad3d9c24597a3ef87ee09d8.tar.bz2
gerbonara-7a95a0dde70481f62ad3d9c24597a3ef87ee09d8.zip
Remove obsolete workaround for breakage in kicad-cli
-rw-r--r--gerbonara/tests/test_kicad_footprints.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/gerbonara/tests/test_kicad_footprints.py b/gerbonara/tests/test_kicad_footprints.py
index e539ff8..07d64a7 100644
--- a/gerbonara/tests/test_kicad_footprints.py
+++ b/gerbonara/tests/test_kicad_footprints.py
@@ -190,12 +190,6 @@ def test_render(kicad_mod_file, tmpfile, print_on_error):
# micrometers, but it's enough to really throw off our error calculation, so we just ignore text.
fp = FootprintInstance(0, 0, sexp=Footprint.open_mod(kicad_mod_file), hide_text=True)
- # kicad-cli doesn't render mask on nonplated pads. I think that's a bug, but let's work around this on our side for
- # now.
- for pad in fp.sexp.pads:
- if pad.type == Atom.np_thru_hole:
- pad.solder_mask_margin = 0
-
stack = LayerStack(courtyard=True, fabrication=True, adhesive=True)
stack.add_layer('mechanical drawings')
stack.add_layer('mechanical comments')