# Testpoints selected by value
kibot:
  version: 1

filters:
  - name: _separate_testpoints
    comment: "Separate components with value starting with `TestPoint`"
    type: generic
    include_only:
      - column: Value
        regex: "^TestPoint"

outputs:
  - name: _testpoints_value@_KIBOT_IMPORT_ID@
    comment: "Testpoints report by value"
    type: bom
    dir: @_KIBOT_IMPORT_DIR@
    options:
      pre_transform: @_KIBOT_PRE_TRANSFORM@
      exclude_filter: @_KIBOT_EXCLUDE_FILTER@
      dnf_filter: @_KIBOT_DNF_FILTER@
      exclude_marked_in_sch: false
      group_fields: []
      sort_style: ref
      use_aux_axis_as_origin: true
      ignore_dnf: false
      format: @_KIBOT_TESTPOINTS_FORMAT@
      xlsx:
        logo_scale: 1.7
      csv:
        hide_pcb_info: true
        hide_stats_info: true
      footprint_type_values: 'SMT,THRU,'
      columns:
        - field: Row
          name: ''
        - field: References
          name: Source
        - field: Net Name
          name: Net
        - field: Net Class
        - field: Footprint Side
          name: Side
        - field: Footprint X
          name: X-Loc
        - field: Footprint Y
          name: Y-Loc
        - field: Footprint Type NV
          name: Pad Type

...
definitions:
  _KIBOT_IMPORT_ID: ''
  _KIBOT_IMPORT_DIR: 'Testpoints'
  _KIBOT_PRE_TRANSFORM: '_kicost_rename'
  _KIBOT_DNF_FILTER: '_null'
  _KIBOT_EXCLUDE_FILTER: '_separate_testpoints'
  _KIBOT_TESTPOINTS_FORMAT: 'XLSX'
