-
-
Notifications
You must be signed in to change notification settings - Fork 54
Incorrect gerber bounds computed by gerbv #336
Copy link
Copy link
Closed
Description
For this file, gerbv is computing the wrong bounds:
%FSLAX46Y46*%
%MOMM*%
%LPD*%
G01*
%ADD10C,0.100000*%
D10*
X-20000000Y-20000000D02*
G75*
G02*
Y20000000I20000000J20000000D01*
X20000000I20000000J-20000000D01*
Y-20000000I-20000000J-20000000D01*
X-20000000I-20000000J20000000D01*
M02*
That gerber file is a drawing of a circle made by four arcs. But the arcs are on in the quadrants, they are arcs at north, south, east and west. The cricle circumscribes an aligned square with opposite corners are 2,2 and -2,-2.
In my testing, gerbv is reporting that the bounding box for the shape is too small:
Bounding box: POLYGON((-0.86811 -0.86811,-0.86811 0.86811,0.86811 0.86811,0.86811 -0.86811,-0.86811 -0.86811))
The issue was found here: pcb2gcode/pcb2gcode#784
I will look at it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels