-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hey there,
I´ve noticed that with the newer versions and more complete checking, the plugin does not allow to import a layout when the number of layers is different between the projects.
This of course avoids a lot of confusion (e.g. where did my layer go... ) but also seriously hinders the reuse of layouts across different boards.
I would propose to allow this kind of import based on user input.
For now just checking which layers were used in the source layout and simply matching them with the desired layer in the active project seems to work okay.
For a quick test I put a version working with KiCAD 6 on my fork, if you like the idea I will update and clean the code a bit and start a merge request.
I have not done too much of testing (e.g. mirrored or rotated imports etc..) but only made a first proof of concept.
There´s quiet some room for improvements e.g.
Checking for components (why not put the bottom layer on In6 if there are no components there?)
or allowing to discard certain layers (import from 6 layers board to 4 layers, but throwing away two less used layers and starting from there)
Any takers for this function?
Cheers,
Nik