Gerber, Dialog plot: add option to disable Aperture Macro use.
Some broken Gerber readers cannot handle Aperture Macros without errors although this feature exists since the beginning of RS274X format.
This commit is contained in:
@@ -1143,6 +1143,7 @@ PLOTTER* StartPlotBoard( BOARD *aBoard, PCB_PLOT_PARAMS *aPlotOpts, int aLayer,
|
||||
bool useX2mode = plotOpts.GetUseGerberX2format();
|
||||
|
||||
GERBER_PLOTTER* gbrplotter = static_cast <GERBER_PLOTTER*> ( plotter );
|
||||
gbrplotter->DisableApertMacros( plotOpts.GetDisableGerberMacros() );
|
||||
gbrplotter->UseX2format( useX2mode );
|
||||
gbrplotter->UseX2NetAttributes( plotOpts.GetIncludeGerberNetlistInfo() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user