bennymeg / Fabrication-Toolkit

An JLC PCB Fabrication Plugin for KiCad
Apache License 2.0
300 stars 52 forks source link

KiCad 8.0.0-rc1 API changed #112

Closed akakoziqi closed 7 months ago

akakoziqi commented 7 months ago

In the 8.0.0-rc1 version of KiCad, there is an API change.

When I use this plugin in KiCad 8.0.0-rc1, there is an error: image

The reason is footprint object in process.py has no HasProperty and GetProperty function. I replace the HasProperty function by HasFieldByName function, and replace the GetProperty function by GetFieldByName function.

Then it seems worked.

But I don't know how to make if capable for the previous version of Kicad. :)

boromyr commented 7 months ago

@akakoziqi it worked thanks

bennymeg commented 7 months ago

Thanks for letting us know, a solution had been already implemented here: [#109]. Will be released in the next major release (v4).