From dcbafdf522ad277b6d0982415cce33af16374254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 1 Jun 2022 13:52:19 +0200 Subject: [PATCH] remove gEDA/pcb-rnd conf/utils --- gafrc | 2 -- mass_prop.sh | 58 ---------------------------------------------------- pnp_fab.tab | 9 -------- 3 files changed, 69 deletions(-) delete mode 100644 gafrc delete mode 100755 mass_prop.sh delete mode 100644 pnp_fab.tab diff --git a/gafrc b/gafrc deleted file mode 100644 index f0a2c53..0000000 --- a/gafrc +++ /dev/null @@ -1,2 +0,0 @@ -(source-library ".") -(component-library "./geda/symbols/") diff --git a/mass_prop.sh b/mass_prop.sh deleted file mode 100755 index 94b3071..0000000 --- a/mass_prop.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -if test ! $# -eq 2 -then - echo "Need two arguments: a board file name and a tab file name" >&2 - exit 1 -fi - -board="$1" -tab="$2" - -if test ! -f "$board" -then - echo "Board file $board not found" >&2 - exit 1 -fi - -if test ! -f "$tab" -then - echo "Tab file $tab not found" >&2 - exit 1 -fi - -btmp=.tmp.$board - -awk -F "[ \t]*[;][ \t]*" -v "outfn=$btmp" ' - -BEGIN { sq = "'\''" } - -# quote s with single quotes and remove any single quote from it -# (pcb-rnd action syntax does not have escaping) -function squote(s) -{ - gsub("[" sq "]", ".", s) - return sq s sq -} - -# ignore comments -/^[ \t]*#/ { next } - -# generate an unselect-query-propset sequence for each line -(NF > 1) { - print "Unselect(all)" - print "query(select, " squote($1) ")" - for(n = 2; n <= NF; n++) { - if (split($n, A, "=") == 2) - print "propset(selection, " squote(A[1]) "," squote(A[2]) ")" - } -} - -END { - print "Unselect(all)" - print "Save(LayoutAs, " squote(outfn) ")" -} - -' < "$tab" | pcb-rnd --gui batch "$board" && mv "$btmp" "$board" - - diff --git a/pnp_fab.tab b/pnp_fab.tab deleted file mode 100644 index d13e775..0000000 --- a/pnp_fab.tab +++ /dev/null @@ -1,9 +0,0 @@ -@.a.footprint == "LEDC2012X80N.lht"; a/xy::jlcpcb::rotate=270; -@.a.footprint == "RESC1608X55N.lht"; a/xy::jlcpcb::rotate=90; -@.a.footprint == "CONNECTOR_USB_MICRO-B_C10418.lht"; a/xy::jlcpcb::translate=-1.2mm,0mm; -@.a.footprint == "CONNECTOR_USB_MICRO-B_C10418.lht"; a/xy::jlcpcb::rotate=270; -@.a.footprint == "CONNECTOR_USB-A-2.0_RECEPTACLE_C42428.lht"; a/xy::jlcpcb::translate=0mm,-1.7mm; -@.a.footprint == "CONNECTOR_MY-1220-03.lht"; a/xy::jlcpcb::translate=0mm,-0.95mm; -@.a.footprint == "CONNECTOR_XKB_U262-24XN-4BV60.lht"; a/xy::jlcpcb::rotate=180; -@.a.footprint == "CONNECTOR_XKB_U262-24XN-4BV60.lht"; a/xy::jlcpcb::translate=0mm,0.7mm; -@.a.footprint == "SOT95P237X112-3N.lht"; a/xy::jlcpcb::rotate=180;