Index: doc/user/09_appendix/formats.html =================================================================== --- doc/user/09_appendix/formats.html (nonexistent) +++ doc/user/09_appendix/formats.html (revision 13599) @@ -0,0 +1,314 @@ + + + + + pcb-rnd - list of file formats + + + + + + + + + +

pcb-rnd - User Manual: Appendix

+

+

File format support

+ + + +
plugin native state reads formats writes formats + +
io_lihata +yes +works + + lihata pcb-rnd board (any version) +
+ lihata pcb-rnd subcircuit (any version) +
+ lihata pcb-rnd font (any version) +
+ lihata pcb-rnd board (any version) +
+ lihata pcb-rnd subcircuit (any version) +
+ lihata pcb-rnd font (any version) +
io_autotrax +no +work-in-progress + + autotrax PCB, version 4 +
+ autotrax PCB, version 5 +
+ autotrax PCB, version 4 +
io_eagle +no +works + + eagle xml board version 6, 7 and 8 +
+ eagle binary board version 3, 4 and 5 +
+ eagle DRU (design rules) +
+n/a +
io_hyp +no +works + + hyperlynx board, version 2 and above + + hyperlynx board, version 2.0 +
io_kicad +no +works + + kicad board, version 3, 4 and 20170123 (s-expr) + + kicad board, version 3 (s-expr) +
+ kicad element (s-expr, according to version 3) +
io_kicad_legacy +no +works + +n/a + + kicad pcbnew-board, version 1 (legacy plain text format) +
+ kicad pcbnew-module (legacy plain text format) +
io_mentor_cell +no +WIP + + Mentor Graphics cell footprints + +n/a +
io_pcb +no +works + + gEDA/PCB .pcb board (any version up to 2017) +
+ gEDA/PCB .fp footprints +
+ gEDA/PCB font +
+ gEDA/PCB .pcb board (various version up to 2017 ) +
+ gEDA/PCB .fp footprints +
io_tedax +no +works + + tEDAx netlist (any version) +
+ tEDAx footprint (any version) +
+ tEDAx footprint (any version) +
import_dsn +no +works + + import wires and vias from specctra .dsn + +n/a +
import_edif +no +works + + flat netlist from EDIF + +n/a +
import_hpgl +no +works + + import lines, arcs and polygons from HPGL plot files + +n/a +
import_ltspice +no +works + + import netlist and footprint names from ltspice .net and .asc file pairs + +n/a +
import_mentor_sch +no +works + + import netlist and footprint names from a flat .edf produced by Mentor Graphics Design Capture + +n/a +
import_mucs +no +works + + import lines and vias from MUCS unixplot .pl files + +n/a +
import_netlist +no +works + + import plain text gEDA netlist files + +n/a +
import_sch +no +works + + import netlist and footprint info from gEDA schematics using gnetlist +
+ import netlist and footprint produced by an external command +
+n/a +
import_tinycad +no +works + + import netlist and footprint info from tinycad .net netlists + +n/a +
export_bboard +no +WIP + +n/a + + export breadboard assembly drawing in png +
export_bom +no +works + +n/a + + export bom (Bill of Materials) in plain text +
export_dsn +no +works + +n/a + + export specctra .dsn files with padstacks and elements (usable for freerouting) +
export_dxf +no +works + +n/a + + export to 2D .dxf (for mech CADs) +
export_fidocadj +no +WIP + +n/a + + partial export in fidocad .fcd format +
export_gcode +no +works + +n/a + + export gcode (for milling) +
export_gerber +no +works + +n/a + + export gerber for PCB fabbing, multiple files (configurable) +
export_ipcd356 +no +Work-in-progress + +n/a + + export IPC-D-356 Netlist (for automated testing) +
export_lpr +no +works + +n/a + + use export_ps and lpr to print a board directly +
export_nelma +no +works + +n/a + + export a board in the nelma format for Numerical capacitance calculation +
export_openscad +no +WIP + +n/a + + export a colored 3D model as an openscad script +
export_png +no +works + +n/a + + render the on-screen version or emulated photo mode version in .png +
+ render the on-screen version or emulated photo mode version in .gif +
+ render the on-screen version or emulated photo mode version in .jpeg +
export_ps +no +works + +n/a + + render black&white postscript (single or multiple files) +
+ render black&white or color embedded postscript (single file) +
export_stat +no +works + +n/a + + export a lihata file with anonimized statistics of the board +
export_svg +no +works + +n/a + + write an svg (Scalable Vector Graphics) +
export_test + +WIP + +n/a + +n/a +
export_xy +no +works + +n/a + + geda/PCB x;y +
+ gxyrs +
+ Macrofab's pick&place +
+ pick&place file for the TM220/TM240 device +
+ KiCad .pos file + +
+ + + Index: doc/user/09_appendix/src/Makefile =================================================================== --- doc/user/09_appendix/src/Makefile (revision 13598) +++ doc/user/09_appendix/src/Makefile (revision 13599) @@ -1,8 +1,8 @@ # NOTE: aagraph is at svn://repo.hu/projects/aagraph/trunk -CLEANFILES=../action_reference.html ../dialogtable.html ../bridges.svg +CLEANFILES=../action_reference.html ../dialogtable.html ../bridges.svg ../formats.html -all: ../action_reference.html ../dialogtable.html +all: ../action_reference.html ../dialogtable.html ../formats.html ../action_reference.html : ./dump_actions_to_html.sh ../../../../src/pcb-rnd ./dump_actions_to_html.sh > ../action_reference.html @@ -13,5 +13,8 @@ ../bridges.svg: bridges.txt aagraph -Tsvg bridges.txt > ../bridges.svg +../formats.html: gen_formats.sh ../../../../src_plugins/io_*/*.pup ../../../../src_plugins/import_*/*.pup ../../../../src_plugins/export_*/*.pup + ./gen_formats.sh > ../formats.html + clean: rm $(CLEANFILES) Index: doc/user/09_appendix/src/gen_formats.sh =================================================================== --- doc/user/09_appendix/src/gen_formats.sh (nonexistent) +++ doc/user/09_appendix/src/gen_formats.sh (revision 13599) @@ -0,0 +1,108 @@ +#!/bin/sh + +PLUGINS=../../../../src_plugins + +echo ' + + + + pcb-rnd - list of file formats + + + + + + + + + +

pcb-rnd - User Manual: Appendix

+

+

File format support

+ + + +
plugin native state reads formats writes formats +' + +files_io=`ls $PLUGINS/io_*/*.pup | sort` +files_e=`ls $PLUGINS/export_*/*.pup | sort` +files_i=`ls $PLUGINS/import_*/*.pup | sort` + +for n in $files_io $files_i $files_e +do + bn=`basename $n` + bn=${bn%%.pup} + sed ' + /^[$]fmt[-]/ { s@^@'$bn' @; p } + /^[$]state/ { s@^@'$bn' @; p } + { d } + ' $n +done | awk ' + BEGIN { + plgs = 0 + } + { + if ($1 != last) { + PLG[plgs] = $1 + last = $1 + plgs++ + } + p=$1 + f=$2 + text=$0 + sub("^[^ \t]+[ \t]+[^ \t]+[ \t]+", "", text) + DATA[p, f] = DATA[p, f] SUBSEP text + } + + function col(mask ,n,v,i,A) { + print " " + v = split(DATA[mask], A, "[" SUBSEP "]") + if (v == 0) { + print "n/a" + return + } + i = 0; + for(n = 1; n <= v; n++) { + if (A[n] == "") + continue; + if (i) + print "
" + print " " A[n] + i++ + } + } + + function strip(s) + { + gsub("[" SUBSEP "]", " ", s) + sub("^[ \t]*", "", s) + sub("[ \t]*$", "", s) + return s + } + + function row(plg) { + print "
" plg + print "" strip(DATA[plg, "$fmt-native"]) + print "" strip(DATA[plg, "$state"]) + col(plg SUBSEP "$fmt-feature-r") + col(plg SUBSEP "$fmt-feature-w") + } + + END { + for(p=0; p < plgs; p++) + if (DATA[PLG[p], "$fmt-native"] ~ "yes") + row(PLG[p]) + + for(p=0; p < plgs; p++) + if (!(DATA[PLG[p], "$fmt-native"] ~ "yes")) + row(PLG[p]) + } +' + + +echo ' +
+ + +' Property changes on: doc/user/09_appendix/src/gen_formats.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property