diff --git a/common/gbr_metadata.cpp b/common/gbr_metadata.cpp index 1cc2e54688..123b599bae 100644 --- a/common/gbr_metadata.cpp +++ b/common/gbr_metadata.cpp @@ -170,8 +170,8 @@ std::string GBR_APERTURE_METADATA::FormatAttribute( GBR_APERTURE_ATTRIB aAttribu attribute_string = "TA.AperFunction,Conductor"; break; - case GBR_APERTURE_ATTRIB_CUTOUT: // print info associated to a outline - attribute_string = "TA.AperFunction,CutOut"; + case GBR_APERTURE_ATTRIB_EDGECUT: // print info associated to a board outline (edge.cut layer) + attribute_string = "TA.AperFunction,Profile"; break; case GBR_APERTURE_ATTRIB_VIAPAD: // print info associated to a flashed via diff --git a/include/gbr_metadata.h b/include/gbr_metadata.h index ef0a0c4fce..00a45be374 100644 --- a/include/gbr_metadata.h +++ b/include/gbr_metadata.h @@ -82,7 +82,7 @@ public: GBR_APERTURE_ATTRIB_NONE, ///< uninitialized attribute GBR_APERTURE_ATTRIB_ETCHEDCMP, ///< aperture used for etched components GBR_APERTURE_ATTRIB_CONDUCTOR, ///< aperture used for connected items like tracks (not vias) - GBR_APERTURE_ATTRIB_CUTOUT, ///< aperture used for board cutout + GBR_APERTURE_ATTRIB_EDGECUT, ///< aperture used for board outlines (edge.cut layer) GBR_APERTURE_ATTRIB_NONCONDUCTOR, ///< aperture used for not connected items (texts, outlines on copper) GBR_APERTURE_ATTRIB_VIAPAD, ///< aperture used for vias GBR_APERTURE_ATTRIB_COMPONENTPAD, ///< aperture used for through hole component on outer layer diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index 57c8a49948..f7b421031f 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -481,7 +481,7 @@ void BRDITEMS_PLOTTER::Plot_1_EdgeModule( EDGE_MODULE* aEdge ) } else if( aEdge->GetLayer() == Edge_Cuts ) // happens also when plotting copper layers { - gbr_metadata.SetApertureAttrib( GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR ); + gbr_metadata.SetApertureAttrib( GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_EDGECUT ); } switch( type_trace ) @@ -743,7 +743,7 @@ void BRDITEMS_PLOTTER::PlotDrawSegment( DRAWSEGMENT* aSeg ) if( isOnCopperLayer && aSeg->GetLayer() == Edge_Cuts ) // can happens when plotting copper layers { - gbr_metadata.SetApertureAttrib( GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_NONCONDUCTOR ); + gbr_metadata.SetApertureAttrib( GBR_APERTURE_METADATA::GBR_APERTURE_ATTRIB_EDGECUT ); } switch( aSeg->GetShape() )