Skip to content

Commit f95bae8

Browse files
committed
Generated PCB image view
1 parent 604c15d commit f95bae8

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717

1818
- name: Run KiCad ERC
1919
id: erc
20-
uses: vikulin/kicad-action@simplified_version
20+
uses: vikulin/kicad-action@main
2121
if: '!cancelled()'
2222
with:
2323
kicad_sch: gamma-spectrometer.kicad_sch
2424
sch_erc_file: erc.rpt
2525

2626
- name: Run KiCad DRC
2727
id: drc
28-
uses: vikulin/kicad-action@simplified_version
28+
uses: vikulin/kicad-action@main
2929
if: '!cancelled()'
3030
with:
3131
kicad_pcb: gamma-spectrometer.kicad_pcb
@@ -36,7 +36,7 @@ jobs:
3636
mkdir -p build
3737
3838
- name: Run KiCad export
39-
uses: vikulin/kicad-action@simplified_version
39+
uses: vikulin/kicad-action@main
4040
with:
4141
kicad_sch: gamma-spectrometer.kicad_sch
4242
kicad_pcb: gamma-spectrometer.kicad_pcb
@@ -47,6 +47,10 @@ jobs:
4747
pcb_gerbers_layers: F.Cu,B.Cu,F.SilkS,B.SilkS,F.Mask,B.Mask,Edge.Cuts
4848
pcb_centroids_file: build/open-gamma-kit-centroid-file-${{ github.ref_name }}.csv
4949
pcb_centroids_format: csv
50+
pcb_top_image_file: build/pcb-3dview-latest-f.png
51+
pcb_top_image_zoom: 1.8
52+
pcb_bottom_image_file: build/pcb-3dview-latest-b.png
53+
pcb_bottom_image_zoom: 1.8
5054

5155
- name: Upload Artifacts
5256
if: github.ref_type == 'tag'
@@ -58,6 +62,8 @@ jobs:
5862
build/open-gamma-kit-centroid-file-${{ github.ref_name }}.csv
5963
build/BOM.csv
6064
docs/open-gamma-kit-${{ github.ref_name }}.pdf
65+
build/pcb-3dview-latest-f.png
66+
build/pcb-3dview-latest-b.png
6167
6268
- name: Generate Changelog Since Last Tag
6369
if: github.ref_type == 'tag'
@@ -96,5 +102,7 @@ jobs:
96102
build/open-gamma-kit-centroid-file-${{ github.ref_name }}.csv
97103
build/BOM.csv
98104
docs/open-gamma-kit-${{ github.ref_name }}.pdf
105+
build/pcb-3dview-latest-f.png
106+
build/pcb-3dview-latest-b.png
99107
env:
100108
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ OpenGammaKit is designed to be affordable, reliable, and easy to integrate with
2020

2121
## 📂 Repository Contents
2222

23-
- `/docs/`3D render previews of the board
23+
- `/docs/`Spectrum([OGK Inspector](https://github.com/vikulin/OGK-Inspector))
2424
- `/kicad-libraries/` – KiCad libraries, including custom footprints
2525

2626
---
@@ -29,9 +29,11 @@ OpenGammaKit is designed to be affordable, reliable, and easy to integrate with
2929

3030
<p align="center">
3131
<br>
32-
<img alt="3d Front View of the detector board" title="3d Front View of the detector board" width="500px" src="docs/pcb-3dview-v0.1.4-f.png">
32+
<img alt="3d Front View of the detector board" title="3d Front View of the detector board" width="800px"
33+
src="https://github.com/vikulin/OpenGammaKit/releases/download/0.1.5.11/pcb-3dview-latest-f.png">
3334
<br>
34-
<img alt="3d Back View of the detector board" title="3d Back View of the detector board" width="500px" src="docs/pcb-3dview-v0.1.4-b.png">
35+
<img alt="3d Back View of the detector board" title="3d Back View of the detector board" width="800px"
36+
src="https://github.com/vikulin/OpenGammaKit/releases/download/0.1.5.11/pcb-3dview-latest-b.png">
3537
</p>
3638

3739
---

docs/pcb-3dview-v0.1.4-b.png

-173 KB
Binary file not shown.

docs/pcb-3dview-v0.1.4-f.png

-211 KB
Binary file not shown.

0 commit comments

Comments
 (0)