Skip to content

Commit

Permalink
Merge pull request #10 from openbikesensor/wip-simplify
Browse files Browse the repository at this point in the history
Upgrade to PCB Version 1.0.0
  • Loading branch information
gluap authored Jan 13, 2024
2 parents c6d544c + d9aa3d2 commit f47b8a0
Show file tree
Hide file tree
Showing 88 changed files with 341,852 additions and 258,185 deletions.
17 changes: 8 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<<<<<<< HEAD
fp-info-cache
*.bak
*-cache.lib
*.sch-bak
=======
*-cache.lib
*.sch-bak
*.bak
fp-info-cache
*.kicad_pcb-bak
*.kicad_pro-bak
*.kicad_sch-bak
*.net
>>>>>>> JSN-SR04T-cleanup
*.sch-bak
fp-info-cache
*-backups
\#auto_saved_files#
_autosave*
Gerbers
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

196 changes: 196 additions & 0 deletions OpenBikeSensor/OpenBikeSensor.kibot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
kibot:
version: 1

global:
out_dir: generated

outputs:

- name: basic_pdf_sch_print
comment: Schematic in PDF format
type: pdf_sch_print
dir: .

- name: basic_ibom
comment: Interactive HTML BoM
type: ibom
dir: .

- name: JLCPCB_gerbers
comment: Gerbers compatible with JLCPCB
type: gerber
dir: Manufacturers/JLCPCB/Gerbers
options:
exclude_edge_layer: true
exclude_pads_from_silkscreen: true
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: false
force_plot_invisible_refs_vals: false
tent_vias: true
use_protel_extensions: true
create_gerber_job_file: false
disable_aperture_macros: true
gerber_precision: 4.6
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
line_width: 0.1
subtract_mask_from_silk: true
inner_extension_pattern: .gp%n
layers: &layers_jlc
- layer: F.Cu
suffix: F_Cu
description: Front copper
- layer: B.Cu
suffix: B_Cu
description: Bottom copper
- layer: B.Paste
suffix: B_Paste
description: Bottom solder paste
- layer: F.Paste
suffix: F_Paste
description: Front solder paste
- layer: B.Silkscreen
suffix: B_Silkscreen
description: Bottom silkscreen (artwork)
- layer: F.Silkscreen
suffix: F_Silkscreen
description: Front silkscreen (artwork)
- layer: B.Mask
suffix: B_Mask
description: Bottom soldermask (negative)
- layer: F.Mask
suffix: F_Mask
description: Front soldermask (negative)
- layer: Edge.Cuts
suffix: Edge_Cuts
description: Board shape
- name: JLCPCB_drill
comment: Drill files compatible with JLCPCB
type: excellon
dir: Manufacturers/JLCPCB/Gerbers
options:
pth_and_npth_single_file: false
pth_id: -PTH
npth_id: -NPTH
metric_units: true
map: gerber
route_mode_for_oval_holes: false
output: '%f%i.%x'
- name: JLCPCB
comment: ZIP file for JLCPCB
type: compress
dir: Manufacturers/JLCPCB
options:
files:
- from_output: JLCPCB_gerbers
dest: /
- from_output: JLCPCB_drill
dest: /

- name: basic_excellon
comment: Drill files in EXCELLON format
type: excellon
dir: Manufacturers/Generic/Gerbers
options:
map: pdf
- name: basic_gerb_drill
comment: Drill files in GERB_DRILL format
type: gerb_drill
dir: Manufacturers/Generic/Gerbers
options:
map: gerber
- name: gerber_modern
comment: Gerbers in modern format, recommended by the standard
type: gerber
dir: Manufacturers/Generic/Gerbers
layers:
- layer: F.Cu
suffix: F_Cu
description: Front copper
- layer: B.Cu
suffix: B_Cu
description: Bottom copper
- layer: B.Paste
suffix: B_Paste
description: Bottom solder paste
- layer: F.Paste
suffix: F_Paste
description: Front solder paste
- layer: B.Silkscreen
suffix: B_Silkscreen
description: Bottom silkscreen (artwork)
- layer: F.Silkscreen
suffix: F_Silkscreen
description: Front silkscreen (artwork)
- layer: B.Mask
suffix: B_Mask
description: Bottom soldermask (negative)
- layer: F.Mask
suffix: F_Mask
description: Front soldermask (negative)
- layer: User.Drawings
suffix: User_Drawings
description: User drawings
- layer: User.Comments
suffix: User_Comments
description: User comments
- layer: Edge.Cuts
suffix: Edge_Cuts
description: Board shape
- layer: F.Courtyard
suffix: F_Courtyard
description: Front courtyard area
- layer: B.Fab
suffix: B_Fab
description: Bottom documentation
- layer: F.Fab
suffix: F_Fab
description: Front documentation


- name: gerber_modern_zip
comment: ZIP file for Gerbers
type: compress
dir: Manufacturers/Generic
options:
files:
- from_output: basic_excellon
dest: /
- from_output: basic_gerb_drill
dest: /
- from_output: gerber_modern
dest: /

# Disabled because SVG renderer crashes :(

# - name: render_pcb_top
# comment: PCB 2D render, Top side
# type: pcbdraw
# dir: .
# options:
# style: set-blue-enig
# format: png
# bottom: false
#
# - name: render_pcb_bottom
# comment: PCB 2D render, Bottom side
# type: pcbdraw
# dir: .
# options:
# style: set-blue-enig
# format: png
# bottom: true

- name: basic_render_3d
comment: 3D view from 30 degrees
type: render_3d
dir: .
output_id: 30deg
options:
ray_tracing: false
rotate_x: 5
rotate_z: -2
width: 1920
height: 1920
solder_mask: '#022a8e'
Loading

0 comments on commit f47b8a0

Please sign in to comment.