← Back to team overview

kicad-developers team mailing list archive

Re: Kicad's way of drawing filled zones

 

Am 2019-05-19 19:27, schrieb Seth Hillbrand:
Am 2019-05-19 15:28, schrieb jp charras:
It also could be worth to commit the work on Removing segment
hard-coding, because zone filled polygons optimization also include
circle to segments optimization.

I think the consensus was to make the acceptable error size
configurable and store it in the kicad_pcb file.  I am updating my
branch to do this and will e-mail the list for some testing before
pushing.  Hopefully this week.


Hi All-

I've pushed the latest code for customizing the approximation level to my branch [1]. Please have a go at testing it. It includes the modification to the kicad_pcb file, removing the legacy segments_per_zone and adding a board-level max_error setting.

You can set this value in the Board Setup/Design Rules dialog. I clamp it between 0.1 and 0.001mm.

If there are no objections to the approach this week, I'll push it to master this weekend.

-Seth


[1] https://code.launchpad.net/~sethh/kicad/+git/kicad/+ref/segments


References