#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/PresetBundle.hpp>
Classes | |
| struct | PresetPreferences |
| struct | LegacyUserFilamentPresetMigration |
| struct | Selection |
| class | SelectionExportBlocker |
| struct | ObsoletePresets |
| struct | VendorSource |
| struct | EntryParse |
| struct | VendorParse |
| struct | VendorRead |
| struct | VendorInstall |
| struct | PresetInstall |
Public Types | |
| enum | LoadConfigBundleAttribute { SaveImported , ResetUserProfile , LoadSystem , LoadVendorOnly , LoadFilamentOnly } |
| using | LoadConfigBundleAttributes = enum_bitmask<LoadConfigBundleAttribute> |
Public Member Functions | |
| bool | load_vendor_cache (const std::string &cache_path, const std::string &expected_vendor_name, const Semver &expected_vendor_version, const PresetBundle *base_bundle=nullptr) |
| void | set_generate_vendor_caches (bool enable) |
| PresetBundle () | |
| PresetBundle (const PresetBundle &rhs) | |
| PresetBundle & | operator= (const PresetBundle &rhs) |
| void | reset (bool delete_files) |
| void | setup_directories () |
| void | copy_files (const std::string &from) |
| PresetsConfigSubstitutions | load_presets (AppConfig &config, ForwardCompatibilitySubstitutionRule rule, const PresetPreferences &preferred_selection=PresetPreferences(), std::string *errors=nullptr, bool read_only=false) |
| bool | resolve_preset_config (DynamicPrintConfig &config, Preset::Type type, const std::string &source_file, ForwardCompatibilitySubstitutionRule compatibility_rule, std::string &error, bool allow_source_manifest=true) |
| bool | resolve_preset_config_type (DynamicPrintConfig &config, Preset::Type &type, const std::string &source_file, ForwardCompatibilitySubstitutionRule compatibility_rule, std::string &error, bool allow_source_manifest=true) |
| bool | resolve_system_preset (DynamicPrintConfig &config, Preset::Type type, const std::string &name, ForwardCompatibilitySubstitutionRule compatibility_rule, std::string &error) |
| void | load_selections (AppConfig &config, const PresetPreferences &preferred_selection=PresetPreferences()) |
| PresetsConfigSubstitutions | load_user_presets (std::string user, ForwardCompatibilitySubstitutionRule rule, bool read_only=false) |
| PresetsConfigSubstitutions | load_user_presets (AppConfig &config, std::map< std::string, std::map< std::string, std::string > > &my_presets, ForwardCompatibilitySubstitutionRule rule) |
| bool | reload_local_bundle (const std::string &preset_folder, const std::string &bundle_id, std::string *error=nullptr) |
| std::vector< std::string > | list_local_bundle_ids (const std::string &preset_folder) |
| PresetsConfigSubstitutions | update_subscribed_presets (AppConfig &config, const std::map< std::string, std::map< std::string, std::string > > &bundle_presets, const BundleMetadata &remote_metadata, ForwardCompatibilitySubstitutionRule rule) |
| PresetsConfigSubstitutions | import_presets (std::vector< std::string > &files, std::function< int(std::string const &)> override_confirm, ForwardCompatibilitySubstitutionRule rule, AppConfig &config) |
| bool | import_json_presets (PresetsConfigSubstitutions &substitutions, std::string &file, std::function< int(std::string const &)> override_confirm, ForwardCompatibilitySubstitutionRule rule, int &overwrite, std::vector< std::string > &result, const std::string &bundle_dir="", const std::map< std::string, std::string > &bed_asset_paths={}, bool *bed_paths_loaded=nullptr) |
| void | save_user_presets (AppConfig &config, std::map< std::string, std::string > &need_to_delete_list) |
| void | check_and_fix_user_presets_syncinfo (const std::string &user_id) |
| void | remove_users_preset (AppConfig &config, std::map< std::string, std::map< std::string, std::string > > *my_presets=nullptr) |
| void | update_user_presets_directory (const std::string preset_folder) |
| void | remove_user_presets_directory (const std::string preset_folder) |
| void | update_system_preset_setting_ids (std::map< std::string, std::map< std::string, std::string > > &system_presets) |
| bool | apply_vendor_config (const std::map< std::string, std::map< std::string, std::set< std::string > > > &new_vendors, const std::map< std::string, std::string > &new_filaments, AppConfig *app_config, bool overwrite=true, const std::string &preferred_printer_model=std::string(), const std::string &preferred_printer_variant=std::string(), const std::string &preferred_filament=std::string()) |
| int | validate_presets (const std::string &file_name, DynamicPrintConfig &config, std::set< std::string > &different_gcodes) |
| Preset * | get_preset_differed_for_save (Preset &preset) |
| int | get_differed_values_to_update (Preset &preset, std::map< std::string, std::string > &key_values) |
| Semver | get_vendor_profile_version (std::string vendor_name) |
| std::optional< FilamentBaseInfo > | get_filament_by_filament_id (const std::string &filament_id, const std::string &printer_name=std::string()) const |
| VendorType | get_current_vendor_type () |
| bool | is_bbl_vendor () |
| bool | use_bbl_network () |
| bool | use_bbl_device_tab () |
| bool | backup_user_folder () const |
| bool | backup_user_folder_to_zip (const std::string &zip_path) const |
| std::vector< LegacyUserFilamentPreset > | legacy_user_filament_presets () |
| LegacyUserFilamentPresetMigration | migrate_legacy_user_filament_presets (const std::vector< LegacyUserFilamentPreset > &legacy_presets) |
| PresetsConfigSubstitutions | load_project_embedded_presets (std::vector< Preset * > project_presets, ForwardCompatibilitySubstitutionRule substitution_rule) |
| std::vector< Preset * > | get_current_project_embedded_presets () |
| void | reset_project_embedded_presets () |
| std::optional< Selection > | selection () const |
| void | restore_selection (const Selection &selection) |
| std::string | get_texture_for_printer_model (std::string model_name) |
| std::string | get_stl_model_for_printer_model (std::string model_name) |
| std::string | get_hotend_model_for_printer_model (std::string model_name) |
| void | export_selections (AppConfig &config) |
| void | set_num_filaments (unsigned int n, std::string new_col="") |
| void | update_num_filaments (unsigned int to_del_flament_id) |
| void | get_ams_cobox_infos (AMSComboInfo &combox_info) |
| unsigned int | sync_ams_list (std::vector< std::pair< DynamicPrintConfig *, std::string > > &unknowns, bool use_map, std::map< int, AMSMapInfo > &maps, bool enable_append, MergeFilamentInfo &merge_info, bool color_only=false) |
| bool | is_the_only_edited_filament (unsigned int filament_index) |
| void | reset_default_nozzle_volume_type () |
| std::vector< int > | get_used_tpu_filaments (const std::vector< int > &used_filaments) |
| void | update_selections (AppConfig &config) |
| void | set_calibrate_printer (std::string name) |
| void | set_is_validation_mode (bool mode) |
| void | set_vendor_to_validate (std::string vendor) |
| std::vector< std::vector< DynamicPrintConfig > > | get_extruder_filament_info () const |
| std::set< std::string > | get_printer_names_by_printer_type_and_nozzle (const std::string &printer_type, std::string nozzle_diameter_str, bool system_only=true) |
| std::vector< Preset * > | get_filament_presets_for_machine (const std::string &printer_type, const std::string &nozzle_diameter_str, bool include_user_presets) |
| bool | check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray (const std::string &printer_type, std::string &nozzle_diameter_str, std::string &setting_id, std::string &tag_uid, std::string &nozzle_temp_min, std::string &nozzle_temp_max, std::string &preset_setting_id, int extruder_id, NozzleVolumeType nozzle_volume_type) |
| Preset * | get_similar_printer_preset (std::string printer_model, std::string printer_variant) |
| PresetCollection & | materials (PrinterTechnology pt) |
| const PresetCollection & | materials (PrinterTechnology pt) const |
| bool | has_defauls_only () const |
| DynamicPrintConfig | full_config (bool apply_extruder=true, std::optional< std::vector< int > >filament_maps=std::nullopt, std::optional< std::vector< int > > filament_volume_maps=std::nullopt) const |
| DynamicPrintConfig | full_config_secure (std::optional< std::vector< int > >filament_maps=std::nullopt) const |
| std::vector< int > | get_default_nozzle_volume_types_for_filaments (std::vector< int > &f_maps) |
| std::vector< std::vector< std::vector< float > > > | get_full_flush_matrix (bool with_multiplier=true) const |
| int | get_printer_extruder_count () const |
| bool | support_different_extruders () const |
| void | update_filament_count () |
| void | load_config_from_wizard (const std::string &name, DynamicPrintConfig config, Semver file_version) |
| void | load_config_model (const std::string &name, DynamicPrintConfig config, Semver file_version=Semver(), PublishedConfig *published_config=nullptr) |
| ConfigSubstitutions | load_config_file (const std::string &path, ForwardCompatibilitySubstitutionRule compatibility_rule) |
| DynamicPrintConfig | config_from_gcode (const std::string &path, ForwardCompatibilitySubstitutionRule compatibility_rule, ConfigSubstitutions &substitutions) const |
| std::pair< PresetsConfigSubstitutions, size_t > | load_vendor_configs_from_json (const std::string &dir, const std::string &vendor_name, LoadConfigBundleAttributes flags, ForwardCompatibilitySubstitutionRule compatibility_rule, const PresetBundle *base_bundle=nullptr, bool allow_cache=true) |
| std::vector< std::string > | export_current_configs (const std::string &path, std::function< int(std::string const &)> override_confirm, bool include_modify, bool export_system_settings=false) |
| void | set_default_suppressed (bool default_suppressed) |
| void | set_filament_preset (size_t idx, const std::string &name) |
| void | update_multi_material_filament_presets (size_t to_delete_filament_id=size_t(-1)) |
| bool | is_mixed_filament (size_t idx) const |
| std::vector< size_t > | physical_filament_config_indices () const |
| size_t | num_mixed_filaments () const |
| size_t | num_physical_filaments () const |
| void | on_extruders_count_changed (int extruder_count) |
| void | update_compatible (PresetSelectCompatibleType select_other_print_if_incompatible, PresetSelectCompatibleType select_other_filament_if_incompatible) |
| void | update_compatible (PresetSelectCompatibleType select_other_if_incompatible) |
| void | normalize_compatible_presets () |
| void | load_installed_printers (const AppConfig &config) |
| const std::string & | get_preset_name_by_alias (const Preset::Type &preset_type, const std::string &alias) const |
| const int | get_required_hrc_by_filament_type (const std::string &filament_type) const |
| void | save_changes_for_preset (const std::string &new_name, Preset::Type type, const std::vector< std::string > &unselected_options, bool save_to_project=false) |
| std::pair< PresetsConfigSubstitutions, std::string > | load_system_models_from_json (ForwardCompatibilitySubstitutionRule compatibility_rule) |
| std::pair< PresetsConfigSubstitutions, std::string > | load_system_filaments_json (ForwardCompatibilitySubstitutionRule compatibility_rule) |
| VendorProfile | get_custom_vendor_models () const |
| bool | has_errors (bool check_duplicate_filament_subtypes=false) const |
| int | error_count () const |
| bool | check_preset_references () const |
| bool | check_printer_default_materials () const |
| std::pair< PresetsConfigSubstitutions, std::string > | load_vendors (const std::vector< VendorSource > &vendors, ForwardCompatibilitySubstitutionRule compatibility_rule, bool allow_cache, const std::atomic< bool > *cancel=nullptr, std::vector< std::string > *failed=nullptr) |
Static Public Member Functions | |
| static DynamicPrintConfig | construct_full_config (Preset &in_printer_preset, Preset &in_print_preset, const DynamicPrintConfig &project_config, std::vector< Preset > &in_filament_presets, bool apply_extruder, std::optional< std::vector< int > > filament_maps_new, std::optional< std::vector< int > > filament_volume_maps_new=std::nullopt) |
| static std::string | find_preset_vendor (const std::string &preset_name, Preset::Type type) |
| static std::set< std::string > | project_different_keys (const std::string &different_settings) |
| static void | convert_filament_preset_name (const std::string &machine_name, std::string &filament_name) |
| static int | get_filament_variant_index (const DynamicPrintConfig &filament_config, const DynamicPrintConfig &printer_config, int extruder_id, NozzleVolumeType nozzle_volume_type) |
| static std::array< Preset::Type, 3 > | types_list (PrinterTechnology pt) |
Public Attributes | |
| PresetCollection | prints |
| PresetCollection | sla_prints |
| PresetCollection | filaments |
| PresetCollection | sla_materials |
| PrinterPresetCollection | printers |
| PhysicalPrinterCollection | physical_printers |
| std::vector< std::string > | filament_presets |
| std::map< int, DynamicPrintConfig > | filament_ams_list |
| std::vector< std::vector< std::string > > | ams_multi_color_filment |
| std::vector< std::map< int, int > > | extruder_ams_counts |
| Preset const * | calibrate_printer = nullptr |
| std::set< Preset const * > | calibrate_filaments |
| DynamicPrintConfig | project_config |
| VendorMap | vendors |
| std::map< std::string, DynamicPrintConfig > | m_config_maps |
| std::map< std::string, std::string > | m_filament_id_maps |
| boost::filesystem::path | dir_user_presets_local |
| boost::filesystem::path | dir_user_presets_subscribed |
| PresetBundleMetadata | bundles |
| ObsoletePresets | obsolete_presets |
Static Public Attributes | |
| static const char * | ORCA_DEFAULT_BUNDLE = "Custom" |
| static const char * | ORCA_DEFAULT_PRINTER_MODEL = "MyKlipper 0.4 nozzle" |
| static const char * | ORCA_DEFAULT_PRINTER_VARIANT = "0.4" |
| static const char * | ORCA_DEFAULT_FILAMENT = "Generic PLA @System" |
| static const char * | ORCA_FILAMENT_LIBRARY = "OrcaFilamentLibrary" |
| static const char * | ORCA_DEFAULT_FILAMENT_PLACEHOLDER = "Default Filament" |
Private Member Functions | |
| size_t | min_filament_count () const |
| std::vector< std::vector< std::string > > | merge_presets (const std::vector< PresetBundle * > &others) |
| VendorRead | read_vendor (const std::string &dir, const std::string &vendor_name, LoadConfigBundleAttributes flags, ForwardCompatibilitySubstitutionRule compatibility_rule, bool allow_cache) |
| void | parse_vendor_json (VendorRead &read) |
| std::pair< PresetsConfigSubstitutions, size_t > | install_vendor_read (VendorRead &&read, const PresetBundle *base_bundle) |
| bool | install_vendor_cache (const std::string &cache_path, const std::string &vendor_name, VendorCacheData &&data, const PresetBundle *base_bundle) |
| void | log_errors (const std::vector< std::string > &errors) |
| size_t | install_vendor (const std::string &path, const std::string &vendor_name, const PresetBundle *base_bundle, LoadConfigBundleAttributes flags, const VendorCacheData &entries, VendorParse *parsed, bool complete, PresetsConfigSubstitutions &substitutions) |
| void | install_vendor_entries (VendorInstall &install, const std::vector< CachedPreset > &entries, std::vector< EntryParse > *parsed) |
| PresetInstall | resolve_vendor_preset (const CachedPreset &entry, const VendorInstall &install) const |
| std::string | commit_vendor_preset (const CachedPreset &entry, PresetInstall &&resolved, ConfigSubstitutions &&substitutions, VendorInstall &install) |
| void | clear_printer_hold_aliases () |
| const PresetBundle * | load_source_vendor (const boost::filesystem::path &root_dir, const std::string &vendor_id, ForwardCompatibilitySubstitutionRule compatibility_rule, std::string &error, bool allow_cache=false) |
| bool | check_duplicate_filament_subtypes () const |
| std::pair< PresetsConfigSubstitutions, std::string > | load_system_presets_from_json (ForwardCompatibilitySubstitutionRule compatibility_rule, bool write_caches=true) |
| void | update_filament_multi_color () |
| void | update_system_maps () |
| void | load_installed_filaments (AppConfig &config) |
| void | load_installed_sla_materials (AppConfig &config) |
| void | load_config_file_config (const std::string &name_or_path, bool is_external, DynamicPrintConfig &&config, Semver file_version=Semver(), bool selected=false, PublishedConfig *published_config=nullptr) |
| DynamicPrintConfig | full_fff_config (bool apply_extruder, std::optional< std::vector< int > > filament_maps=std::nullopt, std::optional< std::vector< int > > filament_volume_maps=std::nullopt) const |
| DynamicPrintConfig | full_sla_config () const |
| bool | save_preset_to_bundle_dir (Preset &preset, PresetCollection *collection, const std::string &bundle_id, const std::string &type_subdir, const std::string &bundle_base_dir) |
Private Attributes | |
| bool | m_generate_vendor_caches { false } |
| bool | m_preserve_vendor_source_paths { false } |
| std::map< std::tuple< std::string, std::string, ForwardCompatibilitySubstitutionRule, bool >, std::unique_ptr< PresetBundle > > | m_source_vendor_bundles |
| bool | validation_mode = false |
| std::string | vendor_to_validate = "" |
| int | m_errors = 0 |
| int | m_selection_export_blockers = 0 |
| struct Slic3r::PresetBundle::PresetPreferences |
| struct Slic3r::PresetBundle::LegacyUserFilamentPresetMigration |
| struct Slic3r::PresetBundle::Selection |
| Class Members | ||
|---|---|---|
| vector< map< int, int > > | extruder_ams_counts | |
| vector< string > | filament_presets | |
| Collection | filaments | |
| Collection | printers | |
| Collection | prints | |
| DynamicPrintConfig | project_config | |
| struct Slic3r::PresetBundle::ObsoletePresets |
| struct Slic3r::PresetBundle::VendorSource |
| struct Slic3r::PresetBundle::EntryParse |
| Class Members | ||
|---|---|---|
| vector< string > | errors | |
| ConfigSubstitutions | substitutions | |
| vector< string > | warnings | |
| struct Slic3r::PresetBundle::VendorParse |
| Class Members | ||
|---|---|---|
| vector< EntryParse > | filament_entries | |
| vector< EntryParse > | machine_entries | |
| vector< EntryParse > | process_entries | |
| struct Slic3r::PresetBundle::VendorRead |
| Class Members | ||
|---|---|---|
| string | cache_path | |
| bool | cacheable { false } | |
| ForwardCompatibilitySubstitutionRule | compatibility_rule | |
| VendorCacheData | data | |
| string | dir | |
| int | errors_at_entry { 0 } | |
| vector< string > | failed_errors | |
| const char * | failed_kind { nullptr } | |
| string | failed_subfile | |
| LoadConfigBundleAttributes | flags | |
| bool | from_cache { false } | |
| VendorParse | parsed | |
| string | reason | |
| string | vendor_name | |
| bool | vendor_only { false } | |
| string | version | |
| bool | will_cache { false } | |
| struct Slic3r::PresetBundle::VendorInstall |
| Class Members | ||
|---|---|---|
| const PresetBundle * | base_bundle | |
| map< string, DynamicPrintConfig > | config_maps | |
| size_t | count { 0 } | |
| map< string, string > | filament_id_maps | |
| LoadConfigBundleAttributes | flags | |
| map< string, DynamicPrintConfig > | include_maps | |
| set< string > | included | |
| set< string > | inherited | |
| unordered_set< string > | installed_names | |
| bool | is_from_lib | |
| string | path | |
| PresetCollection * | presets | |
| PresetsConfigSubstitutions * | substitutions | |
| string | vendor_name | |
| const VendorProfile * | vendor_profile | |
| struct Slic3r::PresetBundle::PresetInstall |
| Class Members | ||
|---|---|---|
| string | alias | |
| DynamicPrintConfig | config | |
| bool | config_only { false } | |
| vector< string > | errors | |
| string | filament_id | |
| string | file_path | |
| optional< DynamicPrintConfig > | included | |
| string | reason | |
| vector< string > | renamed_from | |
| optional< DynamicPrintConfig > | retained | |
| Enumerator | |
|---|---|
| SaveImported | |
| ResetUserProfile | |
| LoadSystem | |
| LoadVendorOnly | |
| LoadFilamentOnly | |
| Slic3r::PresetBundle::PresetBundle | ( | ) |
References filaments, ORCA_DEFAULT_FILAMENT_PLACEHOLDER, physical_printers, printers, Slic3r::PrintRegionConfig, prints, sla_materials, sla_prints, and Slic3r::ConfigOptionVector< T >::values.
Referenced by PresetBundle(), Slic3r::PresetBundle::SelectionExportBlocker::SelectionExportBlocker(), full_fff_config(), install_vendor(), install_vendor_cache(), install_vendor_read(), load_source_vendor(), load_system_filaments_json(), load_vendor_cache(), load_vendor_configs_from_json(), merge_presets(), operator=(), reload_local_bundle(), resolve_preset_config(), resolve_system_preset(), and resolve_vendor_preset().
| Slic3r::PresetBundle::PresetBundle | ( | const PresetBundle & | rhs | ) |
| bool Slic3r::PresetBundle::apply_vendor_config | ( | const std::map< std::string, std::map< std::string, std::set< std::string > > > & | new_vendors, |
| const std::map< std::string, std::string > & | new_filaments, | ||
| AppConfig * | app_config, | ||
| bool | overwrite = true, | ||
| const std::string & | preferred_printer_model = std::string(), | ||
| const std::string & | preferred_printer_variant = std::string(), | ||
| const std::string & | preferred_filament = std::string() ) |
References _, apply_vendor_config(), Slic3r::Enable, export_selections(), Slic3r::f(), filament_presets, filaments, Slic3r::AppConfig::get_section(), Slic3r::AppConfig::has_section(), Slic3r::install_vendor_bundles_from_resources(), Slic3r::Preset::is_compatible, Slic3r::is_vendor_installed(), Slic3r::Preset::is_visible, load_presets(), ORCA_DEFAULT_BUNDLE, Slic3r::AppConfig::SECTION_FILAMENTS, Slic3r::AppConfig::set_section(), Slic3r::AppConfig::set_vendors(), Slic3r::AppConfig::vendors(), and vendors.
Referenced by Slic3r::GUI::GuideFrame::apply_config(), and apply_vendor_config().
| bool Slic3r::PresetBundle::backup_user_folder | ( | ) | const |
References backup_user_folder(), Slic3r::data_dir(), and PRESET_USER_DIR.
Referenced by backup_user_folder().
| bool Slic3r::PresetBundle::backup_user_folder_to_zip | ( | const std::string & | zip_path | ) | const |
References Slic3r::Zipper::add_entry(), backup_user_folder_to_zip(), Slic3r::data_dir(), Slic3r::Zipper::finalize(), and PRESET_USER_DIR.
Referenced by backup_user_folder_to_zip(), and migrate_legacy_user_filament_presets().
| void Slic3r::PresetBundle::check_and_fix_user_presets_syncinfo | ( | const std::string & | user_id | ) |
References check_and_fix_user_presets_syncinfo(), filaments, Slic3r::Preset::is_user(), printers, and prints.
Referenced by check_and_fix_user_presets_syncinfo().
|
private |
References check_duplicate_filament_subtypes(), Slic3r::Preset::filament_id, filaments, Slic3r::Preset::file, Slic3r::is_compatible_with_printer(), Slic3r::Preset::is_system, Slic3r::Preset::name, Slic3r::VendorProfile::name, ORCA_FILAMENT_LIBRARY, Slic3r::preset_file_uri(), printers, and Slic3r::Preset::vendor.
Referenced by check_duplicate_filament_subtypes(), and has_errors().
| bool Slic3r::PresetBundle::check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray | ( | const std::string & | printer_type, |
| std::string & | nozzle_diameter_str, | ||
| std::string & | setting_id, | ||
| std::string & | tag_uid, | ||
| std::string & | nozzle_temp_min, | ||
| std::string & | nozzle_temp_max, | ||
| std::string & | preset_setting_id, | ||
| int | extruder_id, | ||
| NozzleVolumeType | nozzle_volume_type ) |
References check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray(), Slic3r::Preset::config, filaments, Slic3r::ConfigOptionVector< int >::get_at(), get_filament_variant_index(), get_printer_names_by_printer_type_and_nozzle(), Slic3r::Preset::is_user(), Slic3r::Preset::name, Slic3r::nozzle_volume_type(), printers, Slic3r::Preset::setting_id, and Slic3r::ConfigOptionVector< T >::values.
Referenced by Slic3r::MachineObject::check_ams_filament_valid(), and check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray().
| bool Slic3r::PresetBundle::check_preset_references | ( | ) | const |
References check_preset_references(), Slic3r::Preset::config, filaments, Slic3r::Preset::file, Slic3r::Preset::inherits(), Slic3r::Preset::is_system, Slic3r::Preset::name, Slic3r::ConfigBase::option(), Slic3r::preset_file_uri(), printers, prints, sla_materials, and sla_prints.
Referenced by check_preset_references(), and has_errors().
| bool Slic3r::PresetBundle::check_printer_default_materials | ( | ) | const |
References check_printer_default_materials(), Slic3r::VendorProfile::PrinterModel::default_materials, filaments, Slic3r::Preset::is_system, Slic3r::VendorProfile::PrinterModel::name, Slic3r::preset_file_uri(), printers, Slic3r::ptFFF, Slic3r::PresetUtils::system_printer_model(), and Slic3r::ConfigOptionVector< T >::values.
Referenced by check_printer_default_materials(), and has_errors().
|
private |
References clear_printer_hold_aliases(), filaments, printers, prints, sla_materials, and sla_prints.
Referenced by clear_printer_hold_aliases(), and install_vendor_cache().
|
private |
References Slic3r::Preset::alias, Slic3r::PresetCollection::append_preset(), commit_vendor_preset(), Slic3r::VendorProfile::config_version, Slic3r::PresetConfigSubstitutions::ConfigBundle, Slic3r::CachedPreset::description, Slic3r::Preset::description, Slic3r::Preset::filament_id, filaments, Slic3r::generate_preset_setting_id(), Slic3r::Preset::get_type_string(), Slic3r::CachedPreset::instantiation, Slic3r::Preset::is_system, LoadSystem, log_errors(), m_errors, Slic3r::Preset::m_from_orca_filament_lib, Slic3r::CachedPreset::name, Slic3r::Preset::name, Slic3r::Preset::renamed_from, Slic3r::CachedPreset::setting_id, Slic3r::Preset::setting_id, Slic3r::CachedPreset::sub_path, Slic3r::PresetCollection::type(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::vendor, and Slic3r::Preset::version.
Referenced by commit_vendor_preset(), and install_vendor_entries().
| DynamicPrintConfig Slic3r::PresetBundle::config_from_gcode | ( | const std::string & | path, |
| ForwardCompatibilitySubstitutionRule | compatibility_rule, | ||
| ConfigSubstitutions & | substitutions ) const |
References Slic3r::ConfigBase::apply(), Slic3r::coEnums, config_from_gcode(), Slic3r::DynamicConfig::keys(), Slic3r::ConfigBase::load_from_gcode_file(), Slic3r::Preset::normalize(), Slic3r::ConfigBase::option(), project_config, Slic3r::DynamicConfig::set_key_value(), and Slic3r::ConfigOptionVectorBase::size().
Referenced by config_from_gcode(), load_config_file(), and Slic3r::GUI::Plater::load_gcode().
|
static |
References Slic3r::ConfigOptionVectorBase::append(), Slic3r::ConfigBase::apply(), Slic3r::Preset::compatible_printers_condition(), Slic3r::Preset::config, Slic3r::DynamicConfig::erase(), Slic3r::filament_ids(), Slic3r::filament_options_with_variant, filament_presets, Slic3r::DynamicPrintConfig::get_extruder_nozzle_volume_count(), Slic3r::DynamicPrintConfig::has_multi_variant_filament(), Slic3r::Preset::inherits(), Slic3r::ConfigOption::is_scalar(), Slic3r::Preset::name, Slic3r::nvtStandard, Slic3r::ConfigBase::option(), Slic3r::print_options_with_variant, Slic3r::printer_options_with_variant_1, Slic3r::printer_options_with_variant_2, project_config, Slic3r::ptFFF, Slic3r::ConfigOption::set(), Slic3r::ConfigOptionVectorBase::set(), Slic3r::DynamicConfig::set_key_value(), Slic3r::ConfigOptionVectorBase::size(), Slic3r::DynamicPrintConfig::support_different_extruders(), Slic3r::DynamicPrintConfig::update_values_to_printer_extruders(), Slic3r::ConfigOptionVector< T >::values, and Slic3r::ConfigOptionVector< int >::values.
Referenced by Slic3r::GUI::CalibUtils::calib_generic_auto_pa_cali().
|
static |
References convert_filament_preset_name(), and Slic3r::filament_preset_convert.
Referenced by convert_filament_preset_name(), load_config_file_config(), and Slic3r::CLI::run().
| void Slic3r::PresetBundle::copy_files | ( | const std::string & | from | ) |
References Slic3r::copy_dir(), copy_files(), Slic3r::data_dir(), PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, and PRESET_PRINTER_NAME.
Referenced by copy_files().
| std::vector< std::string > Slic3r::PresetBundle::export_current_configs | ( | const std::string & | path, |
| std::function< int(std::string const &)> | override_confirm, | ||
| bool | include_modify, | ||
| bool | export_system_settings = false ) |
References Slic3r::Preset::config, export_current_configs(), Slic3r::f(), filament_presets, filaments, Slic3r::Preset::is_default, Slic3r::Preset::is_system, Slic3r::Preset::name, printers, prints, Slic3r::ConfigBase::save_to_json(), Slic3r::Semver::to_string(), and Slic3r::Preset::version.
Referenced by export_current_configs().
| void Slic3r::PresetBundle::export_selections | ( | AppConfig & | config | ) |
References Slic3r::AppConfig::clear_printer_settings(), Slic3r::AppConfig::clear_section(), Slic3r::empty(), Slic3r::escape_strings_cstyle(), export_selections(), extruder_ams_counts, filament_presets, Slic3r::flush_volumes_matrix(), Slic3r::AppConfig::get(), m_selection_export_blockers, PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, printers, prints, project_config, Slic3r::ptFFF, Slic3r::save_extruder_ams_count_to_string(), Slic3r::AppConfig::set(), Slic3r::AppConfig::set_printer_setting(), and Slic3r::ConfigOptionVector< T >::values.
Referenced by Slic3r::GUI::ConfigWizard::priv::apply_config(), apply_vendor_config(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), export_selections(), and Slic3r::GUI::GuideFrame::run().
|
static |
References BBL_JSON_KEY_FILAMENT_LIST, BBL_JSON_KEY_MACHINE_LIST, BBL_JSON_KEY_NAME, BBL_JSON_KEY_PROCESS_LIST, Slic3r::VendorCacheFile::carries_preset(), PRESET_PROFILES_DIR, Slic3r::resources_dir(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, and Slic3r::vendor_names_in().
Referenced by Slic3r::GUI::GUI_App::add_pending_vendor_preset(), and resolve_system_preset().
| DynamicPrintConfig Slic3r::PresetBundle::full_config | ( | bool | apply_extruder = true, |
| std::optional< std::vector< int > > | filament_maps = std::nullopt, | ||
| std::optional< std::vector< int > > | filament_volume_maps = std::nullopt ) const |
References full_config(), full_fff_config(), full_sla_config(), printers, and Slic3r::ptFFF.
Referenced by Slic3r::GUI::Plater::_calib_pa_pattern_gen_gcode(), Slic3r::GUI::_get_used_nozzle_idxes(), Slic3r::GUI::PublishSettingsDialog::build_option_model(), Slic3r::GUI::collect_imex_warnings(), full_config(), get_full_flush_matrix(), Slic3r::GUI::PartPlate::imex_wipe_tower_hull(), Slic3r::GUI::Plater::load_gcode(), Slic3r::GUI::manuallySetNozzleCount(), Slic3r::GUI::Plater::priv::on_select_bed_type(), Slic3r::GUI::s_get_slicing_extuder_nozzles(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config().
| DynamicPrintConfig Slic3r::PresetBundle::full_config_secure | ( | std::optional< std::vector< int > > | filament_maps = std::nullopt | ) | const |
References Slic3r::DynamicConfig::erase(), full_config_secure(), and full_fff_config().
Referenced by full_config_secure().
|
private |
References PresetBundle(), Slic3r::ConfigOptionVectorBase::append(), Slic3r::ConfigBase::apply(), Slic3r::Preset::compatible_printers_condition(), Slic3r::Preset::compatible_prints_condition(), Slic3r::Preset::config, Slic3r::DynamicConfig::diff(), Slic3r::DynamicConfig::erase(), Slic3r::escape_strings_cstyle(), extruder_ams_counts, Slic3r::Preset::filament_id, Slic3r::filament_ids(), Slic3r::filament_options_with_variant, filament_presets, filaments, full_fff_config(), Slic3r::DynamicPrintConfig::get_extruder_nozzle_volume_count(), Slic3r::DynamicPrintConfig::has_multi_variant_filament(), Slic3r::ignore_settings_list, Slic3r::Preset::inherits(), Slic3r::Preset::is_default, Slic3r::ConfigOption::is_scalar(), Slic3r::Preset::is_system, Slic3r::Preset::name, Slic3r::nvtStandard, Slic3r::ConfigBase::option(), Slic3r::print_options_with_variant, Slic3r::printer_options_with_variant_1, Slic3r::printer_options_with_variant_2, printers, prints, project_config, Slic3r::ptFFF, Slic3r::save_extruder_ams_count_to_string(), Slic3r::ConfigOption::set(), Slic3r::ConfigOptionVectorBase::set(), Slic3r::DynamicConfig::set_key_value(), Slic3r::ConfigOptionVectorBase::size(), Slic3r::DynamicPrintConfig::support_different_extruders(), Slic3r::DynamicPrintConfig::update_values_to_printer_extruders(), Slic3r::ConfigOptionVector< T >::values, and Slic3r::ConfigOptionVector< int >::values.
Referenced by full_config(), full_config_secure(), and full_fff_config().
|
private |
References Slic3r::ConfigBase::apply(), Slic3r::DynamicConfig::erase(), full_sla_config(), Slic3r::ConfigBase::option(), printers, Slic3r::ptSLA, Slic3r::DynamicConfig::set_key_value(), sla_materials, and sla_prints.
Referenced by full_config(), and full_sla_config().
| void Slic3r::PresetBundle::get_ams_cobox_infos | ( | AMSComboInfo & | combox_info | ) |
References Slic3r::AMSComboInfo::ams_filament_colors, Slic3r::AMSComboInfo::ams_filament_presets, Slic3r::AMSComboInfo::ams_multi_color_filment, Slic3r::AMSComboInfo::ams_names, Slic3r::AMSComboInfo::clear(), Slic3r::f(), filament_ams_list, filament_presets, Slic3r::filament_type(), filaments, get_ams_cobox_infos(), and Slic3r::warn_ambiguous_filament_id_match().
Referenced by get_ams_cobox_infos().
| std::vector< Preset * > Slic3r::PresetBundle::get_current_project_embedded_presets | ( | ) |
References Slic3r::PresetCollection::begin(), Slic3r::PresetCollection::end(), filament_presets, filaments, get_current_project_embedded_presets(), printers, and prints.
Referenced by Slic3r::GUI::Plater::export_3mf(), and get_current_project_embedded_presets().
| VendorType Slic3r::PresetBundle::get_current_vendor_type | ( | ) |
References get_current_vendor_type(), Klipper_Qidi, Marlin_BBL, printers, Unknown, and vendors.
Referenced by get_current_vendor_type(), and is_bbl_vendor().
| VendorProfile Slic3r::PresetBundle::get_custom_vendor_models | ( | ) | const |
References Slic3r::Preset::config, get_custom_vendor_models(), Slic3r::VendorProfile::id, Slic3r::Preset::is_default, Slic3r::Preset::is_system, Slic3r::VendorProfile::models, Slic3r::VendorProfile::name, Slic3r::DynamicConfig::opt_string(), PRESET_CUSTOM_VENDOR, and printers.
Referenced by get_custom_vendor_models(), and Slic3r::GUI::get_exist_vendor_choices().
| std::vector< int > Slic3r::PresetBundle::get_default_nozzle_volume_types_for_filaments | ( | std::vector< int > & | f_maps | ) |
References get_default_nozzle_volume_types_for_filaments(), Slic3r::nvtStandard, and project_config.
Referenced by get_default_nozzle_volume_types_for_filaments(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config().
| int Slic3r::PresetBundle::get_differed_values_to_update | ( | Preset & | preset, |
| std::map< std::string, std::string > & | key_values ) |
References filaments, get_differed_values_to_update(), Slic3r::PresetCollection::get_differed_values_to_update(), printers, prints, Slic3r::Preset::type, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, and Slic3r::Preset::TYPE_PRINTER.
Referenced by get_differed_values_to_update().
| std::vector< std::vector< DynamicPrintConfig > > Slic3r::PresetBundle::get_extruder_filament_info | ( | ) | const |
References filament_ams_list, get_extruder_filament_info(), and get_printer_extruder_count().
Referenced by get_extruder_filament_info().
| std::optional< FilamentBaseInfo > Slic3r::PresetBundle::get_filament_by_filament_id | ( | const std::string & | filament_id, |
| const std::string & | printer_name = std::string() ) const |
References Slic3r::Preset::alias, Slic3r::Preset::config, Slic3r::FilamentBaseInfo::filament_id, Slic3r::Preset::filament_id, Slic3r::FilamentBaseInfo::filament_name, Slic3r::FilamentBaseInfo::filament_printable, Slic3r::FilamentBaseInfo::filament_type, filaments, get_filament_by_filament_id(), Slic3r::FilamentBaseInfo::is_support, Slic3r::FilamentBaseInfo::is_system, Slic3r::Preset::is_system, Slic3r::FilamentBaseInfo::nozzle_temp_range_high, Slic3r::FilamentBaseInfo::nozzle_temp_range_low, Slic3r::FilamentBaseInfo::set_filament_extruder_compatibility(), Slic3r::FilamentBaseInfo::temperature_vitrification, and Slic3r::FilamentBaseInfo::vendor.
Referenced by Slic3r::_get_filament_name_from_ams(), Slic3r::check_filaments_printable(), get_filament_by_filament_id(), and Slic3r::GUI::AMSDryCtrWin::update_filament_list().
| std::vector< Preset * > Slic3r::PresetBundle::get_filament_presets_for_machine | ( | const std::string & | printer_type, |
| const std::string & | nozzle_diameter_str, | ||
| bool | include_user_presets ) |
References Slic3r::Preset::config, filaments, get_filament_presets_for_machine(), get_printer_names_by_printer_type_and_nozzle(), Slic3r::is_compatible_with_printer(), Slic3r::Preset::is_system, Slic3r::Preset::name, Slic3r::ConfigBase::option(), printers, and Slic3r::DynamicConfig::set_key_value().
Referenced by Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), get_filament_presets_for_machine(), Slic3r::GUI::AMSMaterialsSetting::on_select_filament(), Slic3r::GUI::AMSMaterialsSetting::Popup(), and Slic3r::GUI::AMSDryCtrWin::update_filament_list().
|
static |
References Slic3r::etDirectDrive, get_filament_variant_index(), Slic3r::DynamicPrintConfig::get_index_for_extruder(), Slic3r::nozzle_volume_type(), and Slic3r::ConfigBase::option().
Referenced by check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray(), Slic3r::GUI::AMSMaterialsSetting::get_filament_variant_index(), and get_filament_variant_index().
| std::vector< std::vector< std::vector< float > > > Slic3r::PresetBundle::get_full_flush_matrix | ( | bool | with_multiplier = true | ) | const |
References Slic3r::cast(), full_config(), Slic3r::get_flush_volumes_matrix(), get_full_flush_matrix(), project_config, Slic3r::pvmFast, Slic3r::ConfigOptionVector< double >::resize(), Slic3r::ConfigOptionVector< T >::size(), and Slic3r::ConfigOptionSingle< T >::value.
Referenced by get_full_flush_matrix().
| std::string Slic3r::PresetBundle::get_hotend_model_for_printer_model | ( | std::string | model_name | ) |
References Slic3r::data_dir(), get_hotend_model_for_printer_model(), Slic3r::resources_dir(), and vendors.
Referenced by get_hotend_model_for_printer_model(), and Slic3r::GUI::GCodeViewer::init().
References filaments, get_preset_differed_for_save(), Slic3r::PresetCollection::get_preset_differed_for_save(), printers, prints, Slic3r::Preset::type, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, and Slic3r::Preset::TYPE_PRINTER.
Referenced by get_preset_differed_for_save().
| const std::string & Slic3r::PresetBundle::get_preset_name_by_alias | ( | const Preset::Type & | preset_type, |
| const std::string & | alias ) const |
References filaments, get_preset_name_by_alias(), Slic3r::PresetCollection::get_preset_name_by_alias(), printers, prints, sla_materials, sla_prints, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_INVALID, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, and Slic3r::Preset::TYPE_SLA_PRINT.
Referenced by get_preset_name_by_alias(), and load_selections().
| int Slic3r::PresetBundle::get_printer_extruder_count | ( | ) | const |
References Slic3r::Preset::config, count, get_printer_extruder_count(), Slic3r::nozzle_diameter(), Slic3r::ConfigBase::option(), and printers.
Referenced by Slic3r::GUI::MainFrame::create_side_tools(), get_extruder_filament_info(), get_printer_extruder_count(), Slic3r::GUI::GCodeViewer::init(), min_filament_count(), Slic3r::GUI::Sidebar::need_auto_sync_extruder_list_after_connect_priner(), Slic3r::GUI::PartPlate::refresh_imex_icon(), Slic3r::GUI::PartPlate::register_raycasters_for_picking(), Slic3r::GUI::PartPlate::render_icons(), Slic3r::GUI::seedExtruderNozzleStats(), Slic3r::GUI::PartPlate::set_shape(), Slic3r::GUI::setExtruderNozzleCount(), sync_ams_list(), Slic3r::GUI::Sidebar::priv::sync_extruder_list(), update_multi_material_filament_presets(), and Slic3r::GUI::Sidebar::priv::update_sync_status().
| std::set< std::string > Slic3r::PresetBundle::get_printer_names_by_printer_type_and_nozzle | ( | const std::string & | printer_type, |
| std::string | nozzle_diameter_str, | ||
| bool | system_only = true ) |
References get_printer_names_by_printer_type_and_nozzle(), printers, and Slic3r::ConfigOptionSingle< T >::value.
Referenced by check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray(), get_filament_presets_for_machine(), Slic3r::GUI::AMSMaterialsSetting::get_filament_variant_index(), get_printer_names_by_printer_type_and_nozzle(), and Slic3r::MachineObject::update_printer_preset_name().
| const int Slic3r::PresetBundle::get_required_hrc_by_filament_type | ( | const std::string & | filament_type | ) | const |
References Slic3r::filament_type(), filaments, and get_required_hrc_by_filament_type().
Referenced by get_required_hrc_by_filament_type().
| Preset * Slic3r::PresetBundle::get_similar_printer_preset | ( | std::string | printer_model, |
| std::string | printer_variant ) |
References Slic3r::PresetCollection::begin(), Slic3r::Preset::config, Slic3r::PresetCollection::end(), get_similar_printer_preset(), Slic3r::Preset::is_system, Slic3r::Preset::name, Slic3r::DynamicConfig::opt_string(), and printers.
Referenced by get_similar_printer_preset().
| std::string Slic3r::PresetBundle::get_stl_model_for_printer_model | ( | std::string | model_name | ) |
References Slic3r::data_dir(), get_stl_model_for_printer_model(), Slic3r::resources_dir(), and vendors.
Referenced by get_stl_model_for_printer_model().
| std::string Slic3r::PresetBundle::get_texture_for_printer_model | ( | std::string | model_name | ) |
References Slic3r::data_dir(), get_texture_for_printer_model(), Slic3r::resources_dir(), and vendors.
Referenced by get_texture_for_printer_model().
| std::vector< int > Slic3r::PresetBundle::get_used_tpu_filaments | ( | const std::vector< int > & | used_filaments | ) |
References Slic3r::Preset::config, filament_presets, Slic3r::filament_type(), filaments, Slic3r::DynamicPrintConfig::get_filament_type(), get_used_tpu_filaments(), and Slic3r::Preset::name.
Referenced by get_used_tpu_filaments().
| Semver Slic3r::PresetBundle::get_vendor_profile_version | ( | std::string | vendor_name | ) |
References get_vendor_profile_version(), and vendors.
Referenced by get_vendor_profile_version().
|
inline |
| bool Slic3r::PresetBundle::has_errors | ( | bool | check_duplicate_filament_subtypes = false | ) | const |
References check_duplicate_filament_subtypes(), check_preset_references(), check_printer_default_materials(), Slic3r::Preset::config, filaments, Slic3r::Preset::file, has_errors(), Slic3r::Preset::is_system, m_errors, Slic3r::VendorProfile::name, Slic3r::ConfigBase::option(), ORCA_FILAMENT_LIBRARY, printers, prints, and Slic3r::Preset::vendor.
Referenced by has_errors().
| bool Slic3r::PresetBundle::import_json_presets | ( | PresetsConfigSubstitutions & | substitutions, |
| std::string & | file, | ||
| std::function< int(std::string const &)> | override_confirm, | ||
| ForwardCompatibilitySubstitutionRule | rule, | ||
| int & | overwrite, | ||
| std::vector< std::string > & | result, | ||
| const std::string & | bundle_dir = "", | ||
| const std::map< std::string, std::string > & | bed_asset_paths = {}, | ||
| bool * | bed_paths_loaded = nullptr ) |
References Slic3r::ConfigBase::apply(), Slic3r::Preset::base_id, BBL_JSON_KEY_FILAMENT_ID, BBL_JSON_KEY_INHERITS, BBL_JSON_KEY_NAME, BBL_JSON_KEY_VERSION, Slic3r::Preset::bundle_id, Slic3r::PresetOrigin::bundle_id, Slic3r::Preset::config, Slic3r::PresetCollection::default_preset_for(), Slic3r::detect_origin_from_path(), Slic3r::extend_default_config_length(), Slic3r::Preset::filament_id, filaments, Slic3r::Preset::file, Slic3r::PresetCollection::find_preset(), Slic3r::PresetCollection::find_preset2(), Slic3r::get_preset_canonical_name(), Slic3r::ConfigOptionResolver::has(), import_json_presets(), Slic3r::Preset::is_external, Slic3r::is_path_within_root(), Slic3r::ConfigBase::load_from_json(), Slic3r::PresetCollection::load_preset(), Slic3r::PresetCollection::m_dir_path, m_errors, Slic3r::Preset::name, Slic3r::Preset::normalize(), Slic3r::Preset::normalize_inherits(), Slic3r::ConfigBase::option(), Slic3r::Semver::parse(), Slic3r::PresetCollection::path_from_name(), PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, printers, prints, Slic3r::Preset::remove_invalid_keys(), Slic3r::Preset::save(), save_preset_to_bundle_dir(), Slic3r::PresetCollection::set_custom_preset_alias(), Slic3r::Preset::setting_id, Slic3r::PresetCollection::type(), Slic3r::PresetConfigSubstitutions::UserFile, Slic3r::ConfigOptionSingle< T >::value, and Slic3r::Preset::version.
Referenced by import_json_presets(), and import_presets().
| PresetsConfigSubstitutions Slic3r::PresetBundle::import_presets | ( | std::vector< std::string > & | files, |
| std::function< int(std::string const &)> | override_confirm, | ||
| ForwardCompatibilitySubstitutionRule | rule, | ||
| AppConfig & | config ) |
References BUNDLE_STRUCTURE_JSON_NAME, Slic3r::BundleMetadata::bundle_type, bundles, Slic3r::data_dir(), DEFAULT_USER_FOLDER_NAME, Slic3r::encode_path(), Slic3r::AppConfig::get(), Slic3r::get_current_pid(), Slic3r::BundleMetadata::id, import_json_presets(), import_presets(), Slic3r::BundleMetadata::imported_time, Slic3r::is_json_file(), Slic3r::is_path_within_root(), Slic3r::BundleMetadata::load_from_json(), Slic3r::Local, Slic3r::BundleMetadata::path, PRESET_BUNDLE_METADATA, PRESET_LOCAL_DIR, PRESET_USER_DIR, printers, Slic3r::BundleMetadata::save_to_json(), Slic3r::to_string(), and update_user_presets_directory().
Referenced by import_presets().
|
private |
References PresetBundle(), count, Slic3r::PresetBundle::VendorParse::filament_entries, Slic3r::VendorCacheData::filament_entries, filaments, install_vendor(), install_vendor_entries(), m_config_maps, m_filament_id_maps, Slic3r::PresetBundle::VendorParse::machine_entries, Slic3r::VendorCacheData::machine_entries, ORCA_FILAMENT_LIBRARY, Slic3r::PresetBundle::VendorParse::process_entries, Slic3r::VendorCacheData::process_entries, and vendors.
Referenced by install_vendor(), install_vendor_cache(), and install_vendor_read().
|
private |
References PresetBundle(), clear_printer_hold_aliases(), install_vendor(), install_vendor_cache(), LoadSystem, m_config_maps, m_errors, m_filament_id_maps, reset(), and vendors.
Referenced by install_vendor_cache(), install_vendor_read(), and load_vendor_cache().
|
private |
References commit_vendor_preset(), Slic3r::failed_loading_error(), Slic3r::CachedPreset::includes, Slic3r::CachedPreset::inherits, install_vendor_entries(), log_errors(), m_errors, Slic3r::CachedPreset::name, Slic3r::Preset::name, Slic3r::resolve_then_commit(), and resolve_vendor_preset().
Referenced by install_vendor(), and install_vendor_entries().
|
private |
References PresetBundle(), Slic3r::failed_loading_error(), filaments, install_vendor(), install_vendor_cache(), install_vendor_read(), log_errors(), m_errors, parse_vendor_json(), printers, prints, Slic3r::VendorCacheFile::save(), sla_materials, sla_prints, and vendors.
Referenced by install_vendor_read(), and load_vendor_configs_from_json().
|
inline |
References get_current_vendor_type(), and Marlin_BBL.
Referenced by Slic3r::GUI::Plater::_calib_pa_pattern(), Slic3r::GUI::Plater::_calib_pa_pattern_gen_gcode(), Slic3r::GUI::MainFrame::create_side_tools(), Slic3r::GUI::Plater::export_3mf(), Slic3r::GUI::PartPlate::get_effective_exclusion_filament_maps(), Slic3r::GUI::Sidebar::priv::layout_printer(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::ArrangeJob::process(), Slic3r::GUI::FillBedJob::process(), Slic3r::BackgroundSlicingProcess::process_fff(), Slic3r::GUI::PartPlate::refresh_imex_icon(), Slic3r::GUI::PartPlate::register_raycasters_for_picking(), Slic3r::GUI::PartPlate::render_icons(), Slic3r::GUI::set_arrange_polygon_bed_exclusion_extruders(), Slic3r::GUI::PartPlate::set_shape(), Slic3r::GUI::Sidebar::should_show_SEMM_buttons(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_selection(), Slic3r::GUI::try_pop_up_before_slice(), Slic3r::GUI::Sidebar::update_all_preset_comboboxes(), Slic3r::GUI::Sidebar::update_presets(), use_bbl_device_tab(), and use_bbl_network().
| bool Slic3r::PresetBundle::is_mixed_filament | ( | size_t | idx | ) | const |
References is_mixed_filament(), and project_config.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), is_mixed_filament(), load_config_file_config(), and physical_filament_config_indices().
| bool Slic3r::PresetBundle::is_the_only_edited_filament | ( | unsigned int | filament_index | ) |
References filament_presets, filaments, is_the_only_edited_filament(), and Slic3r::Preset::name.
Referenced by is_the_only_edited_filament().
| std::vector< LegacyUserFilamentPreset > Slic3r::PresetBundle::legacy_user_filament_presets | ( | ) |
References filaments, Slic3r::legacy_compatible_printers(), and legacy_user_filament_presets().
Referenced by legacy_user_filament_presets().
| std::vector< std::string > Slic3r::PresetBundle::list_local_bundle_ids | ( | const std::string & | preset_folder | ) |
References bundles, Slic3r::check_local_bundle(), Slic3r::data_dir(), DEFAULT_USER_FOLDER_NAME, Slic3r::is_single_path_component(), list_local_bundle_ids(), PRESET_LOCAL_DIR, and PRESET_USER_DIR.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::list_bundle_ids(), and list_local_bundle_ids().
| ConfigSubstitutions Slic3r::PresetBundle::load_config_file | ( | const std::string & | path, |
| ForwardCompatibilitySubstitutionRule | compatibility_rule ) |
References config_from_gcode(), Slic3r::is_gcode_file(), L, load_config_file(), and load_config_file_config().
Referenced by load_config_file().
|
private |
References Slic3r::Preset::alias, Slic3r::PresetCollection::Always, ams_multi_color_filment, Slic3r::apply_mixed_config_relocations(), Slic3r::ConfigBase::apply_only(), Slic3r::apply_receiver_mix_relocations(), Slic3r::ConfigOptionVector< T >::clear(), Slic3r::PublishedMaterialEntry::color, Slic3r::Preset::compatible_printers_condition(), Slic3r::Preset::compatible_prints_condition(), Slic3r::Preset::config, convert_filament_preset_name(), Slic3r::coStrings, Slic3r::ConfigOptionVectorBase::empty(), extruder_ams_counts, Slic3r::ExtruderMax, Slic3r::filament_extruder_variant(), Slic3r::Preset::filament_id, Slic3r::PublishedMaterialEntry::filament_id, Slic3r::filament_ids(), Slic3r::filament_options_with_variant, filament_presets, Slic3r::PublishedMaterialEntry::filament_type, Slic3r::PublishedMaterialEntry::filament_vendor, filaments, Slic3r::PublishedMaterialEntry::full, Slic3r::PublishedMaterialEntry::full_keys, Slic3r::ConfigOptionVector< T >::get_at(), Slic3r::get_extruder_ams_count(), Slic3r::Preset::inherits(), Slic3r::Preset::is_compatible, is_mixed_filament(), Slic3r::ConfigOption::is_scalar(), Slic3r::ConfigOption::is_vector(), Slic3r::Preset::is_visible, Slic3r::PublishedMaterialEntry::keys, L, load_config_file_config(), Slic3r::make_publish_universal(), Slic3r::PublishedConfig::material_keys, Slic3r::PublishedConfig::material_replacements, Slic3r::PublishedMaterialEntry::mixed_placeholder, Slic3r::PublishedConfig::mixed_slot_relocations, Slic3r::PhysicalPrinter::name, Slic3r::Preset::name, Slic3r::PresetCollection::Never, Slic3r::Never, Slic3r::normalize_filament_type(), Slic3r::nozzle_diameter(), num_physical_filaments(), Slic3r::nvtStandard, Slic3r::PresetCollection::OnlyIfModified, Slic3r::DynamicConfig::opt(), Slic3r::DynamicConfig::opt_bool(), Slic3r::DynamicConfig::opt_string(), Slic3r::ConfigBase::option(), Slic3r::parse_mixed_components(), physical_printers, Slic3r::PublishedMaterialEntry::preset_name, Slic3r::PhysicalPrinter::preset_names, Slic3r::print_config_def, Slic3r::Preset::printer_options(), Slic3r::Preset::printer_technology(), Slic3r::printer_technology(), printers, prints, project_config, project_different_keys(), Slic3r::ptFFF, Slic3r::ptSLA, Slic3r::publish_base_key(), Slic3r::PublishedMaterialEntry::publish_color, Slic3r::publish_material_base_name(), Slic3r::publish_mixed_keys(), Slic3r::publish_structural_keys(), Slic3r::PublishedMaterialEntry::publish_type, Slic3r::PublishedMaterialEntry::publish_type_value, Slic3r::publishable_printer_keys(), Slic3r::PublishedConfig::published, Slic3r::PublishedConfig::published_keys, Slic3r::ConfigOptionVector< T >::resize(), Slic3r::ConfigOptionVectorBase::resize(), Slic3r::resize_mixed_filament_metadata(), Slic3r::s_project_options, Slic3r::s_project_options_published, Slic3r::Preset::save(), Slic3r::ConfigOptionVectorBase::set(), Slic3r::ConfigOptionVectorBase::set_at(), Slic3r::Preset::setting_id, Slic3r::PublishedMaterialEntry::setting_id, Slic3r::ConfigOptionVector< T >::size(), Slic3r::ConfigOptionVector< int >::size(), Slic3r::ConfigOptionVectorBase::size(), Slic3r::PublishedConfig::skipped_keys, Slic3r::PublishedMaterialEntry::slot, Slic3r::ConfigOption::type(), update_compatible(), update_multi_material_filament_presets(), Slic3r::ConfigOptionVector< T >::values, Slic3r::ConfigOptionVector< int >::values, and vendors.
Referenced by load_config_file(), load_config_file_config(), load_config_from_wizard(), and load_config_model().
|
inline |
References load_config_file_config().
Referenced by Slic3r::GUI::ConfigWizard::priv::apply_config().
|
inline |
References load_config_file_config().
Referenced by Slic3r::GUI::Plater::priv::load_files(), and Slic3r::GUI::Plater::load_gcode().
|
private |
References Slic3r::VendorProfile::PrinterModel::default_materials, filaments, Slic3r::AppConfig::get_section(), Slic3r::AppConfig::has_section(), Slic3r::is_compatible_with_printer(), Slic3r::Preset::is_system, load_installed_filaments(), printers, Slic3r::ptFFF, Slic3r::AppConfig::SECTION_FILAMENTS, Slic3r::AppConfig::set(), Slic3r::Preset::set_visible_from_appconfig(), Slic3r::PresetUtils::system_printer_model(), and Slic3r::Preset::vendor.
Referenced by load_installed_filaments(), and load_selections().
| void Slic3r::PresetBundle::load_installed_printers | ( | const AppConfig & | config | ) |
References load_installed_printers(), printers, Slic3r::Preset::set_visible_from_appconfig(), and update_system_maps().
Referenced by load_installed_printers(), load_selections(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers().
|
private |
References Slic3r::AppConfig::has_section(), Slic3r::is_compatible_with_printer(), load_installed_sla_materials(), printers, Slic3r::ptSLA, Slic3r::AppConfig::SECTION_MATERIALS, Slic3r::AppConfig::set(), Slic3r::Preset::set_visible_from_appconfig(), and sla_materials.
Referenced by load_installed_sla_materials(), and load_selections().
| PresetsConfigSubstitutions Slic3r::PresetBundle::load_presets | ( | AppConfig & | config, |
| ForwardCompatibilitySubstitutionRule | rule, | ||
| const PresetPreferences & | preferred_selection = PresetPreferences(), | ||
| std::string * | errors = nullptr, | ||
| bool | read_only = false ) |
References DEFAULT_USER_FOLDER_NAME, Slic3r::AppConfig::get(), load_presets(), load_selections(), load_system_presets_from_json(), load_user_presets(), m_errors, Slic3r::Never, normalize_compatible_presets(), Slic3r::PresetBundle::PresetPreferences::printer_model_id, set_calibrate_printer(), update_compatible(), update_multi_material_filament_presets(), and validation_mode.
Referenced by Slic3r::GUI::ConfigWizard::priv::apply_config(), apply_vendor_config(), load_presets(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers().
| PresetsConfigSubstitutions Slic3r::PresetBundle::load_project_embedded_presets | ( | std::vector< Preset * > | project_presets, |
| ForwardCompatibilitySubstitutionRule | substitution_rule ) |
References filaments, load_project_embedded_presets(), normalize_compatible_presets(), PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, printers, and prints.
Referenced by Slic3r::GUI::Plater::priv::load_files(), and load_project_embedded_presets().
| void Slic3r::PresetBundle::load_selections | ( | AppConfig & | config, |
| const PresetPreferences & | preferred_selection = PresetPreferences() ) |
References Slic3r::Always, Slic3r::btCount, Slic3r::btDefault, Slic3r::Preset::config, Slic3r::ConfigOptionEnumsGenericTempl< NULLABLE >::deserialize(), extruder_ams_counts, Slic3r::PresetBundle::PresetPreferences::filament, filament_presets, filaments, Slic3r::flush_volumes_matrix(), Slic3r::AppConfig::get(), Slic3r::get_extruder_ams_count(), Slic3r::AppConfig::get_nozzle_volume_types_from_config(), get_preset_name_by_alias(), Slic3r::AppConfig::get_printer_setting(), Slic3r::AppConfig::has_printer_setting(), Slic3r::Preset::is_visible, load_installed_filaments(), load_installed_printers(), load_installed_sla_materials(), Slic3r::load_mixed_filament_settings(), load_selections(), Slic3r::Preset::name, Slic3r::nvtStandard, Slic3r::DynamicConfig::opt_string(), Slic3r::ConfigBase::option(), ORCA_DEFAULT_FILAMENT_PLACEHOLDER, physical_printers, PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, Slic3r::PresetBundle::PresetPreferences::printer_model_id, Slic3r::printer_technology(), Slic3r::PresetBundle::PresetPreferences::printer_variant, printers, prints, project_config, Slic3r::ptFFF, Slic3r::ptSLA, Slic3r::remove_ini_suffix(), Slic3r::ConfigOptionVector< T >::resize(), Slic3r::AppConfig::set(), Slic3r::ConfigOptionVector< int >::size(), Slic3r::PresetBundle::PresetPreferences::sla_material, sla_materials, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_SLA_MATERIAL, update_compatible(), update_filament_count(), and update_multi_material_filament_presets().
Referenced by load_presets(), load_selections(), and Slic3r::GUI::GuideFrame::run().
|
private |
References PresetBundle(), load_source_vendor(), LoadSystem, m_source_vendor_bundles, and ORCA_FILAMENT_LIBRARY.
Referenced by load_source_vendor(), resolve_preset_config(), and resolve_system_preset().
| std::pair< PresetsConfigSubstitutions, std::string > Slic3r::PresetBundle::load_system_filaments_json | ( | ForwardCompatibilitySubstitutionRule | compatibility_rule | ) |
References PresetBundle(), Slic3r::append(), Slic3r::Disable, Slic3r::EnableSilent, Slic3r::EnableSilentDisableSystem, Slic3r::EnableSystemSilent, load_system_filaments_json(), load_vendor_configs_from_json(), LoadFilamentOnly, LoadSystem, merge_presets(), ORCA_FILAMENT_LIBRARY, Slic3r::resources_dir(), and Slic3r::vendor_names_in().
Referenced by Slic3r::GUI::load_filament_id_sources(), and load_system_filaments_json().
| std::pair< PresetsConfigSubstitutions, std::string > Slic3r::PresetBundle::load_system_models_from_json | ( | ForwardCompatibilitySubstitutionRule | compatibility_rule | ) |
References Slic3r::append(), Slic3r::Disable, Slic3r::EnableSilent, Slic3r::EnableSilentDisableSystem, Slic3r::EnableSystemSilent, load_system_models_from_json(), load_vendor_configs_from_json(), LoadVendorOnly, Slic3r::resources_dir(), and Slic3r::vendor_names_in().
Referenced by Slic3r::GUI::get_exist_vendor_choices(), and load_system_models_from_json().
|
private |
References Slic3r::data_dir(), Slic3r::Disable, Slic3r::EnableSilent, Slic3r::EnableSilentDisableSystem, Slic3r::EnableSystemSilent, load_system_presets_from_json(), load_vendors(), m_generate_vendor_caches, ORCA_FILAMENT_LIBRARY, PRESET_SYSTEM_DIR, update_system_maps(), validation_mode, Slic3r::vendor_names_in(), vendor_to_validate, and vendors.
Referenced by load_presets(), and load_system_presets_from_json().
| PresetsConfigSubstitutions Slic3r::PresetBundle::load_user_presets | ( | AppConfig & | config, |
| std::map< std::string, std::map< std::string, std::string > > & | my_presets, | ||
| ForwardCompatibilitySubstitutionRule | rule ) |
References BBL_JSON_KEY_INHERITS, BBL_JSON_KEY_TYPE, filaments, Slic3r::PresetCollection::load_user_preset(), load_user_presets(), Slic3r::Never, normalize_compatible_presets(), PRESET_IOT_FILAMENT_TYPE, PRESET_IOT_PRINT_TYPE, PRESET_IOT_PRINTER_TYPE, printers, prints, remove_users_preset(), set_calibrate_printer(), update_compatible(), update_multi_material_filament_presets(), and Slic3r::PresetOrigin::User.
| PresetsConfigSubstitutions Slic3r::PresetBundle::load_user_presets | ( | std::string | user, |
| ForwardCompatibilitySubstitutionRule | rule, | ||
| bool | read_only = false ) |
References Slic3r::BundleMetadata::bundle_type, bundles, Slic3r::data_dir(), dir_user_presets_local, filaments, Slic3r::BundleMetadata::id, Slic3r::BundleMetadata::is_subscribed, Slic3r::load_bundle_presets(), load_user_presets(), Slic3r::Local, Slic3r::PresetOrigin::LocalBundle, Slic3r::Never, Slic3r::BundleMetadata::path, PRESET_BUNDLE_METADATA, PRESET_FILAMENT_NAME, PRESET_LOCAL_DIR, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, PRESET_SUBSCRIBED_DIR, PRESET_USER_DIR, printers, prints, set_calibrate_printer(), Slic3r::Subscribed, Slic3r::PresetOrigin::SubscribedBundle, Slic3r::BundleMetadata::update_available, update_compatible(), update_multi_material_filament_presets(), and Slic3r::user_presets_lock_path().
Referenced by Slic3r::GUI::CreateFilamentPresetDialog::get_all_filament_presets(), Slic3r::GUI::load_filament_id_sources(), load_presets(), Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model(), load_user_presets(), and load_user_presets().
| bool Slic3r::PresetBundle::load_vendor_cache | ( | const std::string & | cache_path, |
| const std::string & | expected_vendor_name, | ||
| const Semver & | expected_vendor_version, | ||
| const PresetBundle * | base_bundle = nullptr ) |
References PresetBundle(), install_vendor_cache(), Slic3r::VendorCacheFile::load(), and load_vendor_cache().
Referenced by anonymous_namespace{profile_include_dump.cpp}::load_vendor(), and load_vendor_cache().
| std::pair< PresetsConfigSubstitutions, size_t > Slic3r::PresetBundle::load_vendor_configs_from_json | ( | const std::string & | dir, |
| const std::string & | vendor_name, | ||
| LoadConfigBundleAttributes | flags, | ||
| ForwardCompatibilitySubstitutionRule | compatibility_rule, | ||
| const PresetBundle * | base_bundle = nullptr, | ||
| bool | allow_cache = true ) |
References PresetBundle(), install_vendor_read(), load_vendor_configs_from_json(), and read_vendor().
Referenced by Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model(), load_system_filaments_json(), load_system_models_from_json(), anonymous_namespace{profile_include_dump.cpp}::load_vendor(), and load_vendor_configs_from_json().
| std::pair< PresetsConfigSubstitutions, std::string > Slic3r::PresetBundle::load_vendors | ( | const std::vector< VendorSource > & | vendors, |
| ForwardCompatibilitySubstitutionRule | compatibility_rule, | ||
| bool | allow_cache, | ||
| const std::atomic< bool > * | cancel = nullptr, | ||
| std::vector< std::string > * | failed = nullptr ) |
References Slic3r::PresetBundle::VendorSource::dir, load(), load_vendors(), Slic3r::PresetBundle::VendorSource::name, ORCA_FILAMENT_LIBRARY, Slic3r::range(), validation_mode, and vendors.
Referenced by Slic3r::GUI::GuideFrame::BuildProfileDataFromVendors(), load_system_presets_from_json(), and load_vendors().
|
private |
References log_errors(), and m_errors.
Referenced by commit_vendor_preset(), install_vendor_entries(), install_vendor_read(), and log_errors().
|
inline |
References Slic3r::ptFFF.
|
inline |
References Slic3r::ptFFF.
|
private |
References PresetBundle(), Slic3r::append(), filaments, m_errors, merge_presets(), obsolete_presets, printers, prints, sla_materials, sla_prints, and vendors.
Referenced by load_system_filaments_json(), and merge_presets().
| PresetBundle::LegacyUserFilamentPresetMigration Slic3r::PresetBundle::migrate_legacy_user_filament_presets | ( | const std::vector< LegacyUserFilamentPreset > & | legacy_presets | ) |
References Slic3r::PresetBundle::LegacyUserFilamentPresetMigration::backup, backup_user_folder_to_zip(), Slic3r::data_dir(), Slic3r::PresetBundle::LegacyUserFilamentPresetMigration::failed, filaments, Slic3r::Utils::iso8601Z, Slic3r::InstanceLock::locked(), Slic3r::PresetBundle::LegacyUserFilamentPresetMigration::locked, migrate_legacy_user_filament_presets(), Slic3r::Utils::time2str(), Slic3r::user_presets_lock_path(), Slic3r::Utils::utc, and Slic3r::PresetCollection::write_legacy_user_filament_preset().
Referenced by migrate_legacy_user_filament_presets().
|
private |
References get_printer_extruder_count(), min_filament_count(), and printers.
Referenced by min_filament_count(), update_filament_count(), and update_multi_material_filament_presets().
| void Slic3r::PresetBundle::normalize_compatible_presets | ( | ) |
References filaments, Slic3r::normalize_compatible_field(), normalize_compatible_presets(), printers, prints, sla_materials, and sla_prints.
Referenced by load_presets(), load_project_embedded_presets(), load_user_presets(), normalize_compatible_presets(), and update_subscribed_presets().
| size_t Slic3r::PresetBundle::num_mixed_filaments | ( | ) | const |
References num_mixed_filaments(), project_config, and Slic3r::ConfigOptionVector< T >::size().
Referenced by num_mixed_filaments(), and num_physical_filaments().
| size_t Slic3r::PresetBundle::num_physical_filaments | ( | ) | const |
References num_mixed_filaments(), num_physical_filaments(), project_config, and Slic3r::ConfigOptionVector< T >::values.
Referenced by load_config_file_config(), and num_physical_filaments().
| void Slic3r::PresetBundle::on_extruders_count_changed | ( | int | extruder_count | ) |
References extruder_ams_counts, on_extruders_count_changed(), printers, reset_default_nozzle_volume_type(), and update_multi_material_filament_presets().
Referenced by on_extruders_count_changed().
| PresetBundle & Slic3r::PresetBundle::operator= | ( | const PresetBundle & | rhs | ) |
References PresetBundle(), filament_presets, filaments, m_errors, obsolete_presets, operator=(), physical_printers, printers, prints, project_config, sla_materials, sla_prints, and vendors.
Referenced by operator=().
|
private |
References BBL_JSON_KEY_BED_MODEL, BBL_JSON_KEY_BED_TEXTURE, BBL_JSON_KEY_BOTTOM_TEXTURE_END_NAME, BBL_JSON_KEY_BOTTOM_TEXTURE_RECT, BBL_JSON_KEY_BOTTOM_TEXTURE_RECT_LONGER, BBL_JSON_KEY_DEFAULT_MATERIALS, BBL_JSON_KEY_DESCRIPTION, BBL_JSON_KEY_FAMILY, BBL_JSON_KEY_FILAMENT_ID, BBL_JSON_KEY_FILAMENT_LIST, BBL_JSON_KEY_HOTEND_MODEL, BBL_JSON_KEY_IMAGE_BED_TYPE, BBL_JSON_KEY_INCLUDES, BBL_JSON_KEY_INHERITS, BBL_JSON_KEY_INSTANTIATION, BBL_JSON_KEY_MACHINE_LIST, BBL_JSON_KEY_MACHINE_MODEL_LIST, BBL_JSON_KEY_MIDDLE_TEXTURE_RECT, BBL_JSON_KEY_MODEL_ID, BBL_JSON_KEY_NAME, BBL_JSON_KEY_NOT_SUPPORT_BED_TYPE, BBL_JSON_KEY_NOZZLE_DIAMETER, BBL_JSON_KEY_PRINTER_TECH, BBL_JSON_KEY_PROCESS_LIST, BBL_JSON_KEY_SETTING_ID, BBL_JSON_KEY_SUB_PATH, BBL_JSON_KEY_URL, BBL_JSON_KEY_USE_DOUBLE_EXTRUDER_DEFAULT_TEXTURE, BBL_JSON_KEY_VERSION, Slic3r::VendorProfile::PrinterModel::bed_model, Slic3r::VendorProfile::PrinterModel::bed_texture, Slic3r::VendorProfile::PrinterModel::bottom_texture_end_name, Slic3r::VendorProfile::PrinterModel::bottom_texture_rect, Slic3r::VendorProfile::PrinterModel::bottom_texture_rect_longer, Slic3r::VendorProfile::config_update_url, Slic3r::VendorProfile::config_version, Slic3r::VendorProfile::PrinterModel::default_materials, Slic3r::VendorProfile::PrinterModel::family, Slic3r::enum_bitmask< option_type, typename >::has(), Slic3r::VendorProfile::PrinterModel::hotend_model, Slic3r::VendorProfile::id, Slic3r::VendorProfile::PrinterModel::id, Slic3r::VendorProfile::PrinterModel::image_bed_type, L, LoadFilamentOnly, LoadVendorOnly, m_errors, m_generate_vendor_caches, Slic3r::VendorProfile::PrinterModel::middle_texture_rect, Slic3r::VendorProfile::PrinterModel::model_id, Slic3r::VendorProfile::models, Slic3r::VendorProfile::name, Slic3r::VendorProfile::PrinterModel::name, Slic3r::VendorProfile::PrinterModel::not_support_bed_types, ORCA_JSON_KEY_RENAMED_FROM, Slic3r::Semver::parse(), parse_vendor_json(), Slic3r::ptFFF, Slic3r::ptSLA, Slic3r::sort_remove_duplicates(), Slic3r::VendorProfile::PrinterModel::technology, Slic3r::Semver::to_string(), Slic3r::unescape_strings_cstyle(), Slic3r::VendorProfile::PrinterModel::use_double_extruder_default_texture, Slic3r::Semver::valid(), Slic3r::VendorProfile::PrinterModel::variant(), Slic3r::VendorProfile::PrinterModel::variants, and vendors.
Referenced by install_vendor_read(), parse_vendor_json(), and read_vendor().
| std::vector< size_t > Slic3r::PresetBundle::physical_filament_config_indices | ( | ) | const |
References filament_presets, is_mixed_filament(), and physical_filament_config_indices().
Referenced by physical_filament_config_indices().
|
static |
References Slic3r::ignore_settings_list, project_different_keys(), and Slic3r::unescape_strings_cstyle().
Referenced by load_config_file_config(), project_different_keys(), and Slic3r::CLI::run().
|
private |
References Slic3r::get_version_from_json(), Slic3r::enum_bitmask< option_type, typename >::has(), Slic3r::Semver::inf(), Slic3r::VendorCacheFile::load(), Slic3r::VendorCacheFile::load_vendor_profile(), LoadFilamentOnly, LoadSystem, LoadVendorOnly, m_errors, parse_vendor_json(), read_vendor(), reset(), ResetUserProfile, SaveImported, validation_mode, and vendors.
Referenced by load_vendor_configs_from_json(), and read_vendor().
| bool Slic3r::PresetBundle::reload_local_bundle | ( | const std::string & | preset_folder, |
| const std::string & | bundle_id, | ||
| std::string * | error = nullptr ) |
References PresetBundle(), Slic3r::Always, Slic3r::ConfigBase::apply_only(), Slic3r::Preset::bundle_id, Slic3r::BundleMetadata::bundle_type, bundles, calibrate_filaments, calibrate_printer, Slic3r::check_local_bundle(), Slic3r::Preset::config, Slic3r::PresetCollection::current_dirty_options(), Slic3r::data_dir(), DEFAULT_USER_FOLDER_NAME, dir_user_presets_local, Slic3r::PresetCollection::dirty_options(), Slic3r::Enable, Slic3r::DynamicConfig::erase(), Slic3r::PresetCollection::error_count(), filament_presets, filaments, Slic3r::PresetCollection::find_preset(), Slic3r::PresetCollection::first_compatible(), Slic3r::PresetCollection::first_visible_idx(), Slic3r::PresetCollection::get_edited_preset(), Slic3r::PresetCollection::get_preset_parent(), Slic3r::PresetCollection::get_presets(), Slic3r::PresetCollection::get_selected_preset_name(), Slic3r::is_single_path_component(), Slic3r::BundleMetadata::is_subscribed, Slic3r::load_bundle_presets(), Slic3r::Local, Slic3r::PresetOrigin::LocalBundle, Slic3r::PresetCollection::m_edited_preset, Slic3r::PresetCollection::m_idx_selected, Slic3r::PresetCollection::m_map_alias_to_profile_name, Slic3r::PresetCollection::m_num_default_presets, Slic3r::PresetCollection::m_presets, Slic3r::PresetCollection::m_saved_preset, Slic3r::Preset::name, Slic3r::Never, Slic3r::OnlyIfWasCompatible, Slic3r::ConfigBase::option(), Slic3r::BundleMetadata::path, PRESET_BUNDLE_METADATA, PRESET_LOCAL_DIR, PRESET_USER_DIR, Slic3r::Preset::printer_technology(), printers, prints, project_config, Slic3r::ptFFF, reload_local_bundle(), restore_selection(), Slic3r::PresetCollection::select_preset(), Slic3r::PresetCollection::select_preset_by_name(), selection(), set_calibrate_printer(), Slic3r::DynamicConfig::set_key_value(), Slic3r::PresetCollection::size(), Slic3r::PresetCollection::sort_presets(), Slic3r::Subscribed, Slic3r::Preset::TYPE_INVALID, Slic3r::BundleMetadata::update_available, update_compatible(), Slic3r::PresetCollection::update_dirty(), Slic3r::PresetCollection::update_map_alias_to_profile_name(), and update_multi_material_filament_presets().
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::reload_local_bundle(), and reload_local_bundle().
| void Slic3r::PresetBundle::remove_user_presets_directory | ( | const std::string | preset_folder | ) |
References Slic3r::data_dir(), PRESET_USER_DIR, remove_user_presets_directory(), and Slic3r::user_presets_lock_path().
Referenced by remove_user_presets_directory().
| void Slic3r::PresetBundle::remove_users_preset | ( | AppConfig & | config, |
| std::map< std::string, std::map< std::string, std::string > > * | my_presets = nullptr ) |
References Slic3r::Always, filament_presets, filaments, Slic3r::AppConfig::get(), Slic3r::Preset::get_type_string(), Slic3r::Preset::is_dirty, Slic3r::Preset::name, ORCA_DEFAULT_PRINTER_MODEL, printers, prints, Slic3r::Preset::remove_files(), remove_users_preset(), Slic3r::Preset::setting_id, Slic3r::Preset::sync_info, and update_compatible().
Referenced by load_user_presets(), and remove_users_preset().
| void Slic3r::PresetBundle::reset | ( | bool | delete_files | ) |
References filament_presets, filaments, obsolete_presets, printers, prints, reset(), sla_materials, sla_prints, and vendors.
Referenced by install_vendor_cache(), read_vendor(), and reset().
| void Slic3r::PresetBundle::reset_default_nozzle_volume_type | ( | ) |
References Slic3r::Preset::config, Slic3r::ConfigBase::option(), printers, project_config, and reset_default_nozzle_volume_type().
Referenced by on_extruders_count_changed(), reset_default_nozzle_volume_type(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config().
| void Slic3r::PresetBundle::reset_project_embedded_presets | ( | ) |
References Slic3r::Preset::config, filament_presets, filaments, Slic3r::Preset::is_visible, Slic3r::Never, Slic3r::ConfigBase::option(), printers, prints, reset_project_embedded_presets(), and update_compatible().
Referenced by reset_project_embedded_presets().
| bool Slic3r::PresetBundle::resolve_preset_config | ( | DynamicPrintConfig & | config, |
| Preset::Type | type, | ||
| const std::string & | source_file, | ||
| ForwardCompatibilitySubstitutionRule | compatibility_rule, | ||
| std::string & | error, | ||
| bool | allow_source_manifest = true ) |
References PresetBundle(), Slic3r::Preset::config, Slic3r::Disable, Slic3r::EnableSilent, Slic3r::EnableSilentDisableSystem, Slic3r::EnableSystemSilent, filaments, Slic3r::Preset::file, Slic3r::PresetCollection::get_presets(), load_source_vendor(), printers, prints, resolve_preset_config(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, and Slic3r::Preset::TYPE_PRINTER.
Referenced by resolve_preset_config(), resolve_preset_config_type(), and Slic3r::CLI::run().
| bool Slic3r::PresetBundle::resolve_preset_config_type | ( | DynamicPrintConfig & | config, |
| Preset::Type & | type, | ||
| const std::string & | source_file, | ||
| ForwardCompatibilitySubstitutionRule | compatibility_rule, | ||
| std::string & | error, | ||
| bool | allow_source_manifest = true ) |
References Slic3r::ptFFF, resolve_preset_config(), resolve_preset_config_type(), and types_list().
Referenced by resolve_preset_config_type(), and Slic3r::CLI::run().
| bool Slic3r::PresetBundle::resolve_system_preset | ( | DynamicPrintConfig & | config, |
| Preset::Type | type, | ||
| const std::string & | name, | ||
| ForwardCompatibilitySubstitutionRule | compatibility_rule, | ||
| std::string & | error ) |
References PresetBundle(), Slic3r::Preset::config, Slic3r::data_dir(), filaments, Slic3r::PresetCollection::find_preset(), find_preset_vendor(), load_source_vendor(), PRESET_PROFILES_DIR, PRESET_SYSTEM_DIR, printers, prints, resolve_system_preset(), Slic3r::resources_dir(), Slic3r::Preset::TYPE_PRINT, and Slic3r::Preset::TYPE_PRINTER.
Referenced by resolve_system_preset().
|
private |
References PresetBundle(), Slic3r::PresetBundle::PresetInstall::alias, Slic3r::ConfigBase::apply(), Slic3r::Preset::config, Slic3r::PresetBundle::PresetInstall::config, Slic3r::PresetBundle::PresetInstall::config_only, Slic3r::CachedPreset::config_src, Slic3r::data_dir(), Slic3r::PresetCollection::default_preset_for(), Slic3r::DynamicConfig::diff(), Slic3r::PresetBundle::PresetInstall::errors, Slic3r::extend_default_config_length(), Slic3r::CachedPreset::filament_id, Slic3r::PresetBundle::PresetInstall::filament_id, Slic3r::PresetBundle::PresetInstall::file_path, Slic3r::ConfigOptionResolver::has(), Slic3r::PresetBundle::PresetInstall::included, Slic3r::CachedPreset::includes, Slic3r::CachedPreset::inherits, Slic3r::CachedPreset::instantiation, m_config_maps, m_filament_id_maps, m_preserve_vendor_source_paths, Slic3r::VendorProfile::models, Slic3r::CachedPreset::name, Slic3r::Preset::normalize(), Slic3r::DynamicConfig::opt_string(), Slic3r::ConfigBase::option(), PRESET_SYSTEM_DIR, Slic3r::PresetBundle::PresetInstall::reason, Slic3r::Preset::remove_invalid_keys(), Slic3r::CachedPreset::renamed_from, Slic3r::PresetBundle::PresetInstall::renamed_from, resolve_vendor_preset(), Slic3r::PresetBundle::PresetInstall::retained, Slic3r::string_to_double_decimal_point(), Slic3r::CachedPreset::sub_path, Slic3r::PresetCollection::type(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINTER, and validation_mode.
Referenced by install_vendor_entries(), and resolve_vendor_preset().
| void Slic3r::PresetBundle::restore_selection | ( | const Selection & | selection | ) |
References Slic3r::Preset::config, extruder_ams_counts, filament_presets, filaments, Slic3r::PresetCollection::get_edited_preset(), Slic3r::PresetCollection::m_presets, Slic3r::PresetCollection::m_saved_preset, Slic3r::Never, printers, prints, project_config, Slic3r::PresetCollection::reset_project_embedded_presets(), restore_selection(), Slic3r::PresetCollection::select_preset_by_name(), selection(), update_compatible(), Slic3r::PresetCollection::update_dirty(), and update_multi_material_filament_presets().
Referenced by Slic3r::GUI::Plater::load_gcode(), reload_local_bundle(), and restore_selection().
| void Slic3r::PresetBundle::save_changes_for_preset | ( | const std::string & | new_name, |
| Preset::Type | type, | ||
| const std::vector< std::string > & | unselected_options, | ||
| bool | save_to_project = false ) |
References Slic3r::ConfigBase::apply_only(), Slic3r::Preset::config, filaments, Slic3r::PresetCollection::get_edited_preset(), Slic3r::PresetCollection::get_selected_preset(), Slic3r::Never, printers, prints, save_changes_for_preset(), Slic3r::PresetCollection::save_current_preset(), set_filament_preset(), sla_materials, sla_prints, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_SLA_MATERIAL, Slic3r::Preset::TYPE_SLA_PRINT, and update_compatible().
Referenced by save_changes_for_preset().
|
private |
References Slic3r::Preset::base_id, Slic3r::Preset::bundle_id, Slic3r::Preset::config, Slic3r::Preset::filament_id, Slic3r::Preset::file, Slic3r::PresetCollection::find_preset2(), Slic3r::Preset::inherits(), Slic3r::PresetCollection::m_dir_path, Slic3r::Preset::name, Slic3r::Preset::normalize_inherits(), Slic3r::Preset::save(), save_preset_to_bundle_dir(), and Slic3r::Preset::setting_id.
Referenced by import_json_presets(), save_preset_to_bundle_dir(), and update_subscribed_presets().
| void Slic3r::PresetBundle::save_user_presets | ( | AppConfig & | config, |
| std::map< std::string, std::string > & | need_to_delete_list ) |
References Slic3r::data_dir(), DEFAULT_USER_FOLDER_NAME, filaments, Slic3r::AppConfig::get(), PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, PRESET_USER_DIR, printers, prints, and save_user_presets().
Referenced by save_user_presets().
| std::optional< PresetBundle::Selection > Slic3r::PresetBundle::selection | ( | ) | const |
References Slic3r::Preset::config, extruder_ams_counts, filament_presets, filaments, Slic3r::PresetCollection::get_edited_preset(), Slic3r::PresetCollection::get_selected_preset_name(), Slic3r::Preset::is_visible, Slic3r::PresetCollection::m_presets, Slic3r::PresetCollection::m_saved_preset, printers, prints, project_config, and selection().
Referenced by Slic3r::GUI::Plater::load_gcode(), reload_local_bundle(), restore_selection(), and selection().
| void Slic3r::PresetBundle::set_calibrate_printer | ( | std::string | name | ) |
References calibrate_filaments, calibrate_printer, Slic3r::Preset::config, filaments, Slic3r::is_compatible_with_printer(), Slic3r::Preset::name, Slic3r::ConfigBase::option(), Slic3r::PresetWithVendorProfile::preset, printers, set_calibrate_printer(), and Slic3r::DynamicConfig::set_key_value().
Referenced by load_presets(), load_user_presets(), load_user_presets(), reload_local_bundle(), set_calibrate_printer(), Slic3r::GUI::CalibrationPresetPage::update_combobox_filaments(), and update_subscribed_presets().
| void Slic3r::PresetBundle::set_default_suppressed | ( | bool | default_suppressed | ) |
References filaments, printers, prints, set_default_suppressed(), sla_materials, and sla_prints.
Referenced by set_default_suppressed().
| void Slic3r::PresetBundle::set_filament_preset | ( | size_t | idx, |
| const std::string & | name ) |
References filament_presets, Slic3r::Preset::remove_suffix_modified(), and set_filament_preset().
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), save_changes_for_preset(), set_filament_preset(), and Slic3r::GUI::Sidebar::update_presets().
|
inline |
References m_generate_vendor_caches.
Referenced by anonymous_namespace{profile_include_dump.cpp}::load_vendor().
|
inline |
References validation_mode.
Referenced by anonymous_namespace{profile_include_dump.cpp}::load_vendor(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers().
| void Slic3r::PresetBundle::set_num_filaments | ( | unsigned int | n, |
| std::string | new_col = "" ) |
References ams_multi_color_filment, Slic3r::filament_map(), Slic3r::filament_nozzle_map(), filament_presets, Slic3r::nvtStandard, project_config, Slic3r::ConfigOptionVector< T >::resize(), Slic3r::resize_mixed_filament_metadata(), set_num_filaments(), update_multi_material_filament_presets(), and Slic3r::ConfigOptionVector< T >::values.
Referenced by set_num_filaments(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config().
|
inline |
References vendor_to_validate.
Referenced by anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers().
| void Slic3r::PresetBundle::setup_directories | ( | ) |
References Slic3r::data_dir(), L, PRESET_SYSTEM_DIR, PRESET_USER_DIR, and setup_directories().
Referenced by setup_directories().
| bool Slic3r::PresetBundle::support_different_extruders | ( | ) | const |
References Slic3r::Preset::config, printers, Slic3r::DynamicPrintConfig::support_different_extruders(), and support_different_extruders().
Referenced by support_different_extruders(), and Slic3r::GUI::Sidebar::update_presets().
| unsigned int Slic3r::PresetBundle::sync_ams_list | ( | std::vector< std::pair< DynamicPrintConfig *, std::string > > & | unknowns, |
| bool | use_map, | ||
| std::map< int, AMSMapInfo > & | maps, | ||
| bool | enable_append, | ||
| MergeFilamentInfo & | merge_info, | ||
| bool | color_only = false ) |
References ams_multi_color_filment, Slic3r::empty(), Slic3r::f(), filament_ams_list, Slic3r::filament_map(), filament_presets, Slic3r::filament_type(), filaments, get_printer_extruder_count(), L, MAXIMUM_AMS_SYNC_FILAMENT_NUMBER, Slic3r::MergeFilamentInfo::merges, Slic3r::nvtStandard, prints, project_config, Slic3r::ConfigOptionVector< T >::size(), Slic3r::ConfigOptionVector< unsigned char >::size(), Slic3r::split_string(), sync_ams_list(), update_filament_multi_color(), update_multi_material_filament_presets(), Slic3r::ConfigOptionSingle< T >::value, Slic3r::ConfigOptionVector< T >::values, Slic3r::ConfigOptionVector< unsigned char >::values, and Slic3r::warn_ambiguous_filament_id_match().
Referenced by sync_ams_list().
|
inlinestatic |
References Slic3r::ptFFF, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, Slic3r::Preset::TYPE_SLA_MATERIAL, and Slic3r::Preset::TYPE_SLA_PRINT.
Referenced by resolve_preset_config_type(), and Slic3r::GUI::DiffPresetDialog::types_list().
|
inline |
References update_compatible().
Referenced by update_compatible().
| void Slic3r::PresetBundle::update_compatible | ( | PresetSelectCompatibleType | select_other_print_if_incompatible, |
| PresetSelectCompatibleType | select_other_filament_if_incompatible ) |
References Slic3r::Preset::alias, Slic3r::Always, Slic3r::Preset::config, filament_presets, filaments, Slic3r::ConfigOptionResolver::has(), Slic3r::Preset::is_compatible, Slic3r::Preset::is_default, Slic3r::Preset::is_external, Slic3r::Preset::is_visible, Slic3r::Preset::name, Slic3r::Never, Slic3r::DynamicConfig::opt_float(), Slic3r::DynamicConfig::opt_string(), Slic3r::ConfigBase::option(), Slic3r::Preset::printer_technology(), printers, prints, Slic3r::ptFFF, Slic3r::ptSLA, sla_materials, sla_prints, and update_compatible().
Referenced by Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), Slic3r::GUI::ExportConfigsDialog::data_init(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), load_config_file_config(), load_presets(), load_selections(), Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model(), load_user_presets(), load_user_presets(), reload_local_bundle(), remove_users_preset(), reset_project_embedded_presets(), restore_selection(), save_changes_for_preset(), Slic3r::GUI::Tab::select_preset(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), Slic3r::GUI::DiffPresetDialog::update_compatibility(), update_compatible(), update_selections(), and update_subscribed_presets().
| void Slic3r::PresetBundle::update_filament_count | ( | ) |
References filament_presets, filaments, min_filament_count(), printers, Slic3r::ptFFF, and update_filament_count().
Referenced by load_selections(), update_filament_count(), and update_selections().
|
private |
References ams_multi_color_filment, project_config, Slic3r::ConfigOptionVector< T >::resize(), update_filament_multi_color(), and Slic3r::ConfigOptionVector< T >::values.
Referenced by sync_ams_list(), and update_filament_multi_color().
| void Slic3r::PresetBundle::update_multi_material_filament_presets | ( | size_t | to_delete_filament_id = size_t(-1) | ) |
References EPSILON, filament_presets, filaments, get_printer_extruder_count(), min_filament_count(), printers, project_config, Slic3r::ptFFF, and update_multi_material_filament_presets().
Referenced by load_config_file_config(), load_presets(), load_selections(), load_user_presets(), load_user_presets(), on_extruders_count_changed(), reload_local_bundle(), restore_selection(), set_num_filaments(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), sync_ams_list(), update_multi_material_filament_presets(), update_num_filaments(), update_selections(), and update_subscribed_presets().
| void Slic3r::PresetBundle::update_num_filaments | ( | unsigned int | to_del_flament_id | ) |
References ams_multi_color_filment, Slic3r::filament_map(), Slic3r::filament_nozzle_map(), filament_presets, filaments, Slic3r::Preset::name, Slic3r::nvtStandard, project_config, Slic3r::remap_mixed_components_on_delete(), update_multi_material_filament_presets(), update_num_filaments(), Slic3r::ConfigOptionVector< T >::values, and Slic3r::ConfigOptionVector< unsigned char >::values.
Referenced by update_num_filaments().
| void Slic3r::PresetBundle::update_selections | ( | AppConfig & | config | ) |
References Slic3r::Always, extruder_ams_counts, filament_presets, filaments, Slic3r::flush_volumes_matrix(), Slic3r::get_extruder_ams_count(), Slic3r::AppConfig::get_printer_setting(), Slic3r::AppConfig::has_printer_setting(), Slic3r::load_mixed_filament_settings(), Slic3r::nvtStandard, ORCA_DEFAULT_FILAMENT_PLACEHOLDER, PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, printers, prints, project_config, Slic3r::remove_ini_suffix(), Slic3r::ConfigOptionVector< T >::resize(), update_compatible(), update_filament_count(), update_multi_material_filament_presets(), and update_selections().
Referenced by update_selections().
| PresetsConfigSubstitutions Slic3r::PresetBundle::update_subscribed_presets | ( | AppConfig & | config, |
| const std::map< std::string, std::map< std::string, std::string > > & | bundle_presets, | ||
| const BundleMetadata & | remote_metadata, | ||
| ForwardCompatibilitySubstitutionRule | rule ) |
References Slic3r::BundleMetadata::author, BBL_JSON_KEY_INHERITS, BBL_JSON_KEY_TYPE, Slic3r::Preset::bundle_id, Slic3r::BundleMetadata::bundle_type, bundles, Slic3r::data_dir(), DEFAULT_USER_FOLDER_NAME, Slic3r::PresetCollection::delete_preset(), Slic3r::BundleMetadata::description, dir_user_presets_subscribed, Slic3r::BundleMetadata::filament_presets, filaments, Slic3r::PresetCollection::find_preset(), Slic3r::AppConfig::get(), Slic3r::get_preset_canonical_name(), Slic3r::PresetCollection::get_presets(), Slic3r::BundleMetadata::id, Slic3r::BundleMetadata::imported_time, Slic3r::Preset::is_from_bundle(), Slic3r::BundleMetadata::is_subscribed, Slic3r::PresetCollection::load_user_preset(), Slic3r::BundleMetadata::name, Slic3r::Preset::name, Slic3r::Never, normalize_compatible_presets(), Slic3r::BundleMetadata::path, PRESET_BUNDLE_METADATA, PRESET_FILAMENT_NAME, PRESET_IOT_FILAMENT_TYPE, PRESET_IOT_PRINT_TYPE, PRESET_IOT_PRINTER_TYPE, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, PRESET_SUBSCRIBED_DIR, PRESET_USER_DIR, Slic3r::BundleMetadata::print_presets, Slic3r::BundleMetadata::printer_presets, printers, prints, save_preset_to_bundle_dir(), set_calibrate_printer(), Slic3r::Subscribed, Slic3r::PresetOrigin::SubscribedBundle, Slic3r::BundleMetadata::unauthorized, Slic3r::BundleMetadata::update_available, update_compatible(), update_multi_material_filament_presets(), update_subscribed_presets(), Slic3r::BundleMetadata::updated_time, and Slic3r::BundleMetadata::version.
Referenced by update_subscribed_presets().
|
private |
References filaments, printers, prints, sla_materials, sla_prints, and update_system_maps().
Referenced by load_installed_printers(), load_system_presets_from_json(), and update_system_maps().
| void Slic3r::PresetBundle::update_system_preset_setting_ids | ( | std::map< std::string, std::map< std::string, std::string > > & | system_presets | ) |
References BBL_JSON_KEY_SETTING_ID, BBL_JSON_KEY_TYPE, Slic3r::PresetCollection::find_preset(), m_errors, Slic3r::Preset::name, PRESET_IOT_PRINTER_TYPE, printers, Slic3r::Preset::setting_id, and update_system_preset_setting_ids().
Referenced by update_system_preset_setting_ids().
| void Slic3r::PresetBundle::update_user_presets_directory | ( | const std::string | preset_folder | ) |
References Slic3r::data_dir(), filaments, PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, PRESET_USER_DIR, printers, prints, and update_user_presets_directory().
Referenced by import_presets(), and update_user_presets_directory().
| bool Slic3r::PresetBundle::use_bbl_device_tab | ( | ) |
References is_bbl_vendor(), printers, use_bbl_device_tab(), and use_bbl_network().
Referenced by Slic3r::GUI::MainFrame::load_printer_url(), Slic3r::GUI::Sidebar::update_all_preset_comboboxes(), and use_bbl_device_tab().
| bool Slic3r::PresetBundle::use_bbl_network | ( | ) |
References is_bbl_vendor(), printers, and use_bbl_network().
Referenced by Slic3r::GUI::Plater::priv::on_action_print_all(), Slic3r::GUI::Plater::priv::on_action_print_plate(), Slic3r::GUI::Sidebar::update_all_preset_comboboxes(), Slic3r::GUI::Sidebar::update_presets(), use_bbl_device_tab(), and use_bbl_network().
| int Slic3r::PresetBundle::validate_presets | ( | const std::string & | file_name, |
| DynamicPrintConfig & | config, | ||
| std::set< std::string > & | different_gcodes ) |
References filaments, Slic3r::gcodes_key_set, Slic3r::ConfigBase::option(), printers, Slic3r::unescape_strings_cstyle(), validate_presets(), VALIDATE_PRESETS_FILAMENTS_NOT_FOUND, VALIDATE_PRESETS_MODIFIED_GCODES, VALIDATE_PRESETS_PRINTER_NOT_FOUND, and VALIDATE_PRESETS_SUCCESS.
Referenced by Slic3r::GUI::Plater::priv::load_files(), and validate_presets().
| std::vector<std::vector<std::string> > Slic3r::PresetBundle::ams_multi_color_filment |
| PresetBundleMetadata Slic3r::PresetBundle::bundles |
Referenced by import_presets(), list_local_bundle_ids(), load_user_presets(), reload_local_bundle(), and update_subscribed_presets().
| std::set<Preset const *> Slic3r::PresetBundle::calibrate_filaments |
Referenced by reload_local_bundle(), and set_calibrate_printer().
Referenced by reload_local_bundle(), and set_calibrate_printer().
| boost::filesystem::path Slic3r::PresetBundle::dir_user_presets_local |
Referenced by load_user_presets(), and reload_local_bundle().
| boost::filesystem::path Slic3r::PresetBundle::dir_user_presets_subscribed |
Referenced by update_subscribed_presets().
| std::vector<std::map<int, int> > Slic3r::PresetBundle::extruder_ams_counts |
Referenced by Slic3r::GUI::Plater::priv::check_ams_status_impl(), export_selections(), full_fff_config(), Slic3r::GUI::AMSCountPopupWindow::GetAMSCount(), load_config_file_config(), load_selections(), on_extruders_count_changed(), restore_selection(), selection(), Slic3r::GUI::AMSCountPopupWindow::SetAMSCount(), and update_selections().
| std::map<int, DynamicPrintConfig> Slic3r::PresetBundle::filament_ams_list |
Referenced by get_ams_cobox_infos(), get_extruder_filament_info(), and sync_ams_list().
| std::vector<std::string> Slic3r::PresetBundle::filament_presets |
Referenced by apply_vendor_config(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::GUI::PublishSettingsDialog::build_option_model(), Slic3r::GUI::GLGizmoTextureDisplacement::cached_palette(), Slic3r::capabilities_in_use(), Slic3r::GUI::collect_imex_warnings(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::PresetTransaction::commit(), construct_full_config(), Slic3r::GUI::EditFilamentPresetDialog::create_dialog_buttons(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::current_filament_presets(), export_current_configs(), export_selections(), Slic3r::GUI::find_decompose_standard_preset_name(), full_fff_config(), get_ams_cobox_infos(), get_current_project_embedded_presets(), get_used_tpu_filaments(), Slic3r::GUI::PublishSettingsDialog::GetPublishedMaterialKeys(), is_the_only_edited_filament(), load_config_file_config(), Slic3r::GUI::Plater::priv::load_files(), load_selections(), Slic3r::GUI::anonymous_namespace{PublishSettingsDialog.cpp}::material_title(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), operator=(), physical_filament_config_indices(), Slic3r::GUI::Plater::post_process_string_object_exception(), Slic3r::refresh_missing_plugins(), reload_local_bundle(), remove_users_preset(), reset(), reset_project_embedded_presets(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::resolved_slot_preset(), restore_selection(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), selection(), set_filament_preset(), set_num_filaments(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), sync_ams_list(), update_compatible(), update_filament_count(), update_multi_material_filament_presets(), update_num_filaments(), Slic3r::GUI::Sidebar::update_presets_from_to(), and update_selections().
| PresetCollection Slic3r::PresetBundle::filaments |
Referenced by PresetBundle(), Slic3r::active_capability_config(), apply_vendor_config(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::GUI::GuideFrame::BuildProfileJson(), Slic3r::capabilities_in_use(), Slic3r::MachineObject::check_ams_filament_valid(), check_and_fix_user_presets_syncinfo(), check_duplicate_filament_subtypes(), check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray(), check_preset_references(), check_printer_default_materials(), clear_printer_hold_aliases(), Slic3r::collect_dirty_settings_keys(), Slic3r::GUI::collect_imex_warnings(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::collection_for(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::PresetTransaction::commit(), commit_vendor_preset(), Slic3r::GUI::CreatePresetForPrinterDialog::create_dialog_buttons(), Slic3r::GUI::EditFilamentPresetDialog::create_dialog_buttons(), Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::current_filament_presets(), Slic3r::GUI::PluginsConfigDialog::current_preset(), Slic3r::GUI::ExportConfigsDialog::data_init(), export_current_configs(), full_fff_config(), generate_custom_presets(), Slic3r::GUI::CreateFilamentPresetDialog::get_all_filament_presets(), Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), get_ams_cobox_infos(), Slic3r::GUI::ExtrusionCalibration::get_bed_type_incompatible(), get_current_project_embedded_presets(), Slic3r::GUI::get_default_name(), get_differed_values_to_update(), get_filament_by_filament_id(), Slic3r::GUI::get_filament_id(), Slic3r::GUI::CreateFilamentPresetDialog::get_filament_presets_by_machine(), get_filament_presets_for_machine(), get_preset_differed_for_save(), get_preset_name_by_alias(), get_required_hrc_by_filament_type(), Slic3r::GUI::EditFilamentPresetDialog::get_same_filament_id_presets(), get_used_tpu_filaments(), Slic3r::GUI::PublishSettingsDialog::GetPublishedMaterialKeys(), has_defauls_only(), has_errors(), import_json_presets(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), install_vendor(), install_vendor_read(), is_the_only_edited_filament(), legacy_user_filament_presets(), Slic3r::load_bundle_presets(), load_config_file_config(), load_installed_filaments(), load_project_embedded_presets(), load_selections(), load_user_presets(), load_user_presets(), Slic3r::GUI::anonymous_namespace{PublishSettingsDialog.cpp}::material_title(), merge_presets(), migrate_legacy_user_filament_presets(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), normalize_compatible_presets(), Slic3r::GUI::ExtrusionCalibration::on_click_cali(), Slic3r::GUI::ExtrusionCalibration::on_click_save(), Slic3r::GUI::AMSMaterialsSetting::on_select_reset(), operator=(), Slic3r::GUI::AMSMaterialsSetting::Popup(), Slic3r::GUI::Plater::post_process_string_object_exception(), anonymous_namespace{profile_include_dump.cpp}::presets_of(), Slic3r::refresh_missing_plugins(), reload_local_bundle(), remove_users_preset(), reset(), reset_project_embedded_presets(), resolve_preset_config(), resolve_system_preset(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::resolved_slot_preset(), restore_selection(), Slic3r::CLI::run(), save_changes_for_preset(), save_user_presets(), Slic3r::GUI::sCheckFilamentInfo(), Slic3r::GUI::Tab::select_preset(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), selection(), set_calibrate_printer(), set_default_suppressed(), Slic3r::MachineObject::setting_id_to_type(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), sync_ams_list(), Slic3r::GUI::ExtrusionCalibration::update_combobox_filaments(), update_compatible(), Slic3r::GUI::update_custom_filaments(), update_filament_count(), Slic3r::GUI::ExtrusionCalibration::update_filament_info(), Slic3r::GUI::AMSDryCtrWin::update_filament_list(), Slic3r::MachineObject::update_filament_list(), update_multi_material_filament_presets(), update_num_filaments(), Slic3r::GUI::Sidebar::update_presets(), Slic3r::GUI::CreatePrinterPresetDialog::update_presets_list(), update_selections(), update_subscribed_presets(), update_system_maps(), update_user_presets_directory(), and validate_presets().
| std::map<std::string, DynamicPrintConfig> Slic3r::PresetBundle::m_config_maps |
Referenced by install_vendor(), install_vendor_cache(), and resolve_vendor_preset().
|
private |
| std::map<std::string, std::string> Slic3r::PresetBundle::m_filament_id_maps |
Referenced by install_vendor(), install_vendor_cache(), and resolve_vendor_preset().
|
private |
Referenced by load_system_presets_from_json(), parse_vendor_json(), and set_generate_vendor_caches().
|
private |
Referenced by resolve_vendor_preset().
|
private |
Referenced by export_selections().
|
private |
Referenced by load_source_vendor().
| ObsoletePresets Slic3r::PresetBundle::obsolete_presets |
Referenced by merge_presets(), operator=(), and reset().
|
static |
Referenced by Slic3r::GUI::GuideFrame::apply_config(), apply_vendor_config(), Slic3r::GUI::BundleMap::bbl_bundle(), Slic3r::PresetUpdater::priv::check_installed_vendor_profiles(), Slic3r::GUI::ConfigWizard::priv::create_3rdparty_pages(), Slic3r::GUI::BundleMap::load(), Slic3r::GUI::GuideFrame::run(), Slic3r::GUI::PagePrinters::set_run_reason(), and Slic3r::GUI::GUI_App::start_sync_user_preset().
|
static |
|
static |
|
static |
Referenced by Slic3r::GUI::GCodeViewer::init(), remove_users_preset(), and Slic3r::GUI::GuideFrame::run().
|
static |
Referenced by Slic3r::GUI::GuideFrame::apply_config(), and Slic3r::GUI::GuideFrame::run().
|
static |
Referenced by Slic3r::GUI::GuideFrame::BuildProfileDataFromVendors(), check_duplicate_filament_subtypes(), Slic3r::PresetUpdater::priv::check_installed_vendor_profiles(), Slic3r::PresetCollection::first_visible_idx(), has_errors(), Slic3r::GUI::GuideFrame::init_guide_paths(), install_vendor(), Slic3r::is_compatible_with_printer(), load_source_vendor(), load_system_filaments_json(), load_system_presets_from_json(), anonymous_namespace{profile_include_dump.cpp}::load_vendor(), load_vendors(), Slic3r::GUI::GuideFrame::LoadProfileData(), Slic3r::GUI::GuideFrame::LoadProfileFamily(), Slic3r::PresetUpdater::sync(), and Slic3r::PresetCollection::update_library_profile_excluded_from().
| PhysicalPrinterCollection Slic3r::PresetBundle::physical_printers |
Referenced by PresetBundle(), load_config_file_config(), load_selections(), and operator=().
| PrinterPresetCollection Slic3r::PresetBundle::printers |
Referenced by PresetBundle(), Slic3r::GUI::_collect_sorted_machines(), Slic3r::active_capability_config(), Slic3r::GUI::SelectMachineDialog::build_nozzles_info(), Slic3r::GUI::SyncAmsInfoDialog::build_nozzles_info(), Slic3r::GUI::GuideFrame::BuildProfileJson(), Slic3r::GUI::PartPlate::calc_imex_zones(), Slic3r::capabilities_in_use(), Slic3r::GUI::Plater::priv::check_ams_status_impl(), check_and_fix_user_presets_syncinfo(), check_duplicate_filament_subtypes(), check_filament_temp_equation_by_printer_type_and_nozzle_for_mas_tray(), check_preset_references(), check_printer_default_materials(), clear_printer_hold_aliases(), Slic3r::collect_dirty_settings_keys(), Slic3r::GUI::collect_imex_warnings(), Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), Slic3r::GUI::PluginsConfigDialog::current_preset(), Slic3r::GUI::ExportConfigsDialog::data_init(), Slic3r::effective_physical_extruder_map(), Slic3r::GUI::Plater::export_3mf(), export_current_configs(), Slic3r::GUI::Plater::export_gcode(), export_selections(), Slic3r::GUI::extruder_supports_tpu_high_flow(), full_config(), full_fff_config(), full_sla_config(), generate_custom_presets(), Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), Slic3r::GUI::CreateFilamentPresetDialog::get_all_visible_printer_name(), get_current_project_embedded_presets(), get_current_vendor_type(), get_custom_vendor_models(), get_differed_values_to_update(), get_filament_presets_for_machine(), Slic3r::GUI::AMSMaterialsSetting::get_filament_variant_index(), Slic3r::GUI::Plater::priv::get_machine_sync_status(), get_preset_differed_for_save(), get_preset_name_by_alias(), get_printer_extruder_count(), get_printer_names_by_printer_type_and_nozzle(), Slic3r::GUI::CalibrationPresetPage::get_printer_preset(), Slic3r::GUI::get_printer_preset(), Slic3r::Preset::get_printer_type(), Slic3r::GUI::Plater::get_selected_printer_name_in_combox(), get_similar_printer_preset(), Slic3r::GUI::getExtruderNozzleCount(), Slic3r::GUI::getExtruderNozzleCountTotal(), has_defauls_only(), has_errors(), Slic3r::Preset::has_lidar(), import_json_presets(), import_presets(), Slic3r::GUI::GCodeViewer::init(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), install_vendor_read(), Slic3r::GUI::Plater::is_same_printer_for_connected_and_selected(), Slic3r::GUI::SelectMachineDialog::is_same_printer_model(), Slic3r::GUI::SyncAmsInfoDialog::is_same_printer_model(), Slic3r::GUI::Sidebar::priv::layout_printer(), Slic3r::load_bundle_presets(), load_config_file_config(), load_installed_filaments(), load_installed_printers(), load_installed_sla_materials(), Slic3r::GUI::MainFrame::load_printer_url(), load_project_embedded_presets(), load_selections(), Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model(), load_user_presets(), load_user_presets(), Slic3r::GUI::manuallySetNozzleCount(), merge_presets(), min_filament_count(), Slic3r::GUI::Sidebar::need_auto_sync_extruder_list_after_connect_priner(), normalize_compatible_presets(), on_extruders_count_changed(), Slic3r::GUI::Plater::priv::on_select_bed_type(), Slic3r::GUI::AMSMaterialsSetting::on_select_filament(), Slic3r::GUI::Plater::priv::on_select_preset(), Slic3r::GUI::ExportPresetBundleDialog::OnRequestPresets(), operator=(), Slic3r::GUI::AMSMaterialsSetting::Popup(), anonymous_namespace{profile_include_dump.cpp}::presets_of(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::printer_presets(), Slic3r::GUI::PartPlate::refresh_imex_icon(), Slic3r::refresh_missing_plugins(), Slic3r::GUI::PartPlate::register_raycasters_for_picking(), reload_local_bundle(), remove_users_preset(), Slic3r::GUI::PartPlate::render_icons(), Slic3r::GUI::GCodeViewer::render_markers(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::report(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::require_tab(), reset(), reset_default_nozzle_volume_type(), reset_project_embedded_presets(), resolve_preset_config(), resolve_system_preset(), restore_selection(), Slic3r::CLI::run(), Slic3r::GUI::GuideFrame::run(), Slic3r::GUI::s_get_slicing_extuder_nozzles(), save_changes_for_preset(), save_user_presets(), Slic3r::GUI::seedExtruderNozzleStats(), Slic3r::GUI::ExportConfigsDialog::select_curr_radiobox(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), selection(), set_calibrate_printer(), Slic3r::GUI::CreatePrinterPresetDialog::set_current_visible_printer(), set_default_suppressed(), Slic3r::GUI::PartPlate::set_shape(), Slic3r::GUI::setExtruderNozzleCount(), Slic3r::GUI::Sidebar::should_show_SEMM_buttons(), Slic3r::GUI::SelectMachineDialog::show_status(), Slic3r::GUI::SyncAmsInfoDialog::show_status(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config(), support_different_extruders(), Slic3r::GUI::Sidebar::priv::sync_extruder_list(), Slic3r::GUI::TabPrinter::toggle_options(), Slic3r::GUI::ConfigManipulation::toggle_print_fff_options(), Slic3r::GUI::Sidebar::update_all_preset_comboboxes(), Slic3r::GUI::ExtrusionCalibration::update_combobox_filaments(), Slic3r::GUI::DiffPresetDialog::update_compatibility(), update_compatible(), update_filament_count(), update_multi_material_filament_presets(), Slic3r::GUI::Sidebar::update_presets(), update_selections(), Slic3r::GUI::SelectMachineDialog::update_show_status(), update_subscribed_presets(), Slic3r::GUI::Sidebar::priv::update_sync_status(), update_system_maps(), update_system_preset_setting_ids(), update_user_presets_directory(), Slic3r::GUI::updateNozzleCountDisplay(), use_bbl_device_tab(), use_bbl_network(), and validate_presets().
| PresetCollection Slic3r::PresetBundle::prints |
Referenced by PresetBundle(), Slic3r::active_capability_config(), Slic3r::GUI::GuideFrame::BuildProfileJson(), Slic3r::GUI::PartPlate::calc_imex_zones(), Slic3r::capabilities_in_use(), check_and_fix_user_presets_syncinfo(), check_preset_references(), clear_printer_hold_aliases(), Slic3r::collect_dirty_settings_keys(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::collection_for(), Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), Slic3r::GUI::PluginsConfigDialog::current_preset(), Slic3r::GUI::ExportConfigsDialog::data_init(), export_current_configs(), export_selections(), full_fff_config(), generate_custom_presets(), get_current_project_embedded_presets(), get_differed_values_to_update(), get_preset_differed_for_save(), get_preset_name_by_alias(), Slic3r::GUI::CalibrationPresetPage::get_print_preset(), has_defauls_only(), has_errors(), Slic3r::GUI::PartPlate::imex_wipe_tower_hull(), import_json_presets(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), install_vendor_read(), Slic3r::load_bundle_presets(), load_config_file_config(), load_project_embedded_presets(), load_selections(), load_user_presets(), load_user_presets(), merge_presets(), normalize_compatible_presets(), operator=(), anonymous_namespace{profile_include_dump.cpp}::presets_of(), Slic3r::GUI::anonymous_namespace{PublishSettingsDialog.cpp}::project_used_filament_slots(), Slic3r::refresh_missing_plugins(), reload_local_bundle(), remove_users_preset(), Slic3r::GUI::GCodeViewer::render_markers(), Slic3r::GUI::anonymous_namespace{SceneBenchmark.cpp}::SceneBenchmarkDialog::report(), reset(), reset_project_embedded_presets(), resolve_preset_config(), resolve_system_preset(), restore_selection(), Slic3r::CLI::run(), save_changes_for_preset(), save_user_presets(), Slic3r::GUI::Tab::select_preset(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), selection(), set_default_suppressed(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), sync_ams_list(), update_compatible(), Slic3r::GUI::CreatePrinterPresetDialog::update_presets_list(), update_selections(), update_subscribed_presets(), update_system_maps(), and update_user_presets_directory().
| DynamicPrintConfig Slic3r::PresetBundle::project_config |
Referenced by Slic3r::GUI::ConfigWizard::priv::apply_config(), Slic3r::GUI::SelectMachineDialog::build_nozzles_info(), Slic3r::GUI::SyncAmsInfoDialog::build_nozzles_info(), Slic3r::GUI::GLGizmoTextureDisplacement::cached_palette(), Slic3r::GUI::CalibUtils::calib_generic_auto_pa_cali(), Slic3r::GUI::Plater::priv::check_ams_status_impl(), Slic3r::GUI::collect_imex_warnings(), config_from_gcode(), construct_full_config(), Slic3r::effective_physical_extruder_map(), export_selections(), full_fff_config(), get_default_nozzle_volume_types_for_filaments(), get_full_flush_matrix(), Slic3r::GUI::Sidebar::priv::get_nozzle_options(), Slic3r::GUI::PartPlate::imex_wipe_tower_hull(), is_mixed_filament(), load_config_file_config(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::GUI::Plater::load_gcode(), load_selections(), num_mixed_filaments(), num_physical_filaments(), operator=(), Slic3r::BackgroundSlicingProcess::process_fff(), reload_local_bundle(), reset_default_nozzle_volume_type(), Slic3r::GUI::ProjectDirtyStateManager::reset_initial_presets(), restore_selection(), Slic3r::GUI::s_get_slicing_extuder_nozzles(), Slic3r::GUI::seedExtruderNozzleStats(), selection(), Slic3r::GUI::set_arrange_polygon_bed_exclusion_extruders(), set_num_filaments(), Slic3r::GUI::SelectMachineDialog::Show(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config(), sync_ams_list(), update_filament_multi_color(), Slic3r::GUI::ProjectDirtyStateManager::update_from_presets(), update_multi_material_filament_presets(), update_num_filaments(), and update_selections().
| PresetCollection Slic3r::PresetBundle::sla_materials |
Referenced by PresetBundle(), check_preset_references(), clear_printer_hold_aliases(), full_sla_config(), get_preset_name_by_alias(), install_vendor_read(), load_installed_sla_materials(), load_selections(), merge_presets(), normalize_compatible_presets(), operator=(), reset(), save_changes_for_preset(), set_default_suppressed(), update_compatible(), and update_system_maps().
| PresetCollection Slic3r::PresetBundle::sla_prints |
Referenced by PresetBundle(), check_preset_references(), clear_printer_hold_aliases(), full_sla_config(), get_preset_name_by_alias(), install_vendor_read(), merge_presets(), normalize_compatible_presets(), operator=(), reset(), save_changes_for_preset(), set_default_suppressed(), update_compatible(), and update_system_maps().
|
private |
|
private |
Referenced by load_system_presets_from_json(), and set_vendor_to_validate().
| VendorMap Slic3r::PresetBundle::vendors |
Referenced by Slic3r::GUI::GuideFrame::apply_config(), apply_vendor_config(), Slic3r::GUI::GuideFrame::BuildProfileDataFromPresetBundle(), Slic3r::GUI::GuideFrame::BuildProfileDataFromVendors(), Slic3r::GUI::GuideFrame::BuildProfileJson(), Slic3r::Preset::get_current_printer_type(), get_current_vendor_type(), Slic3r::GUI::get_exist_vendor_choices(), get_hotend_model_for_printer_model(), Slic3r::Preset::get_printer_type(), get_stl_model_for_printer_model(), get_texture_for_printer_model(), get_vendor_profile_version(), Slic3r::Preset::has_lidar(), install_vendor(), install_vendor_cache(), install_vendor_read(), load_config_file_config(), load_system_presets_from_json(), anonymous_namespace{profile_include_dump.cpp}::load_vendor(), load_vendors(), merge_presets(), operator=(), parse_vendor_json(), read_vendor(), and reset().