Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-12-03 Thread Seth Hillbrand
Hi Laen (and others interested)- There was a recent bug report (https://bugs.launchpad.net/kicad/+bug/1806506) that showed an issue with the proposed minimal script below. Specifically, this did not include net classes in the data before filling. This can lead to incorrect boards when generating

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread James Neal
Building now! Thanks!! On Wed, Aug 8, 2018 at 1:27 PM Seth Hillbrand wrote: > Hi Laen- > > If you are compiling yourself, you can grab the v5 branch here: > git clone -b 5.0 https://git.launchpad.net/kicad > > The latest commit should have re- > enabled zone filling as I described. > > Best- >

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread Adam Wolf
Thanks Seth for getting this resolved quickly :) Adam On Wed, Aug 8, 2018 at 3:27 PM Seth Hillbrand wrote: > > Hi Laen- > > If you are compiling yourself, you can grab the v5 branch here: > git clone -b 5.0 https://git.launchpad.net/kicad > > The latest commit should have re- > enabled zone filli

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread Seth Hillbrand
Hi Laen- If you are compiling yourself, you can grab the v5 branch here: git clone -b 5.0 https://git.launchpad.net/kicad The latest commit should have re- enabled zone filling as I described. Best- Seth Am Mi., 8. Aug. 2018 um 13:22 Uhr schrieb James Neal : > Awesome! This is the last thing

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread James Neal
Awesome! This is the last thing standing in the way of us supporting Native Kicad 5 uploads. :) We'll take a stab at adding it to the python SWIG. -Laen On Wed, Aug 8, 2018 at 12:25 PM Seth Hillbrand wrote: > Hi Laen- > > Unfortunately, zone filling was factored out into a second file in Dec

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread Frank Severinsen
And now I remember you use KiCad files instead of gerbers Sendt fra min Samsung Galaxy-smartphone. Oprindelig besked Fra: James Neal Dato: 08/08/2018 20.29 (GMT+01:00) Til: kicad-developers@lists.launchpad.net Emne: [Kicad-developers] Filling Zones with the Kicad 5 python API

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread Frank Severinsen
-developers] Filling Zones with the Kicad 5 python API Hey!We use the kicad python library to CAM boards for manufacturing.   One of the big issues we see in customer uploads is they fail to fill zones before saving the file, so we use this function:  def __Fill_All_Zones(self):    # Kicad doesn&#

Re: [Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread Seth Hillbrand
Hi Laen- Unfortunately, zone filling was factored out into a second file in Dec 2017 and it looks like you are the first person to note that the python SWIG includes did not update with it. So, at the moment, KiCad v5 doesn't have a zone fill command in python. I'll see about updating that for v

[Kicad-developers] Filling Zones with the Kicad 5 python API

2018-08-08 Thread James Neal
Hey! We use the kicad python library to CAM boards for manufacturing. One of the big issues we see in customer uploads is they fail to fill zones before saving the file, so we use this function: def __Fill_All_Zones(self): # Kicad doesn't refresh ground pours automatically during plotting