← Back to team overview

kicad-developers team mailing list archive

Re: Problem with fill having self-crossing polygons

 

Hello!

I tried sending an offending board file to JP Charras, but never heard anything back, maybe it was blocked. If I plot gerbers from it, they exhibit the problem with having self-intersecting polygons. Does anyone else want to look at?

Here is a link to it: https://drive.google.com/file/d/0B3AfPBE03TLaUXAtQVJFR1pmNnc/edit?usp=sharing

Kelton

On 5/13/2014 3:48 PM, Lorenzo Marcantonio wrote:
On Tue, May 13, 2014 at 02:52:05PM -0400, Kelton Stefan wrote:
Lorenzo, I'm not exactly sure what the 'butterfly' is that you mention I
should produce a summary test with. Can you explain?
This is a quad:

3        2
  --------
|        |
|        |
|        |
|        |
  --------
4        1

swap the node 1 and 4, twisting the polygon, and you have the butterfly:

3        2
  --------
  \     /
    \ /
    / \
  /     \
  --------
4        1

AFAIK that's the simplest self intersecting polygon you can have. Also
the bane of all the polygon algorithms (it would be convex, too, anyway!)




References