OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
SnapmakerPrinterAgent.cpp File Reference
#include "SnapmakerPrinterAgent.hpp"
#include "Http.hpp"
#include "MoonrakerPrinterAgent.hpp"
#include "IPrinterAgent.hpp"
#include "libslic3r/PresetBundle.hpp"
#include "slic3r/GUI/GUI_App.hpp"
#include "nlohmann/json.hpp"
#include <boost/log/trivial.hpp>
#include <vector>
#include <string>
#include "libslic3r/Preset.hpp"
#include <cstddef>
#include <utility>
Include dependency graph for SnapmakerPrinterAgent.cpp:

Go to the source code of this file.

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::anonymous_namespace{SnapmakerPrinterAgent.cpp}

Functions

template<typename T>
T Slic3r::anonymous_namespace{SnapmakerPrinterAgent.cpp}::safe_at (const std::vector< T > &vec, int index, const T &fallback)
std::string Slic3r::anonymous_namespace{SnapmakerPrinterAgent.cpp}::find_closest_color_preset_by_vendor_and_type (const PresetCollection &filaments, const std::string &vendor_name, const std::string &filament_type, const std::string &color_rgba)

Variables

constexpr const char * Slic3r::anonymous_namespace{SnapmakerPrinterAgent.cpp}::SNAPMAKER_AGENT_VERSION = "0.0.1"