Pcbnew: minor Protel gerber file extension fixes.
* Assign file extensions .g1d, .g2d, .g3d, ... for internal copper layers. * Assign file extension .gm1 for edge cut layer.
This commit is contained in:
parent
257ee806fd
commit
8699fdf12e
|
@ -55,7 +55,7 @@ const wxString GetGerberExtension( LAYER_NUM aLayer )
|
||||||
return wxT( "gbl" );
|
return wxT( "gbl" );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return wxT( "gbr" );
|
return wxString::Format( wxT( "g%d" ), aLayer+1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -74,11 +74,12 @@ const wxString GetGerberExtension( LAYER_NUM aLayer )
|
||||||
case B_Mask: return wxT( "gbs" );
|
case B_Mask: return wxT( "gbs" );
|
||||||
case F_Mask: return wxT( "gts" );
|
case F_Mask: return wxT( "gts" );
|
||||||
|
|
||||||
|
case Edge_Cuts: return wxT( "gm1" );
|
||||||
|
|
||||||
case Dwgs_User:
|
case Dwgs_User:
|
||||||
case Cmts_User:
|
case Cmts_User:
|
||||||
case Eco1_User:
|
case Eco1_User:
|
||||||
case Eco2_User:
|
case Eco2_User:
|
||||||
case Edge_Cuts:
|
|
||||||
default: return wxT( "gbr" );
|
default: return wxT( "gbr" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue