← Back to team overview

kicad-developers team mailing list archive

Re: Documentation footprint postscript/pdfs in kicad-library are HUGE bitmap images.

 

On 2/13/2014 12:36 PM, Adam Wolf wrote:
> I'll try to keep an eye out, but if the plotting scripting changes, it'd
> be great if someone could ping me.  I maintain a private branch that can
> generate gerbers from the command line, and would like to push it
> upstream as soon as it is acceptable.
> 
> Adam Wolf
> Wayne and Layne, LLC

Adam,

You might want to wait until Dick finishes his DLL work.  At that point,
the UI code should be separated from the core Pcbnew code.  Then it
should be fairly easy to create command line tool for plotting (or any
thing else for that matter) purposes rather than go through wxApp() and
not show the main window.  It might even make more sense to use python
scripting to complete this task.

Wayne

> 
> 
> On Thu, Feb 13, 2014 at 11:21 AM, Henner Zeller <h.zeller@xxxxxxx
> <mailto:h.zeller@xxxxxxx>> wrote:
> 
>     On 13 February 2014 00:16, Lorenzo Marcantonio
>     <l.marcantonio@xxxxxxxxxxxx <mailto:l.marcantonio@xxxxxxxxxxxx>> wrote:
>     > On Thu, Feb 13, 2014 at 12:04:47AM -0800, Henner Zeller wrote:
>     >> Good. Rule of thumb: always avoid widget library printing: it
>     always sucks
>     >> :-)
>     >
>     > Not necessarily... wx (among other issues) truncate(d) unnecessarily
>     > coordinates. People trying to do toner-transfer PCBs weren't
>     happy. But,
>     > among the general suckiness, the old windows MFC printing system was
>     > actually pretty good. The fact that Windows uses GDI for both
>     screen and
>     > print of course is a big simplifing argument :D
>     >
>     > In kicad the fact that wxDC, ps, PDF, DXF, SVG and Gerber have
>     > *radically* different paint models didn't help (yes, you can actually
>     > ask for a schematic plotted in gerber. I'm quite proud of it :P:P:P).
>     > BTW you also can ask for metric gerbers if someone want to hack the
>     > print dialog. Could help for rounding issue (failed clearances in
>     > postprocessors) due to conversion.
> 
>     BTW, I attempted to actually generate PDFs like the ones in the
>     documentation with the plot method, but I couldn't easily figure out
>     how to combine multiple layers in one sheet, just distinguished by
>     several colors.
> 
>     The regular printing seems to allow combining multiple layers, but
>     other than that is entirely broken, partially printing upside down (or
>     at least offset), non-matching vector sizes etc. The code should
>     probably be based on the same underlying plot framework.
> 
>     I am interested in the scripting support - is there some documentation
>     somewhere to get me started on that ?
> 
>     >
>     >> Uh. Sounds like a nice refactoring opportunity. I will have a
>     look once I
>     >
>     > Did something on pcbnew, many things remains on eeschema, if
>     someone else
>     > didn't do it in the meantime.
> 
>     Ok, I'll probably start there.
> 
>     -h
> 
>     >
>     > --
>     > Lorenzo Marcantonio
>     > Logos Srl
>     >
>     > _______________________________________________
>     > Mailing list: https://launchpad.net/~kicad-developers
>     > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     > Unsubscribe : https://launchpad.net/~kicad-developers
>     > More help   : https://help.launchpad.net/ListHelp
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 



References