Skip to content

Commit

Permalink
Fixed not working with KiCAD8
Browse files Browse the repository at this point in the history
  • Loading branch information
Electro707 committed Feb 9, 2025
1 parent b3f2b9a commit c6e7cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcbdraw/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c6e7cf4

Please # to comment.