Fix enum class DRILL_MARKS no export to python

This commit is contained in:
Yang sheng 2022-12-09 18:07:58 +00:00 committed by Seth Hillbrand
parent b4b25a7009
commit aff5245041
2 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,7 @@ popt.SetUseAuxOrigin(True)
# This by gerbers only
popt.SetSubtractMaskFromSilk(False)
# Disable plot pad holes
popt.SetDrillMarksType( PCB_PLOT_PARAMS.NO_DRILL_SHAPE );
popt.SetDrillMarksType( DRILL_MARKS_NO_DRILL_SHAPE );
# Skip plot pad NPTH when possible: when drill size and shape == pad size and shape
# usually sel to True for copper layers
popt.SetSkipPlotNPTH_Pads( False );

View File

@ -112,6 +112,7 @@ HANDLE_EXCEPTIONS(PLUGIN::FootprintDelete)
%include <plotcontroller.h>
%include <plotprint_opts.h>
%include <pcb_plot_params.h>
%include <plotters/plotter.h>
%include <exporters/export_d356.h>