forked from johnbeard/kiplot
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added filter options using PCB attributes.
KiCad 6 will break this, we'll see how to adapt.
- Loading branch information
Showing
8 changed files
with
149 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Example KiBot config file | ||
kibot: | ||
version: 1 | ||
|
||
filters: | ||
- name: 'no smd' | ||
type: 'generic' | ||
comment: 'Remove components with smd attribute' | ||
exclude_smd: true | ||
|
||
- name: 'no tht' | ||
type: 'generic' | ||
comment: 'Remove components with through-hole attribute' | ||
exclude_tht: true | ||
|
||
- name: 'no virtual' | ||
type: 'generic' | ||
comment: 'Remove components with virtual attribute' | ||
exclude_virtual: true | ||
|
||
outputs: | ||
- name: 'no smd' | ||
comment: "BoM no smd" | ||
type: bom | ||
dir: BoM | ||
options: | ||
output: 'smd.csv' | ||
use_alt: true | ||
exclude_filter: 'no smd' | ||
|
||
- name: 'no tht' | ||
comment: "BoM no THT" | ||
type: bom | ||
dir: BoM | ||
options: | ||
output: 'tht.csv' | ||
use_alt: true | ||
exclude_filter: 'no tht' | ||
|
||
- name: 'no smd' | ||
comment: "BoM no virtual" | ||
type: bom | ||
dir: BoM | ||
options: | ||
output: 'virtual.csv' | ||
use_alt: true | ||
exclude_filter: 'no virtual' | ||
|