kicad-developers team mailing list archive
Mailing list archive
Re: Polygons support in Kicad.
I wondered where that self-intersecting polygon warning was coming from in
third party Gerber viewers was coming from.
Behalf Of jean-pierre charras
Sent: Saturday, August 04, 2012 8:11 AM
Subject: [Kicad-developers] Polygons support in Kicad.
In my recent commit, I removed Kbool from Kicad, and replaced it by Clipper.
Currently, to handle polygons (mainly for zones), I am using boost::polygon
Clipper is, by far, more easier to use than Kbool, needs very few code to be
used, has a better license ( BOOST libraries license), and is currently
It is currently used only to normalize polygons, i.e. to convert self
intersecting polygons to simple polygons, which is not possible with
The best is to use only one library for polygons, but it is currently not
Each library (boost::polygon and clipper) has advantages and drawbacks.
I also made a very serious code cleanup in polygon functions (obscure and
dead code removed).
I hope it do not break Pcbnew.
I am thinking a good support of polygons is very important for Kicad.
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