From c6e7cf4ccee598a7af0a327b33d01c8c8273a016 Mon Sep 17 00:00:00 2001 From: Electro707 Date: Sat, 8 Feb 2025 19:54:13 -0500 Subject: [PATCH] Fixed not working with KiCAD8 --- pcbdraw/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbdraw/plot.py b/pcbdraw/plot.py index e6edc4e..fceb6b6 100644 --- a/pcbdraw/plot.py +++ b/pcbdraw/plot.py @@ -1154,7 +1154,7 @@ def walk_components(self, invert_side: bool, center = footprint.GetPosition() orient = math.radians(footprint.GetOrientation().AsDegrees()) pos = (center.x, center.y, orient) - props = {str(i): v for i, v in dict(footprint.GetPropertiesNative()).items()} + props = footprint.GetFieldsText() callback(lib, name, ref, value, pos, props) def get_def_slot(self, tag_name: str, id: str) -> etree.SubElement: