Index: Makefile =================================================================== --- Makefile (revision 5948) +++ Makefile (revision 5949) @@ -1,10 +1,10 @@ # This Makefile is a plain old hand written one; all configuration settings # are included from ../../Makefile.conf which is scconfig generated -IN=pcb-rnd.1.mml pcb-strip.1.mml pcb-prj2lht.1.mml -OUT_HTML = pcb-rnd.1.html pcb-strip.1.html pcb-prj2lht.1.html -OUT_MAN1 = pcb-rnd.1 pcb-strip.1 pcb-prj2lht.1 -OUT_LINT = pcb-rnd.1.lint pcb-strip.1.lint pcb-prj2lht.1.lint +IN=pcb-rnd.1.mml pcb-strip.1.mml pcb-prj2lht.1.mml fp2anim.1.mml +OUT_HTML = pcb-rnd.1.html pcb-strip.1.html pcb-prj2lht.1.html fp2anim.1.html +OUT_MAN1 = pcb-rnd.1 pcb-strip.1 pcb-prj2lht.1 fp2anim.1 +OUT_LINT = pcb-rnd.1.lint pcb-strip.1.lint pcb-prj2lht.1.lint fp2anim.1.lint OUTPUT = $(OUT_HTML) $(OUT_MAN1) index.html MML = /usr/bin/mml @@ -45,6 +45,7 @@ $(CPC) "`pwd`/pcb-strip.1" "$(MAN1DIR)/pcb-strip.1" $(CPC) "`pwd`/pcb-prj2lht.1" "$(MAN1DIR)/pcb-prj2lht.1" $(CPC) "`pwd`/gsch2pcb-rnd.1" "$(MAN1DIR)/gsch2pcb-rnd.1" + $(CPC) "`pwd`/fp2anim.1" "$(MAN1DIR)/fp2anim.1" uninstall: $(RM) "$(MAN1DIR)/pcb-rnd.1" @@ -51,6 +52,7 @@ $(RM) "$(MAN1DIR)/pcb-strip.1" $(RM) "$(MAN1DIR)/pcb-prj2lht.1" $(RM) "$(MAN1DIR)/gsch2pcb-rnd.1" + $(RM) "$(MAN1DIR)/fp2anim.1" install: $(MAKE) install_ CPC="$(CP)" Index: fp2anim.1 =================================================================== --- fp2anim.1 (nonexistent) +++ fp2anim.1 (revision 5949) @@ -0,0 +1,67 @@ +.\" pcb-rnd - manual +.\" Copyright (C) 2016 Tibor 'Igor2' Palinkas +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License along +.\" with this program; if not, write to the Free Software Foundation, Inc., +.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.\" +.\" Contact: pcb-rnd[removethis]@igor2.repo.hu +.TH fp2anim 1 2016-12-27 "" "pcb-rnd manual" +.SH NAME +fp2anim - convert a gEDA/PCB footprint to animator script +.SH SYNPOSIS +.nf +.sp +\fBfp2anim [\fIoptions\fB] [\fIinputfile\fB] +.fi +.SH DECSRIPTION + +.BR fp2anim +converts a footprint to a script that can be run through animator(1). It's main use is to have a automated, light-weight footprint preview generator on hosts where installing pcb-rnd would be too expensive (e.g. on web servers). +.PP +If \fIinputfile\fR is not specified, +.BR fp2anim +reads its STDIN for the footprint. +.SH OPTIONS + + +.TP + +.B --photo +draw the footprint in "photo realistic mode" +.TP + +.B -p +same as --photo +.TP + +.B --grid unit +set grid unit e.g. to mm or mil +.TP + +.B -g unit +same as --grid +.TP + +.B --mm +use an mm grid instead of a mil grid; shorthand for -g mm +.TP + +.B --diamond +draw a small diamond to mark at footprint origin +.TP + +.B --annotation types +turn on annotation types; types is a string that may consist "pins" for pin numbers, "dimname" and "dimvalue" for dimension names and values and "background" for drawing a background under annotation text +.PP + Index: fp2anim.1.html =================================================================== --- fp2anim.1.html (nonexistent) +++ fp2anim.1.html (revision 5949) @@ -0,0 +1,98 @@ +
+ +fp2anim 1 + | 2016-12-27 + | pcb-rnd manual + |
---|
+fp2anim - convert a gEDA/PCB footprint to animator script ++ +
++ ++fp2anim [options] [inputfile] + + + +
+fp2anim converts a footprint to a script that can be run through animator(1). It's main use is to have a automated, light-weight footprint preview generator on hosts where installing pcb-rnd would be too expensive (e.g. on web servers). ++ + ++If inputfile is not specified, fp2anim reads its STDIN for the footprint. + +
+ +++ +
++ + --photo + draw the footprint in "photo realistic mode" + + + -p + same as --photo + + + --grid unit + set grid unit e.g. to mm or mil + + + -g unit + same as --grid + + + --mm + use an mm grid instead of a mil grid; shorthand for -g mm + + + --diamond + draw a small diamond to mark at footprint origin + + + --annotation types + turn on annotation types; types is a string that may consist "pins" for pin numbers, "dimname" and "dimvalue" for dimension names and values and "background" for drawing a background under annotation text +
+
fp2anim 1 + | 2016-12-27 + | pcb-rnd manual + |
---|
+If