Added examples for Panelize and PCB_Print using sub-PCBs.

This commit is contained in:
Salvador E. Tropea 2022-12-26 11:10:24 -03:00
parent 9da30b2c5e
commit dad174bfd3
2 changed files with 127 additions and 0 deletions

View File

@ -0,0 +1,65 @@
# Example KiBot config file for a basic panel
kibot:
version: 1
import:
- file: battery_pack_sub_pcbs.kibot.yaml
outputs:
- name: 'panel'
comment: "Create a 4x4 complex panel"
type: panelize
options:
title: '+ (Panel for %S)'
units: mm
configs:
- layout:
rows: 4
cols: 4
space: 2
hbackbone: 5
vbackbone: 5
hboneskip: 1
vboneskip: 1
page:
size: A3
tabs:
type: fixed
width: 3
vcount: 2
hcount: 0
cuts:
type: mousebites
drill: 0.5
spacing: 1mm
offset: 0.2
prolong: 0.5
framing:
type: railstb
width: 5
space: 3
copperfill:
type: hatched
clearance: 2
spacing: 0.5
width: 0.5
tooling:
type: 3hole
hoffset: 2.5
voffset: 2.5
size: 1.5
fiducials:
type: 3fid
hoffset: 5
voffset: 2.5
coppersize: 2
opening: 1
text:
type: simple
text: My panel
anchor: mt
voffset: 2.5
hjustify: center
vjustify: center
post:
millradius: 1

View File

@ -0,0 +1,62 @@
# Example KiBot config file
kibot:
version: 1
import:
- file: battery_pack_sub_pcbs.kibot.yaml
outputs:
- name: 'print_front'
comment: "Print Top and Bottom layers"
type: pcb_print
dir: Layers
options:
# title: 'Fake title for front copper and silk'
# color_theme: _builtin_default
# drill_marks: small
title: Chau
# plot_sheet_reference: false
format: 'PDF'
# enable_ki6_frame_fix: true
keep_temporal_files: true
add_background: true
background_color: "#C5C4BF"
# background_color: "#FFFFFF"
background_image: "tests/data/confidential_optimized.svg"
sheet_reference_layout: "${KIPRJMOD}/../../data/test_img.kicad_wks"
pages:
- # monochrome: true
scaling: 2.0
#mirror: true
title: Hola
sheet: Front
sheet_reference_color: "#A02020"
# black_holes: false
# holes_color: "#8080FF"
layers:
- layer: Edge.Cuts
- layer: F.Cu
- layer: F.Mask
color: '#14332440'
- layer: F.Paste
- layer: F.SilkS
- layer: F.Fab
plot_footprint_refs: false
plot_footprint_values: false
- layer: Dwgs.User
- mirror: true
scaling: 2.0
layers:
- layer: B.Fab
color: "#000080"
- layer: Edge.Cuts
color: "#FF8000"
- layer: B.SilkS
color: "#626262"
- layer: B.Paste
color: "#FF8A8A"
- layer: B.Cu
color: "#B3FFB3"
- layer: B.Mask
color: '#14332480'
- layer: Dwgs.User