Skip to content

Commit 95902ca

Browse files
committed
docs: add pdf output with RefDef, stackup and characteristics
1 parent d2c0832 commit 95902ca

File tree

3 files changed

+91
-992
lines changed

3 files changed

+91
-992
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,21 @@ jobs:
3434
config: fcbot.yaml
3535
project: cad/esp32stepper.FCStd
3636

37+
# commit output files
38+
- uses: stefanzweifel/git-auto-commit-action@v5
39+
with:
40+
# commit_message: Automated Change
41+
file_pattern:
42+
'docs/bom/* docs/*.pdf docs/*.svg docs/img/*.svg cad/*.stl cad/*.step'
43+
3744
# generate changelog
3845
- name: Conventional Changelog Action
3946
uses: TriPSs/conventional-changelog-action@v5
4047
with:
4148
github-token: ${{ secrets.github_token }}
4249
tag-prefix: 'v'
4350
output-file: 'CHANGELOG.md'
44-
45-
- uses: stefanzweifel/git-auto-commit-action@v5
46-
with:
47-
# commit_message: Automated Change
48-
file_pattern:
49-
'docs/bom/* docs/*.pdf docs/*.svg docs/img/*.svg cad/*.stl cad/*.step'
50-
51+
5152
# upload artifact
5253
- name: upload artifact
5354
uses: actions/upload-artifact@v4

kibot.yaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -186,25 +186,27 @@ outputs:
186186
# output: [string='%f-%i%v.%x'] filename for the output SVG (%i=schematic %x=svg). Affected by global options.
187187
# variant: [string=''] Board variant to apply. Not fitted components are crossed.
188188

189-
# - name: 'print board mechanics'
190-
# comment: "Print board (PDF)"
191-
# type: pcb_print
192-
# layers:
193-
# - Dwgs.User
194-
# - Edge.Cuts
195-
# - F.CrtYd
196-
# dir: docs
197-
# options:
189+
- name: 'print board mechanics'
190+
comment: "Print board (PDF)"
191+
type: pdf_pcb_print
192+
layers:
193+
- Dwgs.User
194+
- Edge.Cuts
195+
- F.Fab
196+
- User.Eco1
197+
- User.Comments
198+
- User.Drawings
199+
dir: gerbers
200+
options:
198201
# dnf_filter: [string|list(string)=''] Name of the filter to mark components as not fitted. A short-cut to use for simple cases where a variant is an overkill.
199202
# drill_marks: full #[string='full'] what to use to indicate the drill places, can be none, small or full (for real scale).
200203
# mirror: [boolean=false] print mirrored (X axis inverted). ONLY for KiCad 6.
201-
# monochrome: [boolean=false] print in black and white.
202-
# output: '%f-mechanic.%x' #[string='%f-%i%v.%x'] filename for the output PDF (%i=layers, %x=pdf). Affected by global options.
204+
monochrome: true
205+
output: '%f-board.%x' #[string='%f-%i%v.%x'] filename for the output PDF (%i=layers, %x=pdf). Affected by global options.
203206
# output_name: Alias for output.
204-
# plot_sheet_reference: true # [boolean=true] include the title-block.
205-
# scaling: [number=1.0] scale factor (0 means autoscaling).
206-
# separated: [boolean=false] print layers in separated pages.
207-
# variant: [string=''] Board variant to apply.
207+
plot_sheet_reference: true # [boolean=true] include the title-block.
208+
scaling: 0
209+
separated: false
208210

209211
# - name: 'print board documentation'
210212
# comment: "Print board (PDF)"

0 commit comments

Comments
 (0)