Gerber plot: fix a minor issue: TF attribute "Drawing" is now "OtherDrawing,Comment"
Also use "AssemblyDrawing" attribute for fabrication layers in Pcbnew (actually assembly layers) This is due some changes in recent Gerber file format.
This commit is contained in:
parent
81ce588a00
commit
85156300d6
|
@ -132,7 +132,7 @@ const wxString GetGerberFileFunctionAttribute( const BOARD *aBoard, LAYER_NUM aL
|
|||
break;
|
||||
|
||||
case Dwgs_User:
|
||||
attrib = "Drawing";
|
||||
attrib = "OtherDrawing,Comment";
|
||||
break;
|
||||
|
||||
case Cmts_User:
|
||||
|
@ -148,11 +148,13 @@ const wxString GetGerberFileFunctionAttribute( const BOARD *aBoard, LAYER_NUM aL
|
|||
break;
|
||||
|
||||
case B_Fab:
|
||||
attrib = "Other,Fab,Bot";
|
||||
// This is actually a assembly layer
|
||||
attrib = "AssemblyDrawing,Bot";
|
||||
break;
|
||||
|
||||
case F_Fab:
|
||||
attrib = "Other,Fab,Top";
|
||||
// This is actually a assembly layer
|
||||
attrib = "AssemblyDrawing,Top";
|
||||
break;
|
||||
|
||||
case B_Cu:
|
||||
|
|
Loading…
Reference in New Issue