[Internal templates][Added] Threshold parameter to CheckZoneFill

- So we can easilly adjust the tolerated changes
This commit is contained in:
Salvador E. Tropea 2023-06-13 10:25:09 -03:00
parent 6f046d4cd0
commit 9c27c8e565
3 changed files with 9 additions and 1 deletions

View File

@ -5425,6 +5425,8 @@ 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.
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
- _Elecrow_drill: Drill files

View File

@ -1307,6 +1307,8 @@ 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.
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
- _Elecrow_drill: Drill files

View File

@ -26,7 +26,11 @@ outputs:
options:
cache_dir: .cache
diff_mode: stats
threshold: 100
threshold: @THRESHOLD@
old: ''
old_type: file
new_type: current
...
definitions:
THRESHOLD: 100