kicad-developers team mailing list archive
Mailing list archive
Re: Parsing new .kicad_pcb files
The link you provided looks in the right direction... but I am still
Is the script shown '*Example that loads a board, hides all values, shows
all references' *run from independent of a running instance of kicad, or
does the script require 'kicad with scripting support' (which I understand
needs to be compiled from source and sounds too scary for me)?... where is
the python module 'pcb new': the scripts refer to a python file pcbnew (
from pcbnew import *)? I cannot find it from browsing the source.
Thanks again and sorry for the frustrating/noob questions
On Sat, Mar 30, 2013 at 12:40 PM, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:
> On Mar 28, 2013 2:04 PM, "Senthil Seveelavanan" <s.seveelavanan@xxxxxxxxx>
>> ... Also I am looking at the output of a simple pcb layout.
>> here is the top 3 lines
>> (version 3)
>> (host pcbnew "(2013-03-19 BZR 4004)-stable")
>> I am new to s-expressions: Why are some of the strings surrounded by
>> quotes "..." and some are not? Do the strings without quotation marks mean
>> variable or similar?
>> On Thu, Mar 28, 2013 at 5:49 PM, Senthil Seveelavanan <
>> s.seveelavanan@xxxxxxxxx> wrote:
>>> Hi all,
>>> Does any python code exist to assist the parsing of the new .kicad_pcb
>>> pcbnew s-expression based file format? I want to write a simple script to
>>> get/set the placement of tracks/vias etc.
>> 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