Skip to content

Commit

Permalink
[Internal Templates][Added] _KIBOT_DRILL_AUX_ORIGIN option
Browse files Browse the repository at this point in the history
To use the auxiliar origin for drill files
  • Loading branch information
set-soft committed Feb 19, 2025
1 parent 1a84759 commit c90575a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `check_fields` mechanism to check for extra fields (#774)
- Global options:
- `work_layer`: to choose the temporal layer for internal operations (#713)
- Internal templates:
- `_KIBOT_DRILL_AUX_ORIGIN` option to control drill origin
- Workaround for people using backslashes (i.e. Windows+WSL) (#719) (#607)
More general than in previous versions.
- Blender Export: option to avoid soldering heatsinks
Expand Down
4 changes: 4 additions & 0 deletions docs/source/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ Added
- ``work_layer``: to choose the temporal layer for internal
operations (#713)

- Internal templates:

- ``_KIBOT_DRILL_AUX_ORIGIN`` option to control drill origin

- Workaround for people using backslashes (i.e. Windows+WSL) (#719)
(#607) More general than in previous versions.
- Blender Export: option to avoid soldering heatsinks
Expand Down
1 change: 1 addition & 0 deletions docs/source/configuration/imports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ The manufacturer templates (Elecrow, FusionPCB, JLCPCB, P-Ban and PCBWay) suppor
- **_KIBOT_PLOT_FOOTPRINT_REFS**: Include the footprint references in the gerbers (default: true)
- **_KIBOT_PLOT_FOOTPRINT_VALUES**: Include the footprint values in the gerbers (default: true, except for JLCPCB)
- **_KIBOT_COMPRESS_MOVE**: Move the generated files to the compressed archive (default: true)
- **_KIBOT_DRILL_AUX_ORIGIN**: Use the auxiliar origin as coordinates origin for drill files (default: false, except for FusionPCB)


The JLCPCB case is a little bit more complex and also supports:
Expand Down
2 changes: 2 additions & 0 deletions kibot/resources/config_templates/Elecrow.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ outputs:
pth_id: ''
npth_id: '-NPTH'
output: "%f%i.TXT"
use_aux_axis_as_origin: @_KIBOT_DRILL_AUX_ORIGIN@

- name: _Elecrow_compress@_KIBOT_IMPORT_ID@
comment: ZIP file for Elecrow
Expand All @@ -73,6 +74,7 @@ definitions:
_KIBOT_PLOT_FOOTPRINT_REFS: true
_KIBOT_PLOT_FOOTPRINT_VALUES: true
_KIBOT_COMPRESS_MOVE: true
_KIBOT_DRILL_AUX_ORIGIN: false
_KIBOT_GERBER_LAYERS: |
- copper
- F.SilkS
Expand Down
3 changes: 2 additions & 1 deletion kibot/resources/config_templates/FusionPCB.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ outputs:
dir: @_KIBOT_MANF_DIR@
options:
pth_and_npth_single_file: true
use_aux_axis_as_origin: true
use_aux_axis_as_origin: @_KIBOT_DRILL_AUX_ORIGIN@
output: "%f.TXT"

- name: _FusionPCB_compress@_KIBOT_IMPORT_ID@
Expand All @@ -73,6 +73,7 @@ definitions:
_KIBOT_PLOT_FOOTPRINT_REFS: true
_KIBOT_PLOT_FOOTPRINT_VALUES: true
_KIBOT_COMPRESS_MOVE: true
_KIBOT_DRILL_AUX_ORIGIN: true
_KIBOT_GERBER_LAYERS: |
- copper
- F.SilkS
Expand Down
2 changes: 1 addition & 1 deletion kibot/resources/config_templates/JLCPCB.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ definitions:
_KIBOT_PLOT_FOOTPRINT_REFS: true
_KIBOT_PLOT_FOOTPRINT_VALUES: false
_KIBOT_COMPRESS_MOVE: true
_KIBOT_DRILL_AUX_ORIGIN: true
_KIBOT_DRILL_AUX_ORIGIN: false
_KIBOT_GERBER_LAYERS: |
- copper
- F.SilkS
Expand Down
2 changes: 2 additions & 0 deletions kibot/resources/config_templates/P-Ban.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ outputs:
left_digits: 3
right_digits: 3
output: "%f.drl"
use_aux_axis_as_origin: @_KIBOT_DRILL_AUX_ORIGIN@

- name: _P-Ban_compress@_KIBOT_IMPORT_ID@
comment: ZIP file for P-Ban
Expand All @@ -79,6 +80,7 @@ definitions:
_KIBOT_PLOT_FOOTPRINT_REFS: true
_KIBOT_PLOT_FOOTPRINT_VALUES: true
_KIBOT_COMPRESS_MOVE: true
_KIBOT_DRILL_AUX_ORIGIN: false
_KIBOT_GERBER_LAYERS: |
- copper
- F.SilkS
Expand Down
2 changes: 2 additions & 0 deletions kibot/resources/config_templates/PCBWay.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ outputs:
pth_id: ''
npth_id: '-NPTH'
output: "%f%i.drl"
use_aux_axis_as_origin: @_KIBOT_DRILL_AUX_ORIGIN@

- name: _PCBWay_compress@_KIBOT_IMPORT_ID@
comment: ZIP file for PCBWay
Expand All @@ -81,6 +82,7 @@ definitions:
_KIBOT_PLOT_FOOTPRINT_REFS: true
_KIBOT_PLOT_FOOTPRINT_VALUES: true
_KIBOT_COMPRESS_MOVE: true
_KIBOT_DRILL_AUX_ORIGIN: false
_KIBOT_GERBER_LAYERS: |
- copper
- F.SilkS
Expand Down

0 comments on commit c90575a

Please sign in to comment.