mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Load default filament/material selections from vendor profiles
This commit is contained in:
parent
34b3548102
commit
87b7b1cc1d
6 changed files with 45 additions and 33 deletions
|
@ -31,11 +31,15 @@ public:
|
|||
// Load ini files of all types (print, filament, printer) from Slic3r::data_dir() / presets.
|
||||
// Load selections (current print, current filaments, current printer) from config.ini
|
||||
// This is done just once on application start up.
|
||||
void load_presets(const AppConfig &config, const std::string &preferred_model_id = "");
|
||||
void load_presets(AppConfig &config, const std::string &preferred_model_id = "");
|
||||
|
||||
// Export selections (current print, current filaments, current printer) into config.ini
|
||||
void export_selections(AppConfig &config);
|
||||
|
||||
// Make sure filament and sla_materials section in AppConfig are initialized
|
||||
// to defaults from vendor profiles if they don't exist already
|
||||
void init_materials_selection(AppConfig &config) const;
|
||||
|
||||
PresetCollection prints;
|
||||
PresetCollection sla_prints;
|
||||
PresetCollection filaments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue