Mail Archives: geda-user/2015/08/20/22:21:05
On Thu, 20 Aug 2015, John Griessen wrote:
> On 08/20/2015 01:42 PM, gedau AT igor2 DOT repo DOT hu wrote:
>> The online version of the parametric footprint generator is accessible at
>> http://igor2.repo.hu/cgi-bin/pcblib-param.cgi
>
> Is it easy to install to a local server on my LAN? Run as cgi with apache?
The main purpose of the project is to provide a parametric
footprint infrastructure that is built into gsch2pcb-rnd and pcb-rnd, so
those are the parts that are easy to install.
The online version is just a demo. While the CGI is in the svn, it doesn't
have an install script or even a separate config file yet. I didn't think
anyone would want to install the CGI.
I am going to separate the settings into a config file and collect the
dependencies and write some doc to make the CGI installable. Please note
that the CGI is still just a demo hack of a sinlge file shell/awk mix, so
don't expect html templates, configurable forms, authentication, etc.
Btw, depending on what you are up to, the system is also easy to use
locally without the CGI and without pcb-rnd, and potentially easy to
integrate into other tools. You can directly call the a generator script
from shell, e.g.
./qfn 16,3x3,0.5
or
./acy 300,wiper=aarrow
and it prints the footprint to stdout. The preview script reads the
footprint file on stdin and prints an animator script on stdout. Then
animator can be called to get a drawing on screen (through SDL) or a dump
in png. If there's enough demand I can put together an animator based
interactive GUI for editing parameters.
Regards,
Igor2
- Raw text -