Fixed colors of extrusion paths
This commit is contained in:
parent
2056f4c336
commit
5f587eb362
1 changed files with 14 additions and 14 deletions
|
@ -152,20 +152,20 @@ bool Preview::init(wxNotebook* notebook, DynamicPrintConfig* config, Print* prin
|
||||||
bind_event_handlers();
|
bind_event_handlers();
|
||||||
|
|
||||||
// sets colors for gcode preview extrusion roles
|
// sets colors for gcode preview extrusion roles
|
||||||
std::vector<std::string> extrusion_roles_colors = {
|
std::vector<std::string> extrusion_roles_colors = {
|
||||||
"FFFF66", // Perimeter
|
"Perimeter", "FFFF66",
|
||||||
"FFA500", // External perimeter
|
"External perimeter", "FFA500",
|
||||||
"0000FF", // Overhang perimeter
|
"Overhang perimeter", "0000FF",
|
||||||
"B1302A", // Internal infill
|
"Internal infill", "B1302A",
|
||||||
"D732D7", // Solid infill
|
"Solid infill", "D732D7",
|
||||||
"FF1A1A", // Top solid infill
|
"Top solid infill", "FF1A1A",
|
||||||
"9999FF", // Bridge infill
|
"Bridge infill", "9999FF",
|
||||||
"FFFFFF", // Gap fill
|
"Gap fill", "FFFFFF",
|
||||||
"845321", // Skirt
|
"Skirt", "845321",
|
||||||
"00FF00", // Support material
|
"Support material", "00FF00",
|
||||||
"008000", // Support material interface
|
"Support material interface", "008000",
|
||||||
"B3E3AB", // Wipe tower
|
"Wipe tower", "B3E3AB",
|
||||||
"28CC94" // Custom
|
"Custom", "28CC94"
|
||||||
};
|
};
|
||||||
m_gcode_preview_data->set_extrusion_paths_colors(extrusion_roles_colors);
|
m_gcode_preview_data->set_extrusion_paths_colors(extrusion_roles_colors);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue