From d19b9343bc84ae5966b8b2ff570663cc31679306 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 13 Jun 2023 10:52:11 -0300 Subject: [PATCH] [Internal Templates][Added] Versions with stencil for all --- CHANGELOG.md | 1 + README.md | 4 ++++ docs/README.in | 4 ++++ kibot/resources/config_templates/Elecrow.kibot.yaml | 7 +++++++ .../resources/config_templates/Elecrow_stencil.kibot.yaml | 8 ++++++++ kibot/resources/config_templates/FusionPCB.kibot.yaml | 7 +++++++ .../config_templates/FusionPCB_stencil.kibot.yaml | 8 ++++++++ kibot/resources/config_templates/P-Ban.kibot.yaml | 7 +++++++ kibot/resources/config_templates/P-Ban_stencil.kibot.yaml | 8 ++++++++ kibot/resources/config_templates/PCBWay.kibot.yaml | 7 +++++++ .../resources/config_templates/PCBWay_stencil.kibot.yaml | 8 ++++++++ 11 files changed, 69 insertions(+) create mode 100644 kibot/resources/config_templates/Elecrow_stencil.kibot.yaml create mode 100644 kibot/resources/config_templates/FusionPCB_stencil.kibot.yaml create mode 100644 kibot/resources/config_templates/P-Ban_stencil.kibot.yaml create mode 100644 kibot/resources/config_templates/PCBWay_stencil.kibot.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 65fce0ac..289866cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Internal templates: - CheckZoneFill: Used to check if a zone fill operation makes the PCB quite different (#431) + - Versions with stencil for Elecrow, FusionPCB, P-Ban and PCBWay. - Render_3D: - realistic: can be used to disable the realistic colors and get the GUI ones - show_board_body: can be used to make the PCB core transparent (see inner) diff --git a/README.md b/README.md index 8893a2ef..b6d8c92d 100644 --- a/README.md +++ b/README.md @@ -5432,11 +5432,13 @@ They include support for: - _Elecrow_drill: Drill files - _Elecrow_compress: Gerbers and drill files compressed in a ZIP - _Elecrow: _Elecrow_gerbers+_Elecrow_drill +- Elecrow_stencil: same as Elecrow, but also generates gerbers for F.Paste and B.Paste layers. - [FusionPCB](https://www.seeedstudio.io/fusion.html): contain fabrication outputs compatible with FusionPCB - _FusionPCB_gerbers: Gerbers - _FusionPCB_drill: Drill files - _FusionPCB_compress: Gerbers and drill files compressed in a ZIP - _FusionPCB: _FusionPCB_gerbers+_FusionPCB_drill +- FusionPCB_stencil: same as FusionPCB, but also generates gerbers for F.Paste and B.Paste layers. - [JLCPCB](https://jlcpcb.com/): contain fabrication outputs compatible with JLC PCB. Only SMD components. Use the `field_lcsc_part` global option to specify the LCSC part number field if KiBot fails to detect it. - _JLCPCB_gerbers: Gerbers. @@ -5465,6 +5467,7 @@ They include support for: - _P-Ban_gerbers: Gerbers. You need to define the layers for more than 8. - _P-Ban_drill: Drill files - _P-Ban: _P-Ban_gerbers+_P-Ban_drill +- P-Ban_stencil: same as P-Ban, but also generates gerbers for F.Paste and B.Paste layers. - [PCB2Blender_2_1](https://github.com/30350n/pcb2blender) - _PCB2Blender_layers_2_1: The layers in SVG format. Disabled by default. - _PCB2Blender_vrml_2_1: The VRML for the board. Disabled by default. @@ -5481,6 +5484,7 @@ They include support for: - _PCBWay_drill: Drill files - _PCBWay_compress: Gerbers and drill files compressed in a ZIP - _PCBWay: _PCBWay_gerbers+_PCBWay_drill +- PCBWay_stencil: same as PCBWay, but also generates gerbers for F.Paste and B.Paste layers. #### Using other output as base for a new one diff --git a/docs/README.in b/docs/README.in index 2a218877..e99ed35f 100644 --- a/docs/README.in +++ b/docs/README.in @@ -1314,11 +1314,13 @@ They include support for: - _Elecrow_drill: Drill files - _Elecrow_compress: Gerbers and drill files compressed in a ZIP - _Elecrow: _Elecrow_gerbers+_Elecrow_drill +- Elecrow_stencil: same as Elecrow, but also generates gerbers for F.Paste and B.Paste layers. - [FusionPCB](https://www.seeedstudio.io/fusion.html): contain fabrication outputs compatible with FusionPCB - _FusionPCB_gerbers: Gerbers - _FusionPCB_drill: Drill files - _FusionPCB_compress: Gerbers and drill files compressed in a ZIP - _FusionPCB: _FusionPCB_gerbers+_FusionPCB_drill +- FusionPCB_stencil: same as FusionPCB, but also generates gerbers for F.Paste and B.Paste layers. - [JLCPCB](https://jlcpcb.com/): contain fabrication outputs compatible with JLC PCB. Only SMD components. Use the `field_lcsc_part` global option to specify the LCSC part number field if KiBot fails to detect it. - _JLCPCB_gerbers: Gerbers. @@ -1347,6 +1349,7 @@ They include support for: - _P-Ban_gerbers: Gerbers. You need to define the layers for more than 8. - _P-Ban_drill: Drill files - _P-Ban: _P-Ban_gerbers+_P-Ban_drill +- P-Ban_stencil: same as P-Ban, but also generates gerbers for F.Paste and B.Paste layers. - [PCB2Blender_2_1](https://github.com/30350n/pcb2blender) - _PCB2Blender_layers_2_1: The layers in SVG format. Disabled by default. - _PCB2Blender_vrml_2_1: The VRML for the board. Disabled by default. @@ -1363,6 +1366,7 @@ They include support for: - _PCBWay_drill: Drill files - _PCBWay_compress: Gerbers and drill files compressed in a ZIP - _PCBWay: _PCBWay_gerbers+_PCBWay_drill +- PCBWay_stencil: same as PCBWay, but also generates gerbers for F.Paste and B.Paste layers. #### Using other output as base for a new one diff --git a/kibot/resources/config_templates/Elecrow.kibot.yaml b/kibot/resources/config_templates/Elecrow.kibot.yaml index a422e0b6..5aa70b2a 100644 --- a/kibot/resources/config_templates/Elecrow.kibot.yaml +++ b/kibot/resources/config_templates/Elecrow.kibot.yaml @@ -42,6 +42,8 @@ outputs: - F.Mask - B.Mask - Edge.Cuts + @F_PASTE@ + @B_PASTE@ - name: _Elecrow_drill comment: Drill files compatible with Elecrow @@ -63,3 +65,8 @@ outputs: dest: / - from_output: _Elecrow_drill dest: / + +... +definitions: + F_PASTE: '' + B_PASTE: '' diff --git a/kibot/resources/config_templates/Elecrow_stencil.kibot.yaml b/kibot/resources/config_templates/Elecrow_stencil.kibot.yaml new file mode 100644 index 00000000..24b56c4c --- /dev/null +++ b/kibot/resources/config_templates/Elecrow_stencil.kibot.yaml @@ -0,0 +1,8 @@ +kibot: + version: 1 + +import: + - file: Elecrow + definitions: + F_PASTE: '- F.Paste' + B_PASTE: '- B.Paste' diff --git a/kibot/resources/config_templates/FusionPCB.kibot.yaml b/kibot/resources/config_templates/FusionPCB.kibot.yaml index d316e512..52b925b5 100644 --- a/kibot/resources/config_templates/FusionPCB.kibot.yaml +++ b/kibot/resources/config_templates/FusionPCB.kibot.yaml @@ -43,6 +43,8 @@ outputs: - F.Mask - B.Mask - Edge.Cuts + @F_PASTE@ + @B_PASTE@ - name: _FusionPCB_drill comment: Drill files compatible with FusionPCB @@ -63,3 +65,8 @@ outputs: dest: / - from_output: _FusionPCB_drill dest: / + +... +definitions: + F_PASTE: '' + B_PASTE: '' diff --git a/kibot/resources/config_templates/FusionPCB_stencil.kibot.yaml b/kibot/resources/config_templates/FusionPCB_stencil.kibot.yaml new file mode 100644 index 00000000..c7136470 --- /dev/null +++ b/kibot/resources/config_templates/FusionPCB_stencil.kibot.yaml @@ -0,0 +1,8 @@ +kibot: + version: 1 + +import: + - file: FusionPCB + definitions: + F_PASTE: '- F.Paste' + B_PASTE: '- B.Paste' diff --git a/kibot/resources/config_templates/P-Ban.kibot.yaml b/kibot/resources/config_templates/P-Ban.kibot.yaml index 08c9e65e..d508c8af 100644 --- a/kibot/resources/config_templates/P-Ban.kibot.yaml +++ b/kibot/resources/config_templates/P-Ban.kibot.yaml @@ -50,6 +50,8 @@ outputs: - F.Mask - B.Mask - Edge.Cuts + @F_PASTE@ + @B_PASTE@ - name: _P-Ban_drill comment: Drill files compatible with P-Ban @@ -76,3 +78,8 @@ outputs: dest: / - from_output: _P-Ban_drill dest: / + +... +definitions: + F_PASTE: '' + B_PASTE: '' diff --git a/kibot/resources/config_templates/P-Ban_stencil.kibot.yaml b/kibot/resources/config_templates/P-Ban_stencil.kibot.yaml new file mode 100644 index 00000000..606eba81 --- /dev/null +++ b/kibot/resources/config_templates/P-Ban_stencil.kibot.yaml @@ -0,0 +1,8 @@ +kibot: + version: 1 + +import: + - file: P-Ban + definitions: + F_PASTE: '- F.Paste' + B_PASTE: '- B.Paste' diff --git a/kibot/resources/config_templates/PCBWay.kibot.yaml b/kibot/resources/config_templates/PCBWay.kibot.yaml index 6d27a692..8c976db7 100644 --- a/kibot/resources/config_templates/PCBWay.kibot.yaml +++ b/kibot/resources/config_templates/PCBWay.kibot.yaml @@ -42,6 +42,8 @@ outputs: - F.Paste - B.Paste - Edge.Cuts + @F_PASTE@ + @B_PASTE@ - name: _PCBWay_drill comment: Drill files compatible with PCBWay @@ -73,3 +75,8 @@ outputs: dest: / - from_output: _PCBWay_drill dest: / + +... +definitions: + F_PASTE: '' + B_PASTE: '' diff --git a/kibot/resources/config_templates/PCBWay_stencil.kibot.yaml b/kibot/resources/config_templates/PCBWay_stencil.kibot.yaml new file mode 100644 index 00000000..5ca5f718 --- /dev/null +++ b/kibot/resources/config_templates/PCBWay_stencil.kibot.yaml @@ -0,0 +1,8 @@ +kibot: + version: 1 + +import: + - file: PCBWay + definitions: + F_PASTE: '- F.Paste' + B_PASTE: '- B.Paste'