[Templates] Moved JLCPCB+stencil to a separated import

- So now the compress target includes the stencil
This commit is contained in:
Salvador E. Tropea 2023-01-05 08:36:17 -03:00
parent 94cd385725
commit 1202351fed
5 changed files with 81 additions and 14 deletions

View File

@ -4690,8 +4690,7 @@ They include support for:
- _FusionPCB_compress: Gerbers and drill files compressed in a ZIP
- _FusionPCB: _FusionPCB_gerbers+_FusionPCB_drill
- [JLCPCB](https://jlcpcb.com/): contain fabrication outputs compatible with JLC PCB
- _JLCPCB_gerbers: Gerbers. You need to define the layers for more than 8.
- _JLCPCB_gerbers_stencil: Gerbers for the solder paste stencils. Disabled by default.
- _JLCPCB_gerbers: Gerbers.
- _JLCPCB_drill: Drill files
- _JLCPCB_position: Pick and place, applies the `_rot_footprint` filter. You can change this filter.
- _JLCPCB_bom: List of LCSC parts, assumes a field named `LCSC#` contains the LCSC codes. You can change this filter.
@ -4699,6 +4698,16 @@ They include support for:
- _JLCPCB_fab: _JLCPCB_gerbers+_JLCPCB_drill
- _JLCPCB_assembly: _JLCPCB_position+_JLCPCB_bom
- _JLCPCB: _JLCPCB_fab+_JLCPCB_assembly
- [JLCPCB_stencil](https://jlcpcb.com/): Derived from JLCPCB, adds solder paste gerbers for stencils
- _JLCPCB_gerbers: Gerbers.
- _JLCPCB_gerbers_stencil: Gerbers for the solder paste stencils. Disabled by default.
- _JLCPCB_drill: Drill files
- _JLCPCB_position: Pick and place, applies the `_rot_footprint` filter. You can change this filter.
- _JLCPCB_bom: List of LCSC parts, assumes a field named `LCSC#` contains the LCSC codes. You can change this filter.
- _JLCPCB_compress: Gerbers, drill, position and BoM files compressed in a ZIP
- _JLCPCB_fab: _JLCPCB_gerbers+_JLCPCB_gerbers_stencil+_JLCPCB_drill
- _JLCPCB_assembly: _JLCPCB_position+_JLCPCB_bom
- _JLCPCB: _JLCPCB_fab+_JLCPCB_assembly
- [P-Ban](https://www.p-ban.com/): contain fabrication outputs compatible with P-Ban
- _P-Ban_gerbers: Gerbers. You need to define the layers for more than 8.
- _P-Ban_drill: Drill files

View File

@ -1273,8 +1273,7 @@ They include support for:
- _FusionPCB_compress: Gerbers and drill files compressed in a ZIP
- _FusionPCB: _FusionPCB_gerbers+_FusionPCB_drill
- [JLCPCB](https://jlcpcb.com/): contain fabrication outputs compatible with JLC PCB
- _JLCPCB_gerbers: Gerbers. You need to define the layers for more than 8.
- _JLCPCB_gerbers_stencil: Gerbers for the solder paste stencils. Disabled by default.
- _JLCPCB_gerbers: Gerbers.
- _JLCPCB_drill: Drill files
- _JLCPCB_position: Pick and place, applies the `_rot_footprint` filter. You can change this filter.
- _JLCPCB_bom: List of LCSC parts, assumes a field named `LCSC#` contains the LCSC codes. You can change this filter.
@ -1282,6 +1281,16 @@ They include support for:
- _JLCPCB_fab: _JLCPCB_gerbers+_JLCPCB_drill
- _JLCPCB_assembly: _JLCPCB_position+_JLCPCB_bom
- _JLCPCB: _JLCPCB_fab+_JLCPCB_assembly
- [JLCPCB_stencil](https://jlcpcb.com/): Derived from JLCPCB, adds solder paste gerbers for stencils
- _JLCPCB_gerbers: Gerbers.
- _JLCPCB_gerbers_stencil: Gerbers for the solder paste stencils. Disabled by default.
- _JLCPCB_drill: Drill files
- _JLCPCB_position: Pick and place, applies the `_rot_footprint` filter. You can change this filter.
- _JLCPCB_bom: List of LCSC parts, assumes a field named `LCSC#` contains the LCSC codes. You can change this filter.
- _JLCPCB_compress: Gerbers, drill, position and BoM files compressed in a ZIP
- _JLCPCB_fab: _JLCPCB_gerbers+_JLCPCB_gerbers_stencil+_JLCPCB_drill
- _JLCPCB_assembly: _JLCPCB_position+_JLCPCB_bom
- _JLCPCB: _JLCPCB_fab+_JLCPCB_assembly
- [P-Ban](https://www.p-ban.com/): contain fabrication outputs compatible with P-Ban
- _P-Ban_gerbers: Gerbers. You need to define the layers for more than 8.
- _P-Ban_drill: Drill files

View File

@ -56,16 +56,6 @@ outputs:
- B.Mask
- Edge.Cuts
- name: _JLCPCB_gerbers_stencil
comment: Gerbers for the stencils compatible with JLCPCB
type: gerber
dir: JLCPCB
run_by_default: false
options: *gerber_options
layers:
- F.Paste
- B.Paste
- name: _JLCPCB_drill
comment: Drill files compatible with JLCPCB
type: excellon

View File

@ -0,0 +1,53 @@
# Gerber and drill files for JLCPCB, without stencil
# URL: https://jlcpcb.com/
# Based on setting used by Gerber Zipper (https://github.com/g200kg/kicad-gerberzipper)
kibot:
version: 1
import:
- file: JLCPCB
is_internal: true
outputs:
# We exclude the _JLCPCB_compress
- _JLCPCB_gerbers
- _JLCPCB_drill
- _JLCPCB_position
- _JLCPCB_bom
groups:
# We exlclude the _JLCPCB_fab
- _JLCPCB_assembly
- _JLCPCB
groups:
- name: _JLCPCB_fab
outputs:
- _JLCPCB_gerbers
- _JLCPCB_gerbers_stencil
- _JLCPCB_drill
outputs:
- name: _JLCPCB_gerbers_stencil
comment: Gerbers for the stencils compatible with JLCPCB
type: gerber
dir: JLCPCB
extends: _JLCPCB_gerbers
layers:
- F.Paste
- B.Paste
- name: _JLCPCB_compress
comment: ZIP file for JLCPCB
type: compress
dir: JLCPCB
options:
files:
- from_output: _JLCPCB_gerbers
dest: /
- from_output: _JLCPCB_gerbers_stencil
dest: /
- from_output: _JLCPCB_drill
dest: /
- from_output: _JLCPCB_position
dest: /
- from_output: _JLCPCB_bom
dest: /

View File

@ -0,0 +1,6 @@
kibot:
version: 1
import:
- file: JLCPCB_stencil
is_internal: true