diff --git a/README.md b/README.md index 91aded16..17ac4d25 100644 --- a/README.md +++ b/README.md @@ -5426,7 +5426,7 @@ They include support for: - _diff_cur_pcb_show: Makes a diff between the PCB in memory and the one on disk - _diff_cur_pcb_check: Computes the difference between PCB in memory and the one on disk. Aborts if more than 100 pixels changed. - - Note: The *THRESHOLD* parameter can be used to adjust the number of changed pixels that we tolerate. + - Note: The *_KIBOT_CHKZONE_THRESHOLD* parameter can be used to adjust the number of changed pixels that we tolerate. Consult the [Definitions during import](#definitions-during-import) section to know about parameters. - [Elecrow](https://www.elecrow.com/): contain fabrication outputs compatible with Elecrow - _Elecrow_gerbers: Gerbers diff --git a/docs/README.in b/docs/README.in index e99ed35f..6b589c5a 100644 --- a/docs/README.in +++ b/docs/README.in @@ -1307,7 +1307,7 @@ They include support for: - _diff_cur_pcb_show: Makes a diff between the PCB in memory and the one on disk - _diff_cur_pcb_check: Computes the difference between PCB in memory and the one on disk. Aborts if more than 100 pixels changed. - - Note: The *THRESHOLD* parameter can be used to adjust the number of changed pixels that we tolerate. + - Note: The *_KIBOT_CHKZONE_THRESHOLD* parameter can be used to adjust the number of changed pixels that we tolerate. Consult the [Definitions during import](#definitions-during-import) section to know about parameters. - [Elecrow](https://www.elecrow.com/): contain fabrication outputs compatible with Elecrow - _Elecrow_gerbers: Gerbers diff --git a/kibot/resources/config_templates/CheckZoneFill.kibot.yaml b/kibot/resources/config_templates/CheckZoneFill.kibot.yaml index 45afe8ca..4deee054 100644 --- a/kibot/resources/config_templates/CheckZoneFill.kibot.yaml +++ b/kibot/resources/config_templates/CheckZoneFill.kibot.yaml @@ -26,11 +26,11 @@ outputs: options: cache_dir: .cache diff_mode: stats - threshold: @THRESHOLD@ + threshold: @_KIBOT_CHKZONE_THRESHOLD@ old: '' old_type: file new_type: current ... definitions: - THRESHOLD: 100 + _KIBOT_CHKZONE_THRESHOLD: 100