Skip to content

Commit

Permalink
split number two
Browse files Browse the repository at this point in the history
  • Loading branch information
Strooom committed Nov 27, 2024
1 parent 23cb0cc commit 756eae9
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 63 deletions.
32 changes: 32 additions & 0 deletions .github/kibot/bom.kibot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
outputs:
- name: 'Interactive BOM'
comment: "Bill of Materials in interactive HTML format"
type: ibom
dir: 'bom'
category: 'bom'
options:
include_tracks: true
include_nets: true
highlight_pin1: selected
extra_fields: 'manufacturerPartNumber, mouserPartNumber'

- name: 'CSV export'
comment: "Bill of Materials in CSV format"
type: bom
dir: 'bom'
category: 'bom'

- name: 'HTML export'
comment: "Bill of Materials in HTML format"
type: bom
dir: 'bom'
category: 'bom'
options:
format: HTML
columns:
- References
- Part
- Value
- Quantity Per PCB
- manufacturerPartNumber
- mouserPartNumber
66 changes: 3 additions & 63 deletions .github/kibot/main.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,12 @@ kibot:

import:
- file: preflights.kibot.yaml
# - file: schematic.kibot.yaml
# - file: bom.kibot.yaml
- file: schematic.kibot.yaml
- file: bom.kibot.yaml
# - file: pcb.kibot.yaml
# - file: renders.kibot.yaml
- file: renders.kibot.yaml

outputs:
# Schematic outputs
- name: 'Schematic PDF'
type: pdf_sch_print
dir: 'schematic'

# BOM outputs
- name: 'Interactive BOM'
comment: "Bill of Materials in interactive HTML format"
type: ibom
dir: 'bom'
category: 'bom'
options:
include_tracks: true
include_nets: true
highlight_pin1: selected
extra_fields: 'manufacturerPartNumber, mouserPartNumber'

- name: 'CSV export'
comment: "Bill of Materials in CSV format"
type: bom
dir: 'bom'
category: 'bom'

- name: 'HTML export'
comment: "Bill of Materials in HTML format"
type: bom
dir: 'bom'
category: 'bom'
options:
format: HTML
columns:
- References
- Part
- Value
- Quantity Per PCB
- manufacturerPartNumber
- mouserPartNumber

# PCB outputs
- name: 'print_pcb'
dir: 'pcb'
type: pcb_print
Expand Down Expand Up @@ -78,27 +39,6 @@ outputs:
type : step
dir: 'pcb'

- name: 'render front'
type: blender_export
dir: 'pcb'
options:
add_default_light: true
light:
type: 'SUN'
render_options:
auto_crop: true
transparent_background: true
samples: 20
point_of_view:
- rotate_x: 20
rotate_y: 0
- rotate_x: -20
rotate_y: 180
fixed_auto_camera: false
auto_camera_z_axis_factor: 1.5
default_file_id: '_%03d'
outputs:
- type: render

- name: 'stencil'
comment: "Creates a 3D printable stencil"
Expand Down
22 changes: 22 additions & 0 deletions .github/kibot/renders.kibot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
outputs:
- name: 'render front'
type: blender_export
dir: 'pcb'
options:
add_default_light: true
light:
type: 'SUN'
render_options:
auto_crop: true
transparent_background: true
samples: 20
point_of_view:
- rotate_x: 20
rotate_y: 0
- rotate_x: -20
rotate_y: 180
fixed_auto_camera: false
auto_camera_z_axis_factor: 1.5
default_file_id: '_%03d'
outputs:
- type: render
4 changes: 4 additions & 0 deletions .github/kibot/schematic.kibot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
outputs:
- name: 'Schematic PDF'
type: pdf_sch_print
dir: 'schematic'

0 comments on commit 756eae9

Please sign in to comment.