easyw / kicad-action-tools

kicad action plugin tools
GNU General Public License v2.0
97 stars 19 forks source link

Move to Layer, Possible to work in Footprint Editor? #24

Closed thestumbler closed 1 year ago

thestumbler commented 1 year ago

Just a question, not really an issue.

As the title says, can/could this plugin be made to work from within the footprint editor?

-Chris

easyw commented 1 year ago

this unfortunately is not possible AFAIK plugins don't work on footprint editor

thestumbler commented 1 year ago

BTW, I figured out a workaround. I was turning a small PCB into a footprint in order to make a tester board. For example, I wanted the board outline on the edge cuts layer to appear as the silkscreen of the footprint. That was what brought about my original question.

The workaround -- on the PCB, I temporarily duplicated the board outline. Then, using this plugin, moved the duplicate to the silkscreen layer. Finally, did a cut / paste of this silkscreen from the PCB into the footprint editor. Voila.

There is a script I found online that converts a PCB into a footprint, but it seemed more complicated than needed for my application. I should note that in my case, the board outline was not just a rectangle, but a complicated shape generated in a CAD program and imported into KiCad using a DXF file.