OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::_3MF_Base Class Reference
Inheritance diagram for Slic3r::_3MF_Base:
Collaboration diagram for Slic3r::_3MF_Base:

Public Member Functions

void log_errors ()

Protected Member Functions

void add_error (const std::string &error)
void clear_errors ()

Private Attributes

std::vector< std::string > m_errors

Detailed Description

Member Function Documentation

◆ add_error()

void Slic3r::_3MF_Base::add_error ( const std::string & error)
inlineprotected
423{ m_errors.push_back(error); }
std::vector< std::string > m_errors
Definition 3mf.cpp:420

References m_errors.

Referenced by Slic3r::_3MF_Exporter::_add_build_to_model_stream(), Slic3r::_3MF_Exporter::_add_content_types_file_to_archive(), Slic3r::_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_3MF_Exporter::_add_layer_height_profile_file_to_archive(), Slic3r::_3MF_Exporter::_add_mesh_to_object_stream(), Slic3r::_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_3MF_Exporter::_add_model_file_to_archive(), Slic3r::_3MF_Exporter::_add_object_to_model_stream(), Slic3r::_3MF_Exporter::_add_print_config_file_to_archive(), Slic3r::_3MF_Exporter::_add_relationships_file_to_archive(), Slic3r::_3MF_Exporter::_add_sla_drain_holes_file_to_archive(), Slic3r::_3MF_Exporter::_add_sla_support_points_file_to_archive(), Slic3r::_3MF_Exporter::_add_thumbnail_file_to_archive(), Slic3r::_3MF_Importer::_create_object_instance(), Slic3r::_3MF_Importer::_extract_layer_config_ranges_from_archive(), Slic3r::_3MF_Importer::_extract_layer_heights_profile_config_from_archive(), Slic3r::_3MF_Importer::_extract_model_config_from_archive(), Slic3r::_3MF_Importer::_extract_model_from_archive(), Slic3r::_3MF_Importer::_extract_print_config_from_archive(), Slic3r::_3MF_Importer::_extract_sla_drain_holes_from_archive(), Slic3r::_3MF_Importer::_extract_sla_support_points_from_archive(), Slic3r::_3MF_Importer::_generate_volumes(), Slic3r::_3MF_Importer::_handle_end_model(), Slic3r::_3MF_Importer::_handle_end_object(), Slic3r::_3MF_Importer::_handle_start_component(), Slic3r::_3MF_Importer::_handle_start_config_metadata(), Slic3r::_3MF_Importer::_handle_start_config_object(), Slic3r::_3MF_Importer::_handle_start_config_volume(), Slic3r::_3MF_Importer::_handle_start_config_volume_mesh(), Slic3r::_3MF_Importer::_handle_start_object(), Slic3r::_3MF_Importer::_load_model_from_file(), and Slic3r::_3MF_Exporter::_save_model_to_file().

Here is the caller graph for this function:

◆ clear_errors()

void Slic3r::_3MF_Base::clear_errors ( )
inlineprotected
424{ m_errors.clear(); }

References m_errors.

Referenced by Slic3r::_3MF_Importer::load_model_from_file(), and Slic3r::_3MF_Exporter::save_model_to_file().

Here is the caller graph for this function:

◆ log_errors()

void Slic3r::_3MF_Base::log_errors ( )
inline
428 {
429 for (const std::string& error : m_errors)
430 BOOST_LOG_TRIVIAL(error) << error;
431 }

References m_errors.

Referenced by Slic3r::load_3mf(), and Slic3r::store_3mf().

Here is the caller graph for this function:

Member Data Documentation

◆ m_errors

std::vector<std::string> Slic3r::_3MF_Base::m_errors
private

Referenced by add_error(), clear_errors(), and log_errors().


The documentation for this class was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Format/3mf.cpp