Ability to upload schematic BOMs to projects, not only PCB BOMs#983
Closed
barisgit wants to merge 0 commit intoPart-DB:masterfrom
Closed
Ability to upload schematic BOMs to projects, not only PCB BOMs#983barisgit wants to merge 0 commit intoPart-DB:masterfrom
barisgit wants to merge 0 commit intoPart-DB:masterfrom
Conversation
f7c1a19 to
9cb9260
Compare
Contributor
Author
|
I am sorry about these shenanigans, the branch is back to where it should be. |
9cb9260 to
5a5691a
Compare
Member
|
Thanks, that great. Merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As #907 already outlines, currently only ability to import BOMs from KiCAD PCBNew is allowed. With this PR, there is now functionality to import BOMs from schematic as well as any other arbitrary CSV, thanks to a mapping step that maps input columns to output columns.
This is how it works:
Note: The system also validates CSVs and provides error messages in cases of invalid data

Lines also get consolidated in case there are same components on different lines. Eg.:
would get saved as 7 parts with MPN 123456 of which designators are C1, C3, C5, C6, C12, C13 and C24.