← Back to team overview

kicad-developers team mailing list archive

Re: Proposal for batch plotting

 

Le 05/08/2012 08:27, Lorenzo Marcantonio a écrit :
On Sat, Aug 04, 2012 at 07:40:15PM +0200, jean-pierre charras wrote:
With all the code made by Dick, S expression is even easier to use than scanf (with a (very) short leaning curve).
And the code will be 100% (or 99%) good for any way chosen to store these settings.

Do you have pointers to look at for learning to use this?


Important headers: richio.h and dsnlexer.h
For samples, have a look to netlist_reader_kicad.cpp and pcb_plot_parameters.cpp

To store/read settings, you should define your keywords.
Have a look to pcb_plot_parameters.keywords
(I am thinking you could use and extend this list because it already contains keyword to read/store plot parameters)

Good luck.


--
Jean-Pierre CHARRAS



Follow ups

References