enable kicanvas
This commit is contained in:
@@ -475,6 +475,13 @@ jobs:
|
||||
name: JLCPCB-${{ steps.layers.outputs.layers }}layer
|
||||
path: Generated/*_JLCPCB_compress.zip
|
||||
|
||||
- name: Retrieve results - Interactive Viewers
|
||||
if: steps.config_check.outputs.found == 'true'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Interactive-Viewers
|
||||
path: Generated/Interactive
|
||||
|
||||
- name: Retrieve results - Diff Report
|
||||
if: steps.generate_diff.outputs.has_diff == 'true'
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
51
kibot.yaml
51
kibot.yaml
@@ -556,6 +556,57 @@ outputs:
|
||||
- source: 3D/*
|
||||
dest: /3D
|
||||
|
||||
# KiCanvas interactive viewer - Schematic
|
||||
- name: 'kicanvas_schematic'
|
||||
comment: "Interactive schematic viewer"
|
||||
type: kicanvas
|
||||
dir: Interactive
|
||||
output: '%f-schematic-viewer.%x'
|
||||
category: 'Schematic/docs'
|
||||
run_by_default: true
|
||||
priority: 45
|
||||
options:
|
||||
source: 'schematic'
|
||||
local_script: true # Download and use local copy of script
|
||||
controls: 'full' # Full controls for navigation
|
||||
download: true # Show download button
|
||||
overlay: true # Show click overlay
|
||||
title: '%f Schematic - Interactive Viewer'
|
||||
|
||||
# KiCanvas interactive viewer - PCB
|
||||
- name: 'kicanvas_pcb'
|
||||
comment: "Interactive PCB viewer"
|
||||
type: kicanvas
|
||||
dir: Interactive
|
||||
output: '%f-pcb-viewer.%x'
|
||||
category: 'PCB/docs'
|
||||
run_by_default: true
|
||||
priority: 45
|
||||
options:
|
||||
source: 'pcb'
|
||||
local_script: true # Download and use local copy of script
|
||||
controls: 'full' # Full controls for navigation
|
||||
download: true # Show download button
|
||||
overlay: true # Show click overlay
|
||||
title: '%f PCB - Interactive Viewer'
|
||||
|
||||
# KiCanvas interactive viewer - Full Project
|
||||
- name: 'kicanvas_project'
|
||||
comment: "Interactive project viewer (both schematic and PCB)"
|
||||
type: kicanvas
|
||||
dir: Interactive
|
||||
output: '%f-project-viewer.%x'
|
||||
category: ['Schematic/docs', 'PCB/docs']
|
||||
run_by_default: true
|
||||
priority: 45
|
||||
options:
|
||||
source: 'project' # Show both schematic and PCB
|
||||
local_script: true # Download and use local copy of script
|
||||
controls: 'full' # Full controls for navigation
|
||||
download: true # Show download button
|
||||
overlay: true # Show click overlay
|
||||
title: '%f Project - Interactive Viewer'
|
||||
|
||||
# Variants for different layer counts (optional)
|
||||
variants:
|
||||
- name: 2layer
|
||||
|
||||
Reference in New Issue
Block a user