From baee10c8b3699a437e28e5ade2fcb438de6a7d0d Mon Sep 17 00:00:00 2001 From: David Banks Date: Fri, 13 Sep 2019 17:10:34 +0100 Subject: [PATCH] Kicad v2: added build for manufacturing files Change-Id: I4a3f04d7ee044a9d6b395d2303a9b2331e0d8fa6 --- kicad/6502/v2/6502_adapter.kicad_pcb | 18 +++++++++--------- kicad/6502/v2/manufacturing/prepare.sh | 16 ++++++++++++++++ 2 files changed, 25 insertions(+), 9 deletions(-) create mode 100755 kicad/6502/v2/manufacturing/prepare.sh diff --git a/kicad/6502/v2/6502_adapter.kicad_pcb b/kicad/6502/v2/6502_adapter.kicad_pcb index 5858cb4..39c3c77 100644 --- a/kicad/6502/v2/6502_adapter.kicad_pcb +++ b/kicad/6502/v2/6502_adapter.kicad_pcb @@ -67,12 +67,12 @@ (pad_drill 0.762) (pad_to_mask_clearance 0.2) (solder_mask_min_width 0.25) - (aux_axis_origin 119.38 124.46) - (grid_origin 119.38 124.46) + (aux_axis_origin 122.555 100.965) + (grid_origin 167.64 127) (visible_elements 7FFFFFFF) (pcbplotparams - (layerselection 0x00030_80000001) - (usegerberextensions false) + (layerselection 0x010f0_ffffffff) + (usegerberextensions true) (usegerberattributes false) (usegerberadvancedattributes false) (creategerberjobfile false) @@ -81,22 +81,22 @@ (plotframeref false) (viasonmask false) (mode 1) - (useauxorigin false) + (useauxorigin true) (hpglpennumber 1) (hpglpenspeed 20) (hpglpendiameter 15.000000) (psnegative false) (psa4output false) (plotreference true) - (plotvalue true) + (plotvalue false) (plotinvisibletext false) (padsonsilk false) (subtractmaskfromsilk false) (outputformat 1) (mirror false) - (drillshape 1) + (drillshape 0) (scaleselection 1) - (outputdirectory "")) + (outputdirectory "manufacturing")) ) (net 0 "") @@ -3687,7 +3687,7 @@ (segment (start 199.136 66.675) (end 198.501 66.04) (width 0.25) (layer F.Cu) (net 130)) (segment (start 191.135 74.93) (end 190.5 75.565) (width 0.25) (layer B.Cu) (net 130)) - (zone (net 1) (net_name /GND) (layer B.Cu) (tstamp 5D7D28FC) (hatch edge 0.508) + (zone (net 1) (net_name /GND) (layer B.Cu) (tstamp 5D7BBEAC) (hatch edge 0.508) (connect_pads (clearance 0.508)) (min_thickness 0.254) (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508)) diff --git a/kicad/6502/v2/manufacturing/prepare.sh b/kicad/6502/v2/manufacturing/prepare.sh new file mode 100755 index 0000000..c876e6c --- /dev/null +++ b/kicad/6502/v2/manufacturing/prepare.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +SRC=6502_adapter +DST=6502_adapter + +mv $SRC-B_Cu.gbl $DST.gbl +mv $SRC-B_Mask.gbs $DST.gbs +mv $SRC-B_SilkS.gbo $DST.gbo +mv $SRC.drl $DST.xln +mv $SRC-Edge_Cuts.gm1 $DST.gko +mv $SRC-F_Cu.gtl $DST.gtl +mv $SRC-F_Mask.gts $DST.gts +mv $SRC-F_SilkS.gto $DST.gto + +rm -f manufacturing.zip +zip -qr manufacturing.zip $DST.*