mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 15:38:43 +03:00
30 lines
1.4 KiB
C++
30 lines
1.4 KiB
C++
#ifndef slic3r_ProfilesSharingUtils_hpp_
|
|
#define slic3r_ProfilesSharingUtils_hpp_
|
|
|
|
#include <string>
|
|
#include "libslic3r/Config.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
std::string get_json_printer_models(PrinterTechnology printer_technology);
|
|
//std::string get_json_printer_profiles(const std::string& printer_model, const std::string& printer_variant);
|
|
std::string get_json_print_filament_profiles(const std::string& printer_profile);
|
|
|
|
class DynamicPrintConfig;
|
|
bool load_full_print_config(const std::string& print_preset, const std::string& filament_preset, const std::string& printer_preset, DynamicPrintConfig& out_config);
|
|
|
|
// Load full print config into config
|
|
// Return value is always error string if any exists
|
|
// Note, that all appearing warnings are added into BOOST_LOG
|
|
// When printer_technology is set, then it will be compared with printer technology of the printer_profile and return the error, when they aren't the same
|
|
std::string load_full_print_config( const std::string& print_preset_name,
|
|
const std::vector<std::string>& material_preset_names,
|
|
const std::string& printer_preset_name,
|
|
DynamicPrintConfig& config,
|
|
PrinterTechnology printer_technology = ptUnknown);
|
|
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif // slic3r_ProfilesSharingUtils_hpp_
|