# Here we use internal outputs, 2 automagically selected and one specified
kiplot:
  version: 1

outputs:
  - name: KiKit_present_files
    comment: "Present test using local mode"
    type: kikit_present
    dir: Present/Local_1
    options:
      description: 'tests/data/silly_project.md'
      boards:
        mode: local
        comment: This is a comment
        name: Light control
        # back_image: Raytraced
        back_image: Blender
      repository: 'https://github.com/INTI-CMNB/KiBot/'

  - name: PcbDraw
    comment: "PcbDraw test top"
    type: pcbdraw
    dir: PcbDraw
    run_by_default: false
    options:
      format: svg
      vcuts: true
      warnings: visible
      dpi: 600

  - name: Raytraced
    type: render_3d
    run_by_default: false
    options:
      width: 640
      height: 480
      rotate_x: 3
      rotate_z: -2
      ray_tracing: true

  - name: Blender
    type: blender_export
    run_by_default: false
    options:
      outputs:
        - type: render
      render_options:
        transparent_background: true
        auto_crop: true
        # width: 640
        # height: 480

  - name: 'gerbers'
    comment: "Gerbers for the Gerber god"
    type: gerber
    dir: gerberdir
    run_by_default: false
    layers: copper

  - name: result
    comment: Compress the gerbers
    type: compress
    run_by_default: false
    options:
      files:
        - from_output: gerbers
