Skip to content

Commit

Permalink
[Fixed][KiCad 5] No footprint properties are available
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Nov 16, 2023
1 parent df4d45d commit a142a76
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions kibot/kiplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,14 @@ def create_component_from_footprint(m, ref):
f.number = 3
c.add_field(f)
# Other fields
for name, val in m.GetProperties().items():
f = SchematicField()
f.name = name
f.value = val
f.number = -1
f.visible(False)
c.add_field(f)
if GS.ki6:
for name, val in m.GetProperties().items():
f = SchematicField()
f.name = name
f.value = val
f.number = -1
f.visible(False)
c.add_field(f)
c._solve_fields(None)
c.split_ref()
return c
Expand Down

0 comments on commit a142a76

Please sign in to comment.