From e4f73c8dc9f89fcc7d6045ae89ca2a01257a7e8b Mon Sep 17 00:00:00 2001 From: Brian Mayton Date: Thu, 6 Jan 2022 10:59:47 -0800 Subject: [PATCH] Add ORANGE to DXF output Matches the schematic color options to DXF layers Fixes https://gitlab.com/kicad/code/kicad/issues/10281 Signed-off-by: Seth Hillbrand (cherry picked from commit d014f0307b14fa6b2455c5a5b266345967593722) --- common/plotters/DXF_plotter.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/plotters/DXF_plotter.cpp b/common/plotters/DXF_plotter.cpp index 81f3545e86..6fb6e14ae5 100644 --- a/common/plotters/DXF_plotter.cpp +++ b/common/plotters/DXF_plotter.cpp @@ -63,30 +63,35 @@ static const struct { "GRAY3", 9 }, { "WHITE", 7 }, { "LYELLOW", 51 }, + { "LORANGE", 41 }, { "BLUE1", 178 }, { "GREEN1", 98 }, { "CYAN1", 138 }, { "RED1", 18 }, { "MAGENTA1", 228 }, { "BROWN1", 58 }, + { "ORANGE1", 34 }, { "BLUE2", 5 }, { "GREEN2", 3 }, { "CYAN2", 4 }, { "RED2", 1 }, { "MAGENTA2", 6 }, { "BROWN2", 54 }, + { "ORANGE2", 42 }, { "BLUE3", 171 }, { "GREEN3", 91 }, { "CYAN3", 131 }, { "RED3", 11 }, { "MAGENTA3", 221 }, { "YELLOW3", 2 }, + { "ORANGE3", 32 }, { "BLUE4", 5 }, { "GREEN4", 3 }, { "CYAN4", 4 }, { "RED4", 1 }, { "MAGENTA4", 6 }, - { "YELLOW4", 2 } + { "YELLOW4", 2 }, + { "ORANGE4", 40 } };