Classes | |
| struct | Component |
| struct | Geometry |
| struct | CurrentObject |
| struct | CurrentConfig |
| struct | CurrentInstance |
| struct | Instance |
| struct | Metadata |
| struct | ObjectMetadata |
| struct | CutObjectInfo |
| struct | ObjectImporter |
Public Member Functions | |
| _BBS_3MF_Importer () | |
| ~_BBS_3MF_Importer () | |
| bool | load_model_from_file (const std::string &filename, Model &model, PlateDataPtrs &plate_data_list, std::vector< Preset * > &project_presets, DynamicPrintConfig &config, ConfigSubstitutionContext &config_substitutions, LoadStrategy strategy, bool *is_bbl_3mf, bool *is_orca_3mf, Semver &file_version, Import3mfProgressFn proFn=nullptr, BBLProject *project=nullptr, int plate_id=0) |
| bool | get_thumbnail (const std::string &filename, std::string &data) |
| bool | load_gcode_3mf_from_stream (std::istream &data, Model &model, PlateDataPtrs &plate_data_list, DynamicPrintConfig &config, Semver &file_version) |
| unsigned int | version () const |
| void | log_errors () |
Protected Member Functions | |
| void | add_error (const std::string &error) const |
| void | clear_errors () |
Private Types | |
| typedef std::pair< std::string, int > | Id |
| typedef std::vector< Component > | ComponentsList |
| typedef std::vector< Metadata > | MetadataList |
| typedef std::map< Id, CurrentObject > | IdToCurrentObjectMap |
| typedef std::map< int, std::string > | IndexToPathMap |
| typedef std::map< Id, int > | IdToModelObjectMap |
| typedef std::vector< Instance > | InstancesList |
| typedef std::map< int, ObjectMetadata > | IdToMetadataMap |
| typedef std::map< int, CutObjectInfo > | IdToCutObjectInfoMap |
| typedef std::map< int, std::vector< coordf_t > > | IdToLayerHeightsProfileMap |
| typedef std::map< int, t_layer_config_ranges > | IdToLayerConfigRangesMap |
| typedef std::map< int, BrimPoints > | IdToBrimPointsMap |
| using | PathToEmbossShapeFileMap = std::map<std::string, std::shared_ptr<std::string>> |
Private Member Functions | |
| void | _apply_texture_displacement (ModelVolume &volume, const std::string &json_path) |
| void | _destroy_xml_parser () |
| void | _stop_xml_parser (const std::string &msg=std::string()) |
| bool | parse_error () const |
| const char * | parse_error_message () const |
| bool | _load_model_from_file (std::string filename, Model &model, PlateDataPtrs &plate_data_list, std::vector< Preset * > &project_presets, DynamicPrintConfig &config, ConfigSubstitutionContext &config_substitutions, Import3mfProgressFn proFn=nullptr, BBLProject *project=nullptr, int plate_id=0) |
| bool | _is_published_3mf () const |
| bool | _is_svg_shape_file (const std::string &filename) const |
| bool | _extract_from_archive (mz_zip_archive &archive, std::string const &path, std::function< bool(mz_zip_archive &archive, const mz_zip_archive_file_stat &stat)>, bool restore=false) |
| bool | _extract_xml_from_archive (mz_zip_archive &archive, std::string const &path, XML_StartElementHandler start_handler, XML_EndElementHandler end_handler) |
| bool | _extract_xml_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, XML_StartElementHandler start_handler, XML_EndElementHandler end_handler) |
| bool | _extract_model_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_cut_information_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, ConfigSubstitutionContext &config_substitutions) |
| void | _extract_layer_heights_profile_config_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_layer_config_ranges_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, ConfigSubstitutionContext &config_substitutions) |
| void | _extract_sla_support_points_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_sla_drain_holes_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_brim_ear_points_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_custom_gcode_per_print_z_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_filament_sequence_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_print_config_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, DynamicPrintConfig &config, ConfigSubstitutionContext &subs_context, const std::string &archive_filename) |
| void | _extract_project_config_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, DynamicPrintConfig &config, ConfigSubstitutionContext &subs_context, Model &model) |
| void | _extract_project_embedded_presets_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, std::vector< Preset * > &project_presets, Model &model, Preset::Type type, bool use_json=true) |
| void | _extract_auxiliary_file_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat, Model &model) |
| void | _extract_file_from_archive (mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _extract_embossed_svg_shape_file (const std::string &filename, mz_zip_archive &archive, const mz_zip_archive_file_stat &stat) |
| void | _handle_start_model_xml_element (const char *name, const char **attributes) |
| void | _handle_end_model_xml_element (const char *name) |
| void | _handle_xml_characters (const XML_Char *s, int len) |
| void | _handle_start_config_xml_element (const char *name, const char **attributes) |
| void | _handle_end_config_xml_element (const char *name) |
| bool | _handle_start_model (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_model () |
| bool | _handle_start_resources (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_resources () |
| bool | _handle_start_object (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_object () |
| bool | _handle_start_color_group (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_color_group () |
| bool | _handle_start_color (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_color () |
| bool | _handle_start_mesh (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_mesh () |
| bool | _handle_start_vertices (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_vertices () |
| bool | _handle_start_vertex (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_vertex () |
| bool | _handle_start_triangles (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_triangles () |
| bool | _handle_start_triangle (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_triangle () |
| bool | _handle_start_components (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_components () |
| bool | _handle_start_component (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_component () |
| bool | _handle_start_build (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_build () |
| bool | _handle_start_item (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_item () |
| bool | _handle_start_metadata (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_metadata () |
| bool | _handle_start_text_configuration (const char **attributes, unsigned int num_attributes) |
| bool | _handle_start_shape_configuration (const char **attributes, unsigned int num_attributes) |
| bool | _create_object_instance (std::string const &path, int object_id, const Transform3d &transform, const bool printable, unsigned int recur_counter) |
| void | _apply_transform (ModelInstance &instance, const Transform3d &transform) |
| bool | _handle_start_config (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config () |
| bool | _handle_start_config_object (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_object () |
| bool | _handle_start_config_volume (const char **attributes, unsigned int num_attributes) |
| bool | _handle_start_config_volume_mesh (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_volume () |
| bool | _handle_end_config_volume_mesh () |
| bool | _handle_start_config_metadata (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_metadata () |
| bool | _handle_start_config_filament (const char **attributes, unsigned int num_attributes) |
| bool | _handle_start_config_mixed_filament (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_filament () |
| bool | _handle_start_config_warning (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_warning () |
| bool | _handle_start_config_nozzle (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_nozzle () |
| bool | _handle_start_config_plater (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_plater () |
| bool | _handle_start_config_plater_instance (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_config_plater_instance () |
| bool | _handle_start_assemble (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_assemble () |
| bool | _handle_start_assemble_item (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_assemble_item () |
| bool | _handle_start_text_info_item (const char **attributes, unsigned int num_attributes) |
| bool | _handle_end_text_info_item () |
| void | _handle_start_relationships_element (const char *name, const char **attributes) |
| void | _handle_end_relationships_element (const char *name) |
| bool | _handle_start_relationship (const char **attributes, unsigned int num_attributes) |
| bool | _generate_current_object_list (std::vector< Component > &sub_objects, Id object_id, IdToCurrentObjectMap ¤t_objects) |
| bool | _generate_volumes_new (ModelObject &object, const std::vector< Component > &sub_objects, const ObjectMetadata::VolumeMetadataList &volumes, ConfigSubstitutionContext &config_substitutions) |
Static Private Member Functions | |
| static void XMLCALL | _handle_start_relationships_element (void *userData, const char *name, const char **attributes) |
| static void XMLCALL | _handle_end_relationships_element (void *userData, const char *name) |
| static void XMLCALL | _handle_start_model_xml_element (void *userData, const char *name, const char **attributes) |
| static void XMLCALL | _handle_end_model_xml_element (void *userData, const char *name) |
| static void XMLCALL | _handle_xml_characters (void *userData, const XML_Char *s, int len) |
| static void XMLCALL | _handle_start_config_xml_element (void *userData, const char *name, const char **attributes) |
| static void XMLCALL | _handle_end_config_xml_element (void *userData, const char *name) |
| struct Slic3r::_BBS_3MF_Importer::CurrentInstance |
| struct Slic3r::_BBS_3MF_Importer::ObjectMetadata |
| Class Members | ||
|---|---|---|
| typedef vector< VolumeMetadata > | VolumeMetadataList | |
| Class Members | ||
|---|---|---|
| optional< bool > | auto_drop | |
| MetadataList | metadata | |
| VolumeMetadataList | volumes | |
| struct Slic3r::_BBS_3MF_Importer::CutObjectInfo |
| Class Members | ||
|---|---|---|
| vector< Connector > | connectors | |
| CutObjectBase | id | |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| Slic3r::_BBS_3MF_Importer::_BBS_3MF_Importer | ( | ) |
References m_check_version, m_curr_characters, m_curr_metadata_name, m_curr_plater, m_model, m_name, m_unit_factor, m_version, and m_xml_parser.
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::ObjectImporter(), _extract_model_from_archive(), _handle_end_config_xml_element(), _handle_end_model_xml_element(), _handle_end_relationships_element(), _handle_start_config_xml_element(), _handle_start_model_xml_element(), _handle_start_relationships_element(), and _handle_xml_characters().
| Slic3r::_BBS_3MF_Importer::~_BBS_3MF_Importer | ( | ) |
References _destroy_xml_parser(), Slic3r::_BBS_3MF_Base::clear_errors(), m_curr_characters, m_curr_metadata_name, m_curr_object, m_current_objects, m_index_paths, m_instances, m_items_auto_drop_off, m_objects, m_objects_metadata, and m_plater_data.
|
private |
References _apply_texture_displacement(), Slic3r::_BBS_3MF_Base::add_error(), m_texture_displacement_files, Slic3r::ModelVolume::texture_displacement_layers, Slic3r::texture_displacement_layers_from_json(), and Slic3r::ModelVolume::texture_displacement_options.
Referenced by _apply_texture_displacement(), and _generate_volumes_new().
|
private |
References _apply_transform(), Slic3r::ModelInstance::set_transformation(), and Slic3r::transform().
Referenced by _apply_transform(), and _handle_end_model().
|
private |
References _create_object_instance(), Slic3r::_BBS_3MF_Base::add_error(), m_current_objects, m_instances, m_is_bbl_3mf, m_model, m_objects, Slic3r::_BBS_3MF_Importer::CurrentObject::model_object_idx, Slic3r::_BBS_3MF_Importer::CurrentObject::object, OBJECT_UUID_SUFFIX, Slic3r::ModelInstance::printable, Slic3r::transform(), and Slic3r::_BBS_3MF_Importer::CurrentObject::uuid.
Referenced by _create_object_instance(), and _handle_start_item().
|
private |
References m_xml_parser.
Referenced by ~_BBS_3MF_Importer(), _extract_model_from_archive(), and _extract_xml_from_archive().
|
private |
References _extract_auxiliary_file_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), AUXILIARY_DIR, AUXILIARY_STR_LEN, ZipUnicodePathExtraField::decode(), Slic3r::encode_path(), Slic3r::Model::get_auxiliary_file_temp_path(), and Slic3r::is_path_within_root().
Referenced by _extract_auxiliary_file_from_archive().
|
private |
References _extract_brim_ear_points_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), m_brim_ear_points, and version().
Referenced by _extract_brim_ear_points_from_archive().
|
private |
References _extract_custom_gcode_per_print_z_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::CustomGCode::ColorChange, Slic3r::CustomGCode::Custom, m_model, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::MultiAsSingleMode, Slic3r::CustomGCode::MultiExtruder, Slic3r::CustomGCode::PausePrint, Slic3r::CustomGCode::SingleExtruder, Slic3r::CustomGCode::SingleExtruderMode, and Slic3r::CustomGCode::ToolChange.
Referenced by _extract_custom_gcode_per_print_z_from_archive().
|
private |
References _extract_cut_information_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), and m_cut_object_infos.
Referenced by _extract_cut_information_from_archive().
|
private |
References _extract_embossed_svg_shape_file(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::ModelVolume::emboss_shape, m_model, m_path_to_emboss_shape_files, and Slic3r::ModelObject::volumes.
Referenced by _extract_embossed_svg_shape_file().
|
private |
References _extract_filament_sequence_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), and m_plater_data.
Referenced by _extract_filament_sequence_from_archive(), and load_gcode_3mf_from_stream().
|
private |
References _extract_file_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::decode_path(), Slic3r::encode_path(), Slic3r::is_path_within_root(), and m_backup_path.
Referenced by _extract_file_from_archive().
|
private |
References _extract_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::close_zip_reader(), ZipUnicodePathExtraField::decode(), Slic3r::encode_path(), m_backup_path, m_origin_file, and Slic3r::open_zip_reader().
Referenced by _extract_from_archive(), _extract_xml_from_archive(), _load_model_from_file(), get_thumbnail(), and load_gcode_3mf_from_stream().
|
private |
References _extract_layer_config_ranges_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), m_layer_config_ranges, and Slic3r::range().
Referenced by _extract_layer_config_ranges_from_archive().
|
private |
References _extract_layer_heights_profile_config_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), and m_layer_heights_profiles.
Referenced by _extract_layer_heights_profile_config_from_archive().
|
private |
References _BBS_3MF_Importer(), _destroy_xml_parser(), _extract_model_from_archive(), _handle_end_model_xml_element(), _handle_start_model_xml_element(), _handle_xml_characters(), Slic3r::_BBS_3MF_Base::add_error(), and m_xml_parser.
Referenced by _extract_model_from_archive(), _load_model_from_file(), and load_gcode_3mf_from_stream().
|
private |
References _extract_print_config_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), and Slic3r::ConfigBase::load_from_gcode_string_legacy().
Referenced by _extract_print_config_from_archive().
|
private |
References _extract_project_config_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::encode_path(), Slic3r::Model::get_backup_path(), Slic3r::ConfigBase::load_from_json(), Slic3r::ConfigBase::option(), and Slic3r::sanitize_mixed_gradient_curve_array().
Referenced by _extract_project_config_from_archive(), and load_gcode_3mf_from_stream().
|
private |
References _extract_project_embedded_presets_from_archive(), Slic3r::_BBS_3MF_Base::add_error(), BBL_JSON_KEY_VERSION, Slic3r::Preset::config, Slic3r::Enable, Slic3r::encode_path(), Slic3r::Preset::file, Slic3r::Preset::get_type_string(), Slic3r::Preset::is_dirty, Slic3r::Preset::is_external, Slic3r::Preset::is_project_embedded, Slic3r::ConfigBase::load_from_ini(), Slic3r::ConfigBase::load_from_json(), Slic3r::Preset::loaded, Slic3r::Preset::loading_substitutions, m_backup_path, Slic3r::ConfigBase::option(), Slic3r::Semver::parse(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, Slic3r::ConfigOptionSingle< T >::value, Slic3r::ConfigOptionVector< T >::values, version(), and Slic3r::Preset::version.
Referenced by _extract_project_embedded_presets_from_archive().
|
private |
|
private |
|
private |
References _destroy_xml_parser(), _extract_xml_from_archive(), _handle_xml_characters(), Slic3r::_BBS_3MF_Base::add_error(), and m_xml_parser.
|
private |
References _extract_from_archive(), and _extract_xml_from_archive().
Referenced by _extract_xml_from_archive(), _extract_xml_from_archive(), _load_model_from_file(), get_thumbnail(), and load_gcode_3mf_from_stream().
|
private |
References _generate_current_object_list(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::_BBS_3MF_Importer::Component::object_id, and Slic3r::_BBS_3MF_Importer::Component::transform.
Referenced by _generate_current_object_list().
|
private |
References _apply_texture_displacement(), _generate_volumes_new(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::ModelVolume::calculate_convex_hull(), Slic3r::ModelVolume::config, Slic3r::_BBS_3MF_Importer::Geometry::custom_seam, Slic3r::_BBS_3MF_Importer::Geometry::custom_supports, Slic3r::ModelVolume::emboss_shape, Slic3r::empty(), Slic3r::_BBS_3MF_Importer::Geometry::face_properties, Slic3r::TriangleMesh::flip_triangles(), Slic3r::_BBS_3MF_Importer::Geometry::fuzzy_skin, Slic3r::ModelVolume::fuzzy_skin_facets, Slic3r::_BBS_3MF_Importer::CurrentObject::geometry, Slic3r::TriangleMesh::get_init_shift(), Slic3r::ModelVolume::get_transformation(), Slic3r::_BBS_3MF_Importer::CurrentObject::id, Slic3r::ModelVolume::Source::input_file, Slic3r::INVALID, Slic3r::ModelVolume::Source::is_converted_from_inches, Slic3r::ModelVolume::Source::is_converted_from_meters, Slic3r::ModelVolume::is_modifier(), Slic3r::is_precise_seam(), Slic3r::ModelVolume::is_precise_seam(), Slic3r::_BBS_3MF_Importer::Metadata::key, m_current_objects, m_shared_meshes, MATRIX_KEY, Slic3r::ModelVolume::mesh(), Slic3r::ModelVolume::Source::mesh_offset, MESH_SHARED_KEY, Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::mesh_stats, Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::metadata, Slic3r::_BBS_3MF_Importer::Geometry::mmu_segmentation, Slic3r::ModelVolume::mmu_segmentation_facets, Slic3r::ModelVolume::name, NAME_KEY, Slic3r::_BBS_3MF_Importer::Component::object_id, Slic3r::ModelVolume::Source::object_idx, Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::part_type, PART_TYPE_KEY, PRECISE_SEAM_CONFIG_PREFIX, PRECISE_SEAM_TYPE_KEY, Slic3r::FacetsAnnotation::reserve(), Slic3r::ModelVolume::seam_facets, Slic3r::ModelConfig::set_deserialize(), Slic3r::ModelVolume::set_transformation(), Slic3r::FacetsAnnotation::set_triangle_from_string(), Slic3r::ModelVolume::set_type(), Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::shape_configuration, Slic3r::FacetsAnnotation::shrink_to_fit(), Slic3r::ModelVolume::source, SOURCE_FILE_KEY, SOURCE_IN_INCHES, SOURCE_IN_METERS, SOURCE_OBJECT_ID_KEY, SOURCE_OFFSET_X_KEY, SOURCE_OFFSET_Y_KEY, SOURCE_OFFSET_Z_KEY, SOURCE_VOLUME_ID_KEY, Slic3r::ModelVolume::supported_facets, Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::text_configuration, Slic3r::ModelVolume::text_configuration, Slic3r::_BBS_3MF_Importer::Geometry::texture_displacement, Slic3r::ModelVolume::texture_displacement_facet(), TEXTURE_DISPLACEMENT_KEY, Slic3r::TEXTURE_DISPLACEMENT_MAX_LAYERS, Slic3r::ObjectWithTimestamp::touch(), Slic3r::_BBS_3MF_Importer::Component::transform, Slic3r::ModelVolume::Source::transform, Slic3r::Geometry::transform3d_from_string(), Slic3r::ModelVolume::translate(), Slic3r::_BBS_3MF_Importer::Geometry::triangles, Slic3r::ModelVolume::type_from_string(), Slic3r::_BBS_3MF_Importer::Metadata::value, Slic3r::_BBS_3MF_Importer::Geometry::vertices, Slic3r::TriangleMesh::volume(), Slic3r::ModelVolume::Source::volume_idx, and VOLUME_TYPE_KEY.
Referenced by _generate_volumes_new().
|
private |
References _handle_end_assemble().
Referenced by _handle_end_assemble(), and _handle_end_config_xml_element().
|
private |
References _handle_end_assemble_item().
Referenced by _handle_end_assemble_item(), and _handle_end_config_xml_element().
|
private |
References _handle_end_build().
Referenced by _handle_end_build(), and _handle_end_model_xml_element().
|
private |
References _handle_end_color().
Referenced by _handle_end_color(), and _handle_end_model_xml_element().
|
private |
References _handle_end_color_group().
Referenced by _handle_end_color_group(), and _handle_end_model_xml_element().
|
private |
References _handle_end_component().
Referenced by _handle_end_component(), and _handle_end_model_xml_element().
|
private |
References _handle_end_components().
Referenced by _handle_end_components(), and _handle_end_model_xml_element().
|
private |
References _handle_end_config().
Referenced by _handle_end_config(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_filament().
Referenced by _handle_end_config_filament(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_metadata().
Referenced by _handle_end_config_metadata(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_nozzle().
Referenced by _handle_end_config_nozzle(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_object(), and m_curr_config.
Referenced by _handle_end_config_object(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_plater(), Slic3r::_BBS_3MF_Base::add_error(), m_curr_plater, and m_plater_data.
Referenced by _handle_end_config_plater(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_plater_instance(), Slic3r::_BBS_3MF_Base::add_error(), m_curr_instance, and m_curr_plater.
Referenced by _handle_end_config_plater_instance(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_volume(), and m_curr_config.
Referenced by _handle_end_config_volume(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_volume_mesh().
Referenced by _handle_end_config_volume_mesh(), and _handle_end_config_xml_element().
|
private |
References _handle_end_config_warning().
Referenced by _handle_end_config_warning().
|
private |
References _handle_end_assemble(), _handle_end_assemble_item(), _handle_end_config(), _handle_end_config_filament(), _handle_end_config_metadata(), _handle_end_config_nozzle(), _handle_end_config_object(), _handle_end_config_plater(), _handle_end_config_plater_instance(), _handle_end_config_volume(), _handle_end_config_volume_mesh(), _handle_end_config_xml_element(), _stop_xml_parser(), ASSEMBLE_ITEM_TAG, ASSEMBLE_TAG, CONFIG_TAG, FILAMENT_TAG, INSTANCE_TAG, m_xml_parser, MESH_STAT_TAG, METADATA_TAG, NOZZLE_TAG, OBJECT_TAG, PART_TAG, PLATE_TAG, and VOLUME_TAG.
Referenced by _handle_end_config_xml_element(), _handle_end_config_xml_element(), and load_gcode_3mf_from_stream().
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_end_config_xml_element().
|
private |
References _handle_end_item().
Referenced by _handle_end_item(), and _handle_end_model_xml_element().
|
private |
References _handle_end_mesh().
Referenced by _handle_end_mesh(), and _handle_end_model_xml_element().
|
private |
References _handle_end_metadata(), BBL_APPLICATION_TAG, BBL_COPYRIGHT_NORMATIVE_TAG, BBL_COPYRIGHT_TAG, BBL_CREATION_DATE_TAG, BBL_DESCRIPTION_TAG, BBL_DESIGNER_COVER_FILE_TAG, BBL_DESIGNER_TAG, BBL_DESIGNER_USER_ID_TAG, BBL_LICENSE_TAG, BBL_MODEL_ID_TAG, BBL_MODEL_NAME_TAG, BBL_MODIFICATION_TAG, BBL_ORIGIN_TAG, BBL_PROFILE_COVER_TAG, BBL_PROFILE_DESCRIPTION_TAG, BBL_PROFILE_TITLE_TAG, BBL_PROFILE_USER_ID_TAG, BBL_PROFILE_USER_NAME_TAG, BBL_REGION_TAG, BBS_3MF_VERSION, BBS_3MF_VERSION1, m_bambuslicer_generator_version, m_contry_code, m_curr_characters, m_curr_metadata_name, m_designer, m_designer_user_id, m_is_bbl_3mf, m_model_id, m_orca_slicer_version, m_profile_cover, m_Profile_description, m_profile_title, m_profile_user_id, m_profile_user_name, m_version, model_info, ORCASLICER_TAG, Slic3r::Semver::parse(), Slic3r::trace(), and Slic3r::xml_unescape().
Referenced by _handle_end_metadata(), and _handle_end_model_xml_element().
|
private |
References _apply_transform(), _handle_end_model(), _is_published_3mf(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::ModelObject::instances, m_current_objects, m_index_paths, m_instances, m_is_bbl_3mf, m_model, m_name, m_objects, and m_sub_model_path.
Referenced by _handle_end_model(), and _handle_end_model_xml_element().
|
private |
References _handle_end_build(), _handle_end_color(), _handle_end_color_group(), _handle_end_component(), _handle_end_components(), _handle_end_item(), _handle_end_mesh(), _handle_end_metadata(), _handle_end_model(), _handle_end_model_xml_element(), _handle_end_object(), _handle_end_resources(), _handle_end_triangle(), _handle_end_triangles(), _handle_end_vertex(), _handle_end_vertices(), _stop_xml_parser(), BUILD_TAG, COLOR_GROUP_TAG, COLOR_TAG, COMPONENT_TAG, COMPONENTS_TAG, ITEM_TAG, m_xml_parser, MESH_TAG, METADATA_TAG, MODEL_TAG, OBJECT_TAG, RESOURCES_TAG, TRIANGLE_TAG, TRIANGLES_TAG, VERTEX_TAG, and VERTICES_TAG.
Referenced by _extract_model_from_archive(), _handle_end_model_xml_element(), and _handle_end_model_xml_element().
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_end_model_xml_element().
|
private |
References _handle_end_object(), Slic3r::_BBS_3MF_Base::add_error(), m_curr_object, m_current_objects, m_is_bbl_3mf, m_load_model, m_load_restore, m_sub_model_path, Slic3r::_BBS_3MF_Importer::Component::object_id, and OBJECT_UUID_SUFFIX.
Referenced by _handle_end_model_xml_element(), and _handle_end_object().
|
private |
References _handle_end_relationships_element(), _stop_xml_parser(), and m_xml_parser.
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_end_relationships_element().
Referenced by _handle_end_relationships_element(), _handle_end_relationships_element(), _load_model_from_file(), get_thumbnail(), and load_gcode_3mf_from_stream().
|
private |
References _handle_end_resources().
Referenced by _handle_end_model_xml_element(), and _handle_end_resources().
|
private |
References _handle_end_text_info_item().
Referenced by _handle_end_text_info_item().
|
private |
References _handle_end_triangle().
Referenced by _handle_end_model_xml_element(), and _handle_end_triangle().
|
private |
References _handle_end_triangles().
Referenced by _handle_end_model_xml_element(), and _handle_end_triangles().
|
private |
References _handle_end_vertex().
Referenced by _handle_end_model_xml_element(), and _handle_end_vertex().
|
private |
References _handle_end_vertices().
Referenced by _handle_end_model_xml_element(), and _handle_end_vertices().
|
private |
References _handle_start_assemble().
Referenced by _handle_start_assemble(), and _handle_start_config_xml_element().
|
private |
References _handle_start_assemble_item(), Slic3r::_BBS_3MF_Base::add_error(), bbs_get_attribute_value_int(), bbs_get_attribute_value_string(), bbs_get_offset_from_3mf_specs_string(), bbs_get_transform_from_3mf_specs_string(), INSTANCEID_ATTR, m_index_paths, m_load_model, m_model, m_objects, OBJECT_ID_ATTR, OFFSET_ATTR, Slic3r::transform(), and TRANSFORM_ATTR.
Referenced by _handle_start_assemble_item(), and _handle_start_config_xml_element().
|
private |
References _handle_start_build().
Referenced by _handle_start_build(), and _handle_start_model_xml_element().
|
private |
References _handle_start_color(), bbs_get_attribute_value_string(), COLOR_ATTR, m_current_color_group, and m_group_id_to_color.
Referenced by _handle_start_color(), and _handle_start_model_xml_element().
|
private |
References _handle_start_color_group(), bbs_get_attribute_value_int(), ID_ATTR, and m_current_color_group.
Referenced by _handle_start_color_group(), and _handle_start_model_xml_element().
|
private |
References _handle_start_component(), bbs_get_attribute_value_int(), bbs_get_attribute_value_string(), bbs_get_transform_from_3mf_specs_string(), m_curr_object, m_sub_model_path, OBJECTID_ATTR, PPATH_ATTR, Slic3r::transform(), TRANSFORM_ATTR, and Slic3r::xml_unescape().
Referenced by _handle_start_component(), and _handle_start_model_xml_element().
|
private |
References _handle_start_components(), and m_curr_object.
Referenced by _handle_start_components(), and _handle_start_model_xml_element().
|
private |
References _handle_start_config().
Referenced by _handle_start_config(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_filament(), bbs_get_attribute_value_string(), Slic3r::FilamentGroupUtils::FilamentInfo::color, FILAMENT_COLOR_TAG, FILAMENT_ID_TAG, FILAMENT_NOZZLE_DIAMETER_TAG, FILAMENT_NOZZLE_GROUP_ID_TAG, FILAMENT_NOZZLE_VOLUME_TYPE_TAG, FILAMENT_TRAY_INFO_ID_TAG, FILAMENT_TYPE_TAG, FILAMENT_USED_FOR_OBJECT, FILAMENT_USED_FOR_SUPPORT, FILAMENT_USED_G_TAG, FILAMENT_USED_M_TAG, Slic3r::group_id(), m_curr_plater, Slic3r::nozzle_diameter(), parse_int_list(), and Slic3r::FilamentGroupUtils::FilamentInfo::type.
Referenced by _handle_start_config_filament(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_metadata(), Slic3r::_BBS_3MF_Base::add_error(), bbs_get_attribute_value_string(), BED_TYPE_ATTR, Slic3r::btPC, Slic3r::ByLayer, ENABLE_FILAMENT_DYNAMIC_MAP_ATTR, Slic3r::filament_map(), FILAMENT_MAP_ATTR, FILAMENT_MAP_MODE_ATTR, FILAMENT_VOL_MAP_ATTR, FIRST_LAYER_PRINT_SEQUENCE_ATTR, Slic3r::fmmAutoForFlush, Slic3r::ConfigOptionEnum< T >::from_string(), GCODE_FILE_ATTR, HAS_FILAMENT_SWITCHER_ATTR, IDENTIFYID_ATTR, IMEX_HEAD_FILAMENT_MAP_ATTR, IMEX_PARALLEL_MODE_ATTR, INSTANCEID_ATTR, IXEX_PARALLEL_MODE_ATTR_LEGACY, KEY_ATTR, LABEL_OBJECT_ENABLED_ATTR, LOCK_ATTR, m_curr_config, m_curr_instance, m_curr_plater, m_objects_metadata, m_parsing_slice_info, m_plater_data, NO_LIGHT_THUMBNAIL_FILE_ATTR, NOZZLE_DIAMETERS_ATTR, NOZZLE_VOLUME_TYPE_ATTR, OBJECT_ID_ATTR, OTHER_LAYERS_PRINT_SEQUENCE_ATTR, OTHER_LAYERS_PRINT_SEQUENCE_NUMS_ATTR, OUTSIDE_ATTR, PATTERN_BBOX_FILE_ATTR, PICK_FILE_ATTR, PLATE_IDX_ATTR, PLATER_NAME_ATTR, PLATERID_ATTR, Slic3r::print_sequence(), PRINT_SEQUENCE_ATTR, PRINTER_MODEL_ID_ATTR, SLICE_PREDICTION_ATTR, SLICE_WEIGHT_ATTR, SPIRAL_VASE_MODE, SUPPORT_USED_ATTR, THUMBNAIL_FILE_ATTR, TOP_FILE_ATTR, VALUE_ATTR, and Slic3r::xml_unescape().
Referenced by _handle_start_config_metadata(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_mixed_filament(), bbs_get_attribute_value_string(), Slic3r::PlateMixedFilamentInfo::color, Slic3r::PlateMixedFilamentInfo::components, FILAMENT_COLOR_TAG, FILAMENT_ID_TAG, FILAMENT_TYPE_TAG, Slic3r::PlateMixedFilamentInfo::id, m_curr_plater, MIXED_FILAMENT_COMPONENTS_TAG, and Slic3r::PlateMixedFilamentInfo::type.
Referenced by _handle_start_config_mixed_filament(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_nozzle(), bbs_get_attribute_value_string(), Slic3r::MultiNozzleUtils::NozzleInfo::diameter, Slic3r::MultiNozzleUtils::NozzleInfo::extruder_id, Slic3r::ConfigOptionEnum< T >::get_enum_values(), Slic3r::MultiNozzleUtils::NozzleInfo::group_id, m_curr_plater, Slic3r::nozzle_diameter(), Slic3r::nvtStandard, and Slic3r::MultiNozzleUtils::NozzleInfo::volume_type.
Referenced by _handle_start_config_nozzle(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_object(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::_BBS_3MF_Importer::ObjectMetadata::auto_drop, AUTO_DROP_ATTR, bbs_get_attribute_value_bool(), bbs_get_attribute_value_charptr(), bbs_get_attribute_value_int(), ID_ATTR, m_curr_config, m_objects_metadata, and m_parsing_slice_info.
Referenced by _handle_start_config_object(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_plater(), m_curr_plater, and m_parsing_slice_info.
Referenced by _handle_start_config_plater(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_plater_instance(), Slic3r::_BBS_3MF_Base::add_error(), and m_curr_plater.
Referenced by _handle_start_config_plater_instance(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_volume(), Slic3r::_BBS_3MF_Base::add_error(), bbs_get_attribute_value_int(), bbs_get_attribute_value_string(), FIRST_TRIANGLE_ID_ATTR, ID_ATTR, LAST_TRIANGLE_ID_ATTR, m_curr_config, m_objects_metadata, SUBTYPE_ATTR, and Slic3r::ModelVolume::type_from_string().
Referenced by _handle_start_config_volume(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_volume_mesh(), Slic3r::_BBS_3MF_Base::add_error(), bbs_get_attribute_value_int(), m_curr_config, m_objects_metadata, MESH_STAT_BACKWARDS_EDGES, MESH_STAT_DEGENERATED_FACETS, MESH_STAT_EDGES_FIXED, MESH_STAT_FACETS_REMOVED, MESH_STAT_FACETS_RESERVED, and Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::mesh_stats.
Referenced by _handle_start_config_volume_mesh(), and _handle_start_config_xml_element().
|
private |
References _handle_start_config_warning(), bbs_get_attribute_value_string(), Slic3r::GCodeProcessorResult::SliceWarning::level, m_curr_plater, Slic3r::GCodeProcessorResult::SliceWarning::msg, and WARNING_MSG_TAG.
Referenced by _handle_start_config_warning(), and _handle_start_config_xml_element().
|
private |
References _handle_start_assemble(), _handle_start_assemble_item(), _handle_start_config(), _handle_start_config_filament(), _handle_start_config_metadata(), _handle_start_config_mixed_filament(), _handle_start_config_nozzle(), _handle_start_config_object(), _handle_start_config_plater(), _handle_start_config_plater_instance(), _handle_start_config_volume(), _handle_start_config_volume_mesh(), _handle_start_config_warning(), _handle_start_config_xml_element(), _handle_start_shape_configuration(), _handle_start_text_configuration(), _handle_start_text_info_item(), _stop_xml_parser(), ASSEMBLE_ITEM_TAG, ASSEMBLE_TAG, CONFIG_TAG, FILAMENT_TAG, INSTANCE_TAG, m_xml_parser, MESH_STAT_TAG, METADATA_TAG, MIXED_FILAMENT_TAG, NOZZLE_TAG, OBJECT_TAG, PART_TAG, PLATE_TAG, SHAPE_TAG, SLICE_WARNING_TAG, TEXT_INFO_TAG, TEXT_TAG, and VOLUME_TAG.
Referenced by _handle_start_config_xml_element(), _handle_start_config_xml_element(), and load_gcode_3mf_from_stream().
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_start_config_xml_element().
|
private |
References _create_object_instance(), _handle_start_item(), AUTO_DROP_ATTR, bbs_get_attribute_value_bool(), bbs_get_attribute_value_charptr(), bbs_get_attribute_value_int(), bbs_get_attribute_value_string(), bbs_get_transform_from_3mf_specs_string(), m_items_auto_drop_off, m_load_model, OBJECTID_ATTR, PPATH_ATTR, PRINTABLE_ATTR, Slic3r::transform(), and TRANSFORM_ATTR.
Referenced by _handle_start_item(), and _handle_start_model_xml_element().
|
private |
References _handle_start_mesh(), and m_curr_object.
Referenced by _handle_start_mesh(), and _handle_start_model_xml_element().
|
private |
References _handle_start_metadata(), bbs_get_attribute_value_string(), m_curr_characters, m_curr_metadata_name, and NAME_ATTR.
Referenced by _handle_start_metadata(), and _handle_start_model_xml_element().
|
private |
References _handle_start_model(), bbs_get_attribute_value_string(), bbs_get_unit_factor(), m_unit_factor, and UNIT_ATTR.
Referenced by _handle_start_model(), and _handle_start_model_xml_element().
|
private |
References _handle_start_build(), _handle_start_color(), _handle_start_color_group(), _handle_start_component(), _handle_start_components(), _handle_start_item(), _handle_start_mesh(), _handle_start_metadata(), _handle_start_model(), _handle_start_model_xml_element(), _handle_start_object(), _handle_start_resources(), _handle_start_triangle(), _handle_start_triangles(), _handle_start_vertex(), _handle_start_vertices(), _stop_xml_parser(), BUILD_TAG, COLOR_GROUP_TAG, COLOR_TAG, COMPONENT_TAG, COMPONENTS_TAG, ITEM_TAG, m_xml_parser, MESH_TAG, METADATA_TAG, MODEL_TAG, OBJECT_TAG, RESOURCES_TAG, TRIANGLE_TAG, TRIANGLES_TAG, VERTEX_TAG, and VERTICES_TAG.
Referenced by _extract_model_from_archive(), _handle_start_model_xml_element(), and _handle_start_model_xml_element().
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_start_model_xml_element().
|
private |
References _handle_start_object(), bbs_get_attribute_value_int(), bbs_get_attribute_value_string(), bbs_is_valid_object_type(), ID_ATTR, m_curr_object, NAME_ATTR, PID_ATTR, PUUID_ATTR, PUUID_LOWER_ATTR, and TYPE_ATTR.
Referenced by _handle_start_model_xml_element(), and _handle_start_object().
|
private |
References _handle_start_relationship(), bbs_get_attribute_value_string(), m_start_part_path, m_sub_model_paths, m_thumbnail_middle, m_thumbnail_path, m_thumbnail_small, RELS_TYPE_ATTR, and TARGET_ATTR.
Referenced by _handle_start_relationship(), and _handle_start_relationships_element().
|
private |
References _handle_start_relationship(), _handle_start_relationships_element(), _stop_xml_parser(), m_curr_characters, m_xml_parser, and RELATIONSHIP_TAG.
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_start_relationships_element().
Referenced by _handle_start_relationships_element(), _handle_start_relationships_element(), _load_model_from_file(), get_thumbnail(), and load_gcode_3mf_from_stream().
|
private |
References _handle_start_resources().
Referenced by _handle_start_model_xml_element(), and _handle_start_resources().
|
private |
References _handle_start_shape_configuration(), Slic3r::_BBS_3MF_Base::add_error(), m_curr_config, m_objects_metadata, m_path_to_emboss_shape_files, Slic3r::read_emboss_shape(), and Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::shape_configuration.
Referenced by _handle_start_config_xml_element(), and _handle_start_shape_configuration().
|
private |
References _handle_start_text_configuration(), Slic3r::_BBS_3MF_Base::add_error(), m_curr_config, m_objects_metadata, Slic3r::TextConfigurationSerialization::read(), Slic3r::TextConfigurationSerialization::read_old(), Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::shape_configuration, and Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::text_configuration.
Referenced by _handle_start_config_xml_element(), and _handle_start_text_configuration().
|
private |
References _handle_start_text_info_item(), Slic3r::_BBS_3MF_Base::add_error(), m_curr_config, m_objects_metadata, and Slic3r::_BBS_3MF_Importer::ObjectMetadata::VolumeMetadata::text_configuration.
Referenced by _handle_start_config_xml_element(), and _handle_start_text_info_item().
|
private |
References _handle_start_triangle(), bbs_get_attribute_value_charptr(), bbs_get_attribute_value_int(), bbs_get_attribute_value_string(), CUSTOM_FUZZY_SKIN_ATTR, CUSTOM_SEAM_ATTR, CUSTOM_SUPPORTS_ATTR, FACE_PROPERTY_ATTR, m_curr_object, MMU_SEGMENTATION_ATTR, TEXTURE_DISPLACEMENT_ATTRS, Slic3r::TEXTURE_DISPLACEMENT_MAX_LAYERS, V1_ATTR, V2_ATTR, and V3_ATTR.
Referenced by _handle_start_model_xml_element(), and _handle_start_triangle().
|
private |
References _handle_start_triangles(), and m_curr_object.
Referenced by _handle_start_model_xml_element(), and _handle_start_triangles().
|
private |
References _handle_start_vertex(), _stop_xml_parser(), bbs_get_attribute_value_float(), m_curr_object, m_unit_factor, X_ATTR, Y_ATTR, and Z_ATTR.
Referenced by _handle_start_model_xml_element(), and _handle_start_vertex().
|
private |
References _handle_start_vertices(), and m_curr_object.
Referenced by _handle_start_model_xml_element(), and _handle_start_vertices().
|
private |
References _handle_xml_characters(), and m_curr_characters.
Referenced by _extract_model_from_archive(), _extract_xml_from_archive(), _handle_xml_characters(), and _handle_xml_characters().
|
staticprivate |
References _BBS_3MF_Importer(), and _handle_xml_characters().
|
inlineprivate |
References Slic3r::is_published_3mf_flag(), Slic3r::ModelInfo::metadata_items, and Slic3r::ORCA_PUBLISHED_TAG.
Referenced by _handle_end_model().
|
private |
References _is_svg_shape_file(), and MODEL_FOLDER.
Referenced by _is_svg_shape_file().
|
private |
References _extract_from_archive(), _extract_model_from_archive(), _extract_xml_from_archive(), _handle_end_relationships_element(), _handle_start_relationships_element(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::close_zip_reader(), Slic3r::IMPORT_STAGE_OPEN, Slic3r::IMPORT_STAGE_READ_FILES, Slic3r::IMPORT_STAGE_RESTORE, m_current_objects, m_group_id_to_color, m_load_restore, m_name, m_object_importers, m_start_part_path, m_sub_model_path, m_sub_model_paths, Slic3r::_BBS_3MF_Base::mutex, Slic3r::open_zip_reader(), and RELATIONSHIPS_FILE.
Referenced by load_model_from_file().
|
private |
References m_parse_error, m_parse_error_message, and m_xml_parser.
Referenced by _handle_end_config_xml_element(), _handle_end_model_xml_element(), _handle_end_relationships_element(), _handle_start_config_xml_element(), _handle_start_model_xml_element(), _handle_start_relationships_element(), and _handle_start_vertex().
|
inlineprotectedinherited |
References m_errors, and mutex.
Referenced by Slic3r::_BBS_3MF_Exporter::_add_bbox_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_brim_ear_points_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_cad_recipe_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_content_types_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_custom_gcode_per_print_z_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_cut_information_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_filament_sequence_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_layer_config_ranges_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_layer_height_profile_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_mesh_to_object_stream(), Slic3r::_BBS_3MF_Exporter::_add_model_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_model_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_object_to_model_stream(), Slic3r::_BBS_3MF_Exporter::_add_print_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_relationships_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive(), Slic3r::_BBS_3MF_Exporter::_add_thumbnail_file_to_archive(), Slic3r::_BBS_3MF_Importer::_apply_texture_displacement(), Slic3r::_BBS_3MF_Importer::_create_object_instance(), Slic3r::_BBS_3MF_Importer::_extract_auxiliary_file_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_brim_ear_points_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_custom_gcode_per_print_z_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_cut_information_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_embossed_svg_shape_file(), Slic3r::_BBS_3MF_Importer::_extract_filament_sequence_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_file_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_layer_config_ranges_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_layer_heights_profile_config_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_model_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_print_config_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_project_config_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_project_embedded_presets_from_archive(), Slic3r::_BBS_3MF_Importer::_extract_xml_from_archive(), Slic3r::_BBS_3MF_Importer::_generate_current_object_list(), Slic3r::_BBS_3MF_Importer::_generate_volumes_new(), Slic3r::_BBS_3MF_Importer::_handle_end_config_plater(), Slic3r::_BBS_3MF_Importer::_handle_end_config_plater_instance(), Slic3r::_BBS_3MF_Importer::_handle_end_model(), Slic3r::_BBS_3MF_Importer::_handle_end_object(), Slic3r::_BBS_3MF_Importer::_handle_start_assemble_item(), Slic3r::_BBS_3MF_Importer::_handle_start_config_metadata(), Slic3r::_BBS_3MF_Importer::_handle_start_config_object(), Slic3r::_BBS_3MF_Importer::_handle_start_config_plater_instance(), Slic3r::_BBS_3MF_Importer::_handle_start_config_volume(), Slic3r::_BBS_3MF_Importer::_handle_start_config_volume_mesh(), Slic3r::_BBS_3MF_Importer::_handle_start_shape_configuration(), Slic3r::_BBS_3MF_Importer::_handle_start_text_configuration(), Slic3r::_BBS_3MF_Importer::_handle_start_text_info_item(), Slic3r::_BBS_3MF_Importer::_load_model_from_file(), Slic3r::_BBS_3MF_Exporter::_save_model_to_file(), Slic3r::_BBS_3MF_Importer::get_thumbnail(), Slic3r::_BBS_3MF_Importer::load_gcode_3mf_from_stream(), Slic3r::_BBS_3MF_Exporter::save_model_to_file(), and Slic3r::_BBS_3MF_Exporter::save_object_mesh().
|
inlineprotectedinherited |
References m_errors.
Referenced by Slic3r::_BBS_3MF_Importer::~_BBS_3MF_Importer(), Slic3r::_BBS_3MF_Importer::load_model_from_file(), and Slic3r::_BBS_3MF_Exporter::save_model_to_file().
| bool Slic3r::_BBS_3MF_Importer::get_thumbnail | ( | const std::string & | filename, |
| std::string & | data ) |
References _extract_from_archive(), _extract_xml_from_archive(), _handle_end_relationships_element(), _handle_start_relationships_element(), Slic3r::_BBS_3MF_Base::add_error(), Slic3r::close_zip_reader(), m_thumbnail_middle, m_thumbnail_path, Slic3r::open_zip_reader(), RELATIONSHIPS_FILE, and THUMBNAIL_FILE.
Referenced by Slic3r::bbs_3mf_get_thumbnail().
| bool Slic3r::_BBS_3MF_Importer::load_gcode_3mf_from_stream | ( | std::istream & | data, |
| Model & | model, | ||
| PlateDataPtrs & | plate_data_list, | ||
| DynamicPrintConfig & | config, | ||
| Semver & | file_version ) |
References _extract_filament_sequence_from_archive(), _extract_from_archive(), _extract_model_from_archive(), _extract_project_config_from_archive(), _extract_xml_from_archive(), _handle_end_config_xml_element(), _handle_end_relationships_element(), _handle_start_config_xml_element(), _handle_start_relationships_element(), Slic3r::_BBS_3MF_Base::add_error(), BBS_MODEL_CONFIG_FILE, BBS_PROJECT_CONFIG_FILE, Slic3r::PlateData::config, Slic3r::Disable, Slic3r::PlateData::filament_change_sequence, Slic3r::PlateData::filament_maps, FILAMENT_SEQUENCE_FILE, Slic3r::PlateData::gcode_file, Slic3r::PlateData::gcode_prediction, Slic3r::PlateData::gcode_weight, Slic3r::PlateData::is_label_object_enabled, Slic3r::PlateData::is_support_used, Slic3r::PlateData::locked, m_designer, m_designer_user_id, m_model, m_parsing_slice_info, m_plater_data, m_profile_cover, m_Profile_description, m_profile_title, m_profile_user_id, m_profile_user_name, m_start_part_path, m_thumbnail_middle, m_thumbnail_path, m_thumbnail_small, model_info, Slic3r::mz_zip_read_istream(), Slic3r::PlateData::no_light_thumbnail_file, Slic3r::PlateData::nozzle_change_sequence, Slic3r::PlateData::nozzle_diameters, Slic3r::PlateData::nozzle_volume_types, Slic3r::PlateData::nozzles_info, Slic3r::PlateData::obj_inst_map, Slic3r::PlateData::optimal_assignment, Slic3r::PlateData::pattern_bbox_file, Slic3r::PlateData::pick_file, Slic3r::PlateData::plate_index, Slic3r::PlateData::printer_model_id, RELATIONSHIPS_FILE, Slic3r::PlateData::skipped_objects, Slic3r::PlateData::slice_filaments_info, SLICE_INFO_CONFIG_FILE, Slic3r::PlateData::thumbnail_file, Slic3r::PlateData::toolpath_outside, Slic3r::PlateData::top_file, and Slic3r::PlateData::warnings.
Referenced by Slic3r::load_gcode_3mf_from_stream().
| bool Slic3r::_BBS_3MF_Importer::load_model_from_file | ( | const std::string & | filename, |
| Model & | model, | ||
| PlateDataPtrs & | plate_data_list, | ||
| std::vector< Preset * > & | project_presets, | ||
| DynamicPrintConfig & | config, | ||
| ConfigSubstitutionContext & | config_substitutions, | ||
| LoadStrategy | strategy, | ||
| bool * | is_bbl_3mf, | ||
| bool * | is_orca_3mf, | ||
| Semver & | file_version, | ||
| Import3mfProgressFn | proFn = nullptr, | ||
| BBLProject * | project = nullptr, | ||
| int | plate_id = 0 ) |
References _load_model_from_file(), Slic3r::CheckVersion, Slic3r::_BBS_3MF_Base::clear_errors(), Slic3r::Model::get_backup_path(), Slic3r::get_current_pid(), Slic3r::load_string_file(), Slic3r::LoadAuxiliary, Slic3r::LoadConfig, Slic3r::LoadModel, m_backup_path, m_bambuslicer_generator_version, m_brim_ear_points, m_check_version, m_curr_characters, m_curr_config, m_curr_instance, m_curr_metadata_name, m_curr_object, m_current_objects, m_fdm_supports_painting_version, m_index_paths, m_instances, m_is_bbl_3mf, m_items_auto_drop_off, m_layer_config_ranges, m_layer_heights_profiles, m_load_aux, m_load_config, m_load_model, m_load_restore, m_mm_painting_version, m_model, m_objects, m_objects_metadata, m_orca_slicer_version, m_origin_file, m_plater_data, m_seam_painting_version, m_unit_factor, m_version, Slic3r::Restore, Slic3r::save_string_file(), and Slic3r::Model::set_backup_path().
Referenced by Slic3r::load_bbs_3mf().
|
inlineinherited |
References m_errors.
Referenced by Slic3r::bbs_3mf_get_thumbnail(), Slic3r::load_bbs_3mf(), Slic3r::load_gcode_3mf_from_stream(), and Slic3r::store_bbs_3mf().
|
inlineprivate |
References m_parse_error.
|
inlineprivate |
References m_parse_error, m_parse_error_message, and m_xml_parser.
|
inline |
References m_version.
Referenced by _extract_brim_ear_points_from_archive(), and _extract_project_embedded_presets_from_archive().
|
private |
|
private |
Referenced by _handle_end_metadata(), and load_model_from_file().
|
private |
Referenced by _extract_brim_ear_points_from_archive(), and load_model_from_file().
|
private |
Referenced by _BBS_3MF_Importer(), and load_model_from_file().
|
private |
Referenced by _handle_end_metadata().
|
private |
|
private |
Referenced by _handle_end_config_object(), _handle_end_config_volume(), _handle_start_config_metadata(), _handle_start_config_object(), _handle_start_config_volume(), _handle_start_config_volume_mesh(), _handle_start_shape_configuration(), _handle_start_text_configuration(), _handle_start_text_info_item(), and load_model_from_file().
|
private |
Referenced by _handle_end_config_plater_instance(), _handle_start_config_metadata(), and load_model_from_file().
|
private |
Referenced by _BBS_3MF_Importer(), ~_BBS_3MF_Importer(), _handle_end_metadata(), _handle_start_metadata(), and load_model_from_file().
|
private |
Referenced by ~_BBS_3MF_Importer(), _handle_end_object(), _handle_start_component(), _handle_start_components(), _handle_start_mesh(), _handle_start_object(), _handle_start_triangle(), _handle_start_triangles(), _handle_start_vertex(), _handle_start_vertices(), and load_model_from_file().
|
private |
Referenced by _BBS_3MF_Importer(), _handle_end_config_plater(), _handle_end_config_plater_instance(), _handle_start_config_filament(), _handle_start_config_metadata(), _handle_start_config_mixed_filament(), _handle_start_config_nozzle(), _handle_start_config_plater(), _handle_start_config_plater_instance(), and _handle_start_config_warning().
|
private |
Referenced by _handle_start_color(), and _handle_start_color_group().
|
private |
|
private |
Referenced by _extract_cut_information_from_archive().
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
private |
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
mutableprivateinherited |
Referenced by add_error(), clear_errors(), and log_errors().
|
private |
Referenced by load_model_from_file().
|
private |
Referenced by _handle_start_color(), and _load_model_from_file().
|
private |
Referenced by ~_BBS_3MF_Importer(), _handle_end_model(), _handle_start_assemble_item(), and load_model_from_file().
|
private |
Referenced by ~_BBS_3MF_Importer(), _create_object_instance(), _handle_end_model(), and load_model_from_file().
|
private |
Referenced by _create_object_instance(), _handle_end_metadata(), _handle_end_model(), _handle_end_object(), and load_model_from_file().
|
private |
Referenced by ~_BBS_3MF_Importer(), _handle_start_item(), and load_model_from_file().
|
private |
Referenced by _extract_layer_config_ranges_from_archive(), and load_model_from_file().
|
private |
Referenced by _extract_layer_heights_profile_config_from_archive(), and load_model_from_file().
|
private |
Referenced by load_model_from_file().
|
private |
Referenced by load_model_from_file().
|
private |
Referenced by _handle_end_object(), _handle_start_assemble_item(), _handle_start_item(), and load_model_from_file().
|
private |
Referenced by _handle_end_object(), _load_model_from_file(), and load_model_from_file().
|
private |
Referenced by load_model_from_file().
|
private |
|
private |
Referenced by _handle_end_metadata().
|
private |
Referenced by _BBS_3MF_Importer(), _handle_end_model(), and _load_model_from_file().
|
private |
Referenced by _load_model_from_file().
|
private |
|
private |
|
private |
Referenced by _handle_end_metadata(), and load_model_from_file().
|
private |
Referenced by _extract_from_archive(), and load_model_from_file().
|
private |
Referenced by _stop_xml_parser(), parse_error(), and parse_error_message().
|
private |
Referenced by _stop_xml_parser(), and parse_error_message().
|
private |
Referenced by _handle_start_config_metadata(), _handle_start_config_object(), _handle_start_config_plater(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _extract_embossed_svg_shape_file(), and _handle_start_shape_configuration().
|
private |
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
private |
Referenced by load_model_from_file().
|
private |
Referenced by _generate_volumes_new().
|
private |
Referenced by _handle_start_relationship(), _load_model_from_file(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_end_model(), _handle_end_object(), _handle_start_component(), and _load_model_from_file().
|
private |
Referenced by _handle_start_relationship(), and _load_model_from_file().
|
private |
Referenced by _apply_texture_displacement().
|
private |
Referenced by _handle_start_relationship(), get_thumbnail(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_start_relationship(), get_thumbnail(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _handle_start_relationship(), and load_gcode_3mf_from_stream().
|
private |
Referenced by _BBS_3MF_Importer(), _handle_start_model(), _handle_start_vertex(), and load_model_from_file().
|
private |
Referenced by _BBS_3MF_Importer(), _handle_end_metadata(), load_model_from_file(), and version().
|
private |
Referenced by _BBS_3MF_Importer(), _destroy_xml_parser(), _extract_model_from_archive(), _extract_xml_from_archive(), _handle_end_config_xml_element(), _handle_end_model_xml_element(), _handle_end_relationships_element(), _handle_start_config_xml_element(), _handle_start_model_xml_element(), _handle_start_relationships_element(), _stop_xml_parser(), and parse_error_message().
|
private |
Referenced by _handle_end_metadata(), and load_gcode_3mf_from_stream().
|
mutableprivateinherited |
|
private |