From 8acc988a603766cfa9682fdb3922da3c1d53a0d1 Mon Sep 17 00:00:00 2001 From: Valentin Roland Date: Thu, 9 Nov 2023 19:46:54 +0100 Subject: [PATCH] generate jlcpcb positioning file --- Makefile | 1 + present/template/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 8738b94..c1c305f 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ build/boards/%: $$*/$$(notdir $$*).kicad_pcb $$*/$$(notdir $$*).kicad_sch xsltproc -o $@_BoM.csv present/bom2grouped_csv_jlcpcb.xsl $@_BoM.xml # kicad-cli pcb export pos $< --side front --format csv --units mm -o $@_top_pos.csv + sed -e '1 s/Ref/Designator/' -e '1 s/PosX/Mid X/' -e '1 s/PosY/Mid Y/' -e '1 s/Rot/Rotation/' -e '1 s/Side/Layer/' $@_top_pos.csv > $@_pos_jlcpcb.csv kicad-cli pcb export step --subst-models $< -o $@_model.step xz $@_model.step touch $@ diff --git a/present/template/index.html b/present/template/index.html index 7f86c7b..fde955b 100644 --- a/present/template/index.html +++ b/present/template/index.html @@ -44,6 +44,7 @@

Downloads:

  • {{this.name}} BoM (csv)
  • {{this.name}} BoM (xml)
  • {{this.name}} Part Positioning
  • +
  • {{this.name}} JLCPCB Part Positioning
  • {{this.name}} Schematic (PDF)
  • {{this.name}} 3D Model (STEP)