preProcessors:

  # Templates
  - key: geomWizard
    name: Template
    tooltip: Create geometry from template

@@if(app === 'ALL' || app === 'INDUCTION' || app === 'API') {

  # CAD + roles
  - key: geomFromCad
    name: From CAD
    tooltip: Use CAD file for geometry

    isInputFileMandatory: true
    fileFormats:
      - name: Supported formats
        extensions: [step, stp, iges, igs]

  # Salome + CAD (optional) + roles
  - key: geomRolesCad
    name: Advanced geometry editor
    tooltip: Create geometry in <i>Salome</i> &ndash; an advanced open-source editor &ndash; from scratch, or pre-load it with CAD files (<i>step</i>, <i>iges</i>, <i>brep</i>)

    isInputFileMandatory: false
    fileFormats:
      - name: Supported formats
        extensions: [step, stp, iges, igs]

  # Salome + CAD (optional) (for legacy cases w/ groups)
  - key: salomeCad
    name: Advanced editor (legacy case)
    hidden: true

    isInputFileMandatory: false
    fileFormats:
      - name: Supported formats
        extensions: [step, stp, iges, igs]

  # Salome (for legacy cases)
  - key: salome
    name: Advanced editor (legacy case)
    hidden: true
}

@@if(app === 'ALL' || app === 'ANTENNAS') {

  # FreeCAD + CAD + roles
  - key: geomRolesCad
    name: Import CAD / EDA
    subtitle: STEP, Autodesk, KiCAD and more
    tooltip: Use CAD file for geometry

    isInputFileMandatory: true
    fileFormats:
      - name: Supported formats
        extensions: [step, stp, iges, igs, ipt, f3d, kicad_pcb]
      - name: CAD file
        extensions: [step, stp, iges, igs]
      - name: KiCad PCB
        extensions: [kicad_pcb]
      - name: Autodesk part
        extensions: [ipt, f3d]

  # FreeCAD + roles
  - key: geomRoles
    name: Geometry editor (FreeCAD)
    tooltip: Create geometry in FreeCAD &ndash; an advanced open-source editor
}

  - key: read
    name: Read mesh file
    hidden: true
    tooltip: Read a mesh in <i>gmesh</i> format
