enable kicanvas
All checks were successful
KiBot PCB Generation / generate (push) Successful in 5m1s
KiBot PCB Generation / deploy (push) Successful in 23s

This commit is contained in:
2025-09-08 17:26:16 +07:00
parent ce1350ff37
commit b4788f8e47
2 changed files with 58 additions and 0 deletions

View File

@@ -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

View File

@@ -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