-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Preflight Checklist
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
Problem
some complex PCB setups require multiple yet dependent boards, either because they need to be stacked or assembled like a box. these PCBs are often part of a single schematic (for practical and readability reasons) so it is not convenient to have separate projects for each sub-board. also, having everything in the same file makes things like alignment much easier
Manufacturing aspect
from what I gathered, PCB manufacturers do not accept multiple board outlines in a single file. from a machinist point of view, multiple boards in a file makes things like picking the boards a nightmare. there is little power on our side to change this.
Workaround
a workaround I've found is to have all the sub-PCBs in a single file ; prior to exporting, selectively delete all items (components and board outlines) that do not belong to a chosen part. export, undo, selectively delete all items that do not belong to another sub-PCB, export, and repeat as many times as required.
Problem
this is time consuming and prone to errors
Proposed Solution
it seems a cleaner solution would be to create named rule areas in a chosen layer (ie. User 7) ; upon export, fabrication toolkit should sequentially export the content of each area (ignoring any items that are outside of this area) and use the name of the area as a suffix, so if I have a file called cube.kicad_pcb each of the 6 individual faces should be automatically exported to cube_bottom.zip, cube_top.zip, cube_front.zip, cube_back.zip, cube_left.zip and cube_right.zip
- if areas are rectangular, it is very easy to compute if something is inside or outside of a zone
- extra care must be taken when footprints overlap an area's boundary
BOM and CPL files should also be generated accordingly.
Alternatives Considered
- manual labor (as described above)
- different kicad_pcb files
Additional Information
No response