Le 18/12/2017 à 17:01, Andreas Buhr a écrit : > Hi all, > > when converting a zone to a polygon, the function > TransformRoundedEndsSegmentToPolygon > is called on each segment of the polygon describing the zone. This is > done to enlarge the polygon. This leads to a large number of polygons > describing the zone. > > Why isn't the polygon enlarged using the clipper library? > > Attached is a patch which reduces the complexity of the polygons > generated considerably. The patch is untested and not intended to be > merged, it's just to illustrate my question. If the clipper library is > not used here only for historic reasons, I'd create a tested patch in > the coming weeks. > > thanks a lot in advance and best regards, > Andreas
Copper zones are critical things. Inflate polygons using a generic algorithm can create some unwanted shapes in a few cases. Merging segments to main outline avoid possible issues. For non critical cases, inflating polygons should be OK. -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

