Skip to content

Commit

Permalink
Feature/download drill gerber button (#368)
Browse files Browse the repository at this point in the history
* add archiver

Signed-off-by: Masaya Kataoka <[email protected]>

* update kibot.yaml

Signed-off-by: Masaya Kataoka <[email protected]>

---------

Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 authored Dec 3, 2024
1 parent 404edaa commit a21671c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docker/kicad/kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,14 @@ outputs:
group_fields: Value,Footprint,Datasheet
extra_data_file: "%F.xml"
dir: /workspace/bom
- name: Make zipfile of the gerber and drill file.
type: compress
dir: /workspace/zip
options:
format: ZIP
output: 'gerber_and_drill.zip'
files:
- source: '/workspace/gerber/*.gbr'
- source: '/workspace/gerber/*.drl'
- source: '/workspace/drill/*.gbr'
- source: '/workspace/drill/*.drl'
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"board": {
"active_layer": 0,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_netclasses": [],
Expand Down
2 changes: 2 additions & 0 deletions circuits/run_kibot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ docker run --name=kibot \
-v ${PWD}/../docs/docs/circuit/computer_sensor_board/kibot_output/gerber:/workspace/gerber \
-v ${PWD}/../docs/docs/circuit/computer_sensor_board/kibot_output/drill:/workspace/drill \
-v ${PWD}/../docs/docs/circuit/computer_sensor_board/kibot_output/bom:/workspace/bom \
-v ${PWD}/../docs/docs/circuit/computer_sensor_board/kibot_output/zip:/workspace/zip \
wamvtan/kicad:latest kibot -c /workspace/kibot.yaml -e /workspace/computer_sensor_board/computer_sensor_board/computer_sensor_board.kicad_sch

docker run --name=kibot \
Expand All @@ -20,5 +21,6 @@ docker run --name=kibot \
-v ${PWD}/../docs/docs/circuit/miniv_motor_controller_board/kibot_output/gerber:/workspace/gerber \
-v ${PWD}/../docs/docs/circuit/miniv_motor_controller_board/kibot_output/drill:/workspace/drill \
-v ${PWD}/../docs/docs/circuit/miniv_motor_controller_board/kibot_output/bom:/workspace/bom \
-v ${PWD}/../docs/docs/circuit/miniv_motor_controller_board/kibot_output/zip:/workspace/zip \
wamvtan/kicad:latest kibot -c /workspace/kibot.yaml -e /workspace/miniv_motor_controller_board/miniv_motor_controller_board/miniv_motor_controller_board.kicad_sch

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Under development.

## Board Design

[Download Gerber Data](kibot_output/zip/gerber_and_drill.zip){ .md-button .md-button--primary }

### Front

![pcb_front](kibot_output/pcb/computer_sensor_board-assembly_page_01.svg)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Under development.

## Board Design

[Download Gerber Data](kibot_output/zip/gerber_and_drill.zip){ .md-button .md-button--primary }

### Front

![pcb_front](kibot_output/pcb/miniv_motor_controller_board-assembly_page_01.svg)
Expand Down

0 comments on commit a21671c

Please sign in to comment.