← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] export SHAPE_POLY_SET to pcbnew python

 

Hmm, just as a heads up. I think I see a new warning from this patch:

kicad-git/pcbnew/../include/geometry/shape_poly_set.h:53: Warning 401:
Nothing known about base class 'SHAPE'. Ignored.

It does not sound overly elegant, but I really don't know.

2017-04-14 16:35 GMT+02:00 Wayne Stambaugh <stambaughw@xxxxxxxxx>:
> I merged your patch into the master branch.  Thank you for your
> contribution to KiCad.
>
> Cheers,
>
> Wayne
>
> On 4/14/2017 8:19 AM, miles mccoo wrote:
>>
>>
>> The recent refactoring work moving from cpolyline to shapepolyset means
>> that we need to expose shape poly set to the python interface. this
>> patch adds it and restores the ability to modify zones from scripts.
>>
>> Note that unfracture does not have an implementation but swig tries to
>> wrap it, since it was in the header file. link error ensues. I've
>> removed it from the header. easy enough to put it back once it's
>> implemented.
>>
>>
>> Miles
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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