Add a gerber test file

remove a few minor coverity warnings
This commit is contained in:
jean-pierre charras 2017-10-23 09:20:10 +02:00
parent 0b1eb5695f
commit 9bd5522419
3 changed files with 93 additions and 5 deletions

View File

@ -0,0 +1,89 @@
G04 Ucamco ex. 2: Shapes*
%FSLAX26Y26*%
%MOIN*%
%TF.Part,Other,sample*%
%LPD*%
G04 Define Apertures*
%AMTARGET125*
6,0,0,0.125,.01,0.01,3,0.003, 0.150,0*%
%AMTHERMAL80*
7,0,0,0.080,0.055,0.0125,45*%
%ADD10C,0.01*%
%ADD11C,0.06*%
%ADD12R,0.06X0.06*%
%ADD13R,0.04X0.100*%
%ADD14R,0.100X0.04*%
%ADD15O,0.04X0.100*%
%ADD16P,0.100X3*%
%ADD18TARGET125*%
%ADD19THERMAL80*%
G04 Start image generation*
D10*
X0Y250000D02*
G01*
X0Y0D01*
X250000Y0D01*
X1000000Y1000000D02*
X1500000D01*
X2000000Y1500000D01*
X2500000D02*
Y1000000D01*
D11*
X1000000Y1000000D03*
X2000000D03*
X2500000D03*
Y1500000D03*
X2000000D03*
D12*
X1000000Y1500000D03*
D13*
X3000000Y1500000D03*
D14*
Y1250000D03*
D15*
Y1000000D03*
D10*
X3750000Y1000000D02*
G75*
G03*
X3750000Y1000000I250000J0D01*
D16*
X3400000Y1000000D03*
X3500000Y900000D03*
D10*
G36*
X500000Y2000000D02*
G01*
Y3750000D01*
X3750000D01*
Y2000000D01*
X500000D01*
G37*
D18*
X0Y3875000D03*
X3875000Y3875000D03*
%LPC*%
G36*
X1000000Y2500000D02*
Y3000000D01*
G74*
G02*
X1250000Y3250000I250000J0D01*
G01*
X3000000D01*
G75*
G02*
X3000000Y2500000I0J-375000D01*
G01*
X1000000D01*
G37*
%LPD*%
D10*
X1500000Y2875000D02*
X2000000D01*
D11*
X1500000Y2875000D03*
X2000000D03*
D19*
X2875000Y2875000D03*
M02*

View File

@ -842,6 +842,7 @@ void SPECCTRA_DB::doKEEPOUT( KEEPOUT* growth )
case T_polyline_path:
tok = T_path;
// Fall through
case T_path:
case T_polygon:
if( growth->shape )
@ -936,6 +937,7 @@ void SPECCTRA_DB::doWINDOW( WINDOW* growth )
case T_polyline_path:
tok = T_path;
// Fall through
case T_path:
case T_polygon:
if( growth->shape )
@ -2053,6 +2055,7 @@ void SPECCTRA_DB::doSHAPE( SHAPE* growth )
{
case T_polyline_path:
tok = T_path;
// Fall through
case T_rect:
case T_circle:
case T_path:

View File

@ -48,11 +48,7 @@ TOOL_ACTION PCB_ACTIONS::positionRelative( "pcbnew.PositionRelative.positionRela
TOOL_ACTION PCB_ACTIONS::selectpositionRelativeItem(
"pcbnew.PositionRelative.selectpositionRelativeItem",
AS_GLOBAL,
0,
"",
"",
nullptr );
AS_GLOBAL, 0, "", "", nullptr );
POSITION_RELATIVE_TOOL::POSITION_RELATIVE_TOOL() :