From aa35045840b78d3f48212db45da59a2e5c69b223 Mon Sep 17 00:00:00 2001 From: saurabhb17 Date: Wed, 26 Feb 2020 15:57:49 +0530 Subject: Added main execs --- eeschema/plugins/xsl_scripts/bom2csv.xsl | 99 ++++++++++ eeschema/plugins/xsl_scripts/bom2grouped_csv.xsl | 104 ++++++++++ .../xsl_scripts/bom_with_title_block_2_csv.xsl | 167 ++++++++++++++++ .../plugins/xsl_scripts/netlist_form_OrcadPcb2.xsl | 210 +++++++++++++++++++++ .../xsl_scripts/netlist_form_cadstar-RINF.xsl | 131 +++++++++++++ .../plugins/xsl_scripts/netlist_form_cadstar.xsl | 123 ++++++++++++ .../plugins/xsl_scripts/netlist_form_pads-pcb.xsl | 69 +++++++ 7 files changed, 903 insertions(+) create mode 100644 eeschema/plugins/xsl_scripts/bom2csv.xsl create mode 100644 eeschema/plugins/xsl_scripts/bom2grouped_csv.xsl create mode 100644 eeschema/plugins/xsl_scripts/bom_with_title_block_2_csv.xsl create mode 100644 eeschema/plugins/xsl_scripts/netlist_form_OrcadPcb2.xsl create mode 100644 eeschema/plugins/xsl_scripts/netlist_form_cadstar-RINF.xsl create mode 100644 eeschema/plugins/xsl_scripts/netlist_form_cadstar.xsl create mode 100644 eeschema/plugins/xsl_scripts/netlist_form_pads-pcb.xsl (limited to 'eeschema/plugins/xsl_scripts') diff --git a/eeschema/plugins/xsl_scripts/bom2csv.xsl b/eeschema/plugins/xsl_scripts/bom2csv.xsl new file mode 100644 index 0000000..67d588b --- /dev/null +++ b/eeschema/plugins/xsl_scripts/bom2csv.xsl @@ -0,0 +1,99 @@ + + + + + +]> + + + + + + + + + + + Reference, Value, Footprint, Datasheet + + + + , + + + &nl; + + + + + + + + " + "," + "," + "," + " + + &nl; + + + + + + + + + + + + ," + + + + + + + + + + + + + " + + + + diff --git a/eeschema/plugins/xsl_scripts/bom2grouped_csv.xsl b/eeschema/plugins/xsl_scripts/bom2grouped_csv.xsl new file mode 100644 index 0000000..e9b8446 --- /dev/null +++ b/eeschema/plugins/xsl_scripts/bom2grouped_csv.xsl @@ -0,0 +1,104 @@ + + + + + +]> + + + + + + + + + + + + + + Reference, Quantity, Value, Footprint, Datasheet + + + + , + + + + + + + + + + + + &nl; + + + + + , + + , + " + "," + "," + " + + + + + + + + + + + + + + ," + + + + + + + + + " + + + + + + + \ No newline at end of file diff --git a/eeschema/plugins/xsl_scripts/bom_with_title_block_2_csv.xsl b/eeschema/plugins/xsl_scripts/bom_with_title_block_2_csv.xsl new file mode 100644 index 0000000..feed1ce --- /dev/null +++ b/eeschema/plugins/xsl_scripts/bom_with_title_block_2_csv.xsl @@ -0,0 +1,167 @@ + + + + +]> + + + + + + + + + + Source,&nl; + Kicad Rev,&nl; + Generated Date,&nl; + + &nl; + + + + + &nl; + + + Reference,Value, + + + , + + Library,Library Ref + &nl; + + + + + + + + + + + Title,&nl; + + + Title,Not Set&nl; + + + + + + + Company,&nl; + + + Company,Not Set&nl; + + + + + + Revision,&nl; + + + Revision,Not Set&nl; + + + + + + Date Issue,&nl; + + + Date Issue,Not Set&nl; + + + + + + + + + + + Comment,&nl; + + + + + + + + + , + , + + + &nl; + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + , + + + + diff --git a/eeschema/plugins/xsl_scripts/netlist_form_OrcadPcb2.xsl b/eeschema/plugins/xsl_scripts/netlist_form_OrcadPcb2.xsl new file mode 100644 index 0000000..3017711 --- /dev/null +++ b/eeschema/plugins/xsl_scripts/netlist_form_OrcadPcb2.xsl @@ -0,0 +1,210 @@ + + + + +]> + + + + + + + ( { EESchema Netlist Version 1.1 + + + + + }&nl; + + + + + + )&nl;*&nl; + + + + + + + + + + + &nl; + + + + + ( + + + + + + 00000000 + + + + + + + + + $noname + + + + + + + + + + + "~" + + + &nl; + + + + + )&nl; + + + + + + + + + + + + + + + + + + + + + + ( + + + + + + + + + + + + + + + + + + )&nl; + + + + + + + + + + + + + + + + + + + + $N-0 + + + + + ? + + + + + + + diff --git a/eeschema/plugins/xsl_scripts/netlist_form_cadstar-RINF.xsl b/eeschema/plugins/xsl_scripts/netlist_form_cadstar-RINF.xsl new file mode 100644 index 0000000..7df4b76 --- /dev/null +++ b/eeschema/plugins/xsl_scripts/netlist_form_cadstar-RINF.xsl @@ -0,0 +1,131 @@ + + + + +]> + + + + + + + .HEA&nl; + + + &nl; + + &nl;&nl; + + &nl;.END&nl; + + + + + .APP " + + "&nl; + + + + + .TIM + + &nl; + + + + + + .ADD_COM + + + + + + + + ? + + + + + + + + + + + &nl; + + + + + + + + + + + + + + + N- + + + + &nl; + + + + + + + + + + + .ADD_TER + + . + + + + + + + + + + + .TER + + + + + + + + . + + &nl; + + + + diff --git a/eeschema/plugins/xsl_scripts/netlist_form_cadstar.xsl b/eeschema/plugins/xsl_scripts/netlist_form_cadstar.xsl new file mode 100644 index 0000000..0c72f53 --- /dev/null +++ b/eeschema/plugins/xsl_scripts/netlist_form_cadstar.xsl @@ -0,0 +1,123 @@ + + + + +]> + + + + + + + .HEA&nl; + + + &nl; + + &nl;&nl; + + &nl;.END&nl; + + + + + .APP " + + "&nl; + + + + + .TIM + + &nl; + + + + + + .ADD_COM + + + + + " " + + + "" + + + &nl; + + + + + + + + + " + + + + + + N- + + + + "&nl; + + + + + + + + + + + .ADD_TER + + . + + + + + + + + + + + .TER + + + + + + + + . + + &nl; + + + + diff --git a/eeschema/plugins/xsl_scripts/netlist_form_pads-pcb.xsl b/eeschema/plugins/xsl_scripts/netlist_form_pads-pcb.xsl new file mode 100644 index 0000000..355072c --- /dev/null +++ b/eeschema/plugins/xsl_scripts/netlist_form_pads-pcb.xsl @@ -0,0 +1,69 @@ + + + + +]> + + + + + + *PADS-PCB*&nl;*PART*&nl; + + &nl;*NET*&nl; + + *END*&nl; + + + + + + + + + + + + + unknown + + + &nl; + + + + + + + *SIGNAL* + + + + + + N- + + + + &nl; + + + + + + + + + . + + &nl; + + + -- cgit