← Back to team overview

kicad-developers team mailing list archive

[PATCH] Add more layers by default when plotting.

 

This makes the default plotting options more consistent to what one
would need when producing a board in a typical PCB fab, that is,
including solder mask, edge cuts and paste stencil.
---
 pcbnew/pcb_plot_params.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pcbnew/pcb_plot_params.cpp b/pcbnew/pcb_plot_params.cpp
index 2e153b330..352d58588 100644
--- a/pcbnew/pcb_plot_params.cpp
+++ b/pcbnew/pcb_plot_params.cpp
@@ -113,7 +113,10 @@ PCB_PLOT_PARAMS::PCB_PLOT_PARAMS()
     m_outputDirectory.clear();
     m_color                      = BLACK;
     m_textMode                   = PLOTTEXTMODE_DEFAULT;
-    m_layerSelection = LSET( 2, F_SilkS, B_SilkS) | LSET::AllCuMask();
+    m_layerSelection = LSET( 7, F_SilkS, B_SilkS,
+                             F_Mask, B_Mask,
+                             F_Paste, B_Paste,
+                             Edge_Cuts) | LSET::AllCuMask();
 
     // This parameter controls if the NPTH pads will be plotted or not
     // it is a "local" parameter

Follow ups