Gerber Import: Aperture with polygone is rendered in double size

Issue #139 resolved
Marko Hoepken
created an issue

Hi,

sorry, I am not a python programmer, but a good bug hunter. Feel free to fix this bug for "us". Thanks:

Version: 8.3 (2015/02) Platform: Windows 7 64 Issue: Gerber import problem

Problem:

I have Altium (Circuit Maker) gerber files, using aperture codes with polygones. These are rendered in double size.

For finding it, I striped down my Gerber file until I found the issue.

As workaround I simple halfe the size of the polygone in aperture definition to get around the problem.

Here are the Codes in ORINGINAL format (just the extracted polygone codes)

%ADD10P,0.04454X4X300.0*%

%ADD11P,0.08523X8X22.5*%

%ADD14P,0.04454X4X247.0*%

%ADD16P,0.04454X4X153.0*%

%ADD17P,0.04454X4X93.0*%

My gerber should look like this:

Gerber issue Gerber Online view.jpg

With the wrong rendered polygone aperture it looks like this:

Gerber issue CAM view.jpg

As workaround I reduced the size by 50% (just rough, I am lazy in exact numbers ;.))

%ADD10P,0.02454X4X300.0*%

%ADD11P,0.04523X8X22.5*%

%ADD14P,0.02454X4X247.0*%

%ADD16P,0.02454X4X153.0*%

%ADD17P,0.02454X4X93.0*%

My result looks now like this:

Gerber issue FIXED.jpg

As attachment I added the original an my "fixed" Gerber file.

Thanks for this great great great project,

Marko (Germany)

Comments (4)

  1. Log in to comment