diff --git a/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py b/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py index 6231ea9216..8bad0472cf 100644 --- a/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py +++ b/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py @@ -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 ); diff --git a/pcbnew/python/swig/pcbnew.i b/pcbnew/python/swig/pcbnew.i index 33f02893fe..5d4fadbd81 100644 --- a/pcbnew/python/swig/pcbnew.i +++ b/pcbnew/python/swig/pcbnew.i @@ -112,6 +112,7 @@ HANDLE_EXCEPTIONS(PLUGIN::FootprintDelete) %include +%include %include %include %include