#include "../libslic3r.h"#include "../Exception.hpp"#include "../IMEXHelpers.hpp"#include "../Model.hpp"#include "../Preset.hpp"#include "../Utils.hpp"#include "../LocalesUtils.hpp"#include "../FilamentMixer.hpp"#include "../GCode.hpp"#include "../Geometry.hpp"#include "../GCode/ThumbnailData.hpp"#include "../Semver.hpp"#include "../I18N.hpp"#include "libslic3r/Point.hpp"#include "libslic3r/GCode/GCodeProcessor.hpp"#include "libslic3r/PrintConfig.hpp"#include "libslic3r/MultiNozzleUtils.hpp"#include "libslic3r/TriangleMesh.hpp"#include "libslic3r/ObjectID.hpp"#include "libslic3r/Slicing.hpp"#include "libslic3r/BrimEarsPoint.hpp"#include "libslic3r/Config.hpp"#include "libslic3r/CustomGCode.hpp"#include "libslic3r/TextureDisplacement.hpp"#include "libslic3r_version.h"#include "bbs_3mf.hpp"#include <boost/assert/source_location.hpp>#include <ios>#include <cstring>#include <boost/spirit/home/qi/parse.hpp>#include <boost/spirit/home/qi/numeric/int.hpp>#include <cstdlib>#include <cstddef>#include <boost/algorithm/string/constants.hpp>#include <algorithm>#include <boost/thread/lock_types.hpp>#include <cassert>#include <boost/optional/optional.hpp>#include <istream>#include <functional>#include <boost/algorithm/string/find.hpp>#include <cstdio>#include <exception>#include <boost/filesystem/fstream.hpp>#include <cstdint>#include <boost/spirit/home/karma/generate.hpp>#include <boost/spirit/home/support/common_terminals.hpp>#include <boost/spirit/home/karma.hpp>#include <deque>#include <boost/filesystem/directory.hpp>#include <boost/system/errc.hpp>#include <boost/thread/lock_guard.hpp>#include <boost/date_time/posix_time/posix_time_duration.hpp>#include <boost/date_time/posix_time/posix_time_types.hpp>#include <boost/date_time/posix_time/ptime.hpp>#include <boost/thread/thread_time.hpp>#include <boost/core/ref.hpp>#include <boost/assign/list_of.hpp>#include <cmath>#include <limits>#include <miniz.h>#include <ostream>#include <sstream>#include <set>#include <memory>#include <optional>#include <map>#include <list>#include <stdexcept>#include <iomanip>#include <regex>#include <boost/assign.hpp>#include <boost/bimap.hpp>#include <boost/algorithm/string/classification.hpp>#include <boost/algorithm/string/split.hpp>#include <boost/algorithm/string/predicate.hpp>#include <boost/algorithm/string/replace.hpp>#include <boost/filesystem/operations.hpp>#include <boost/lexical_cast.hpp>#include <boost/nowide/fstream.hpp>#include <boost/nowide/cstdio.hpp>#include <boost/spirit/include/karma.hpp>#include <boost/spirit/include/qi_int.hpp>#include <boost/log/trivial.hpp>#include <boost/beast/core/detail/base64.hpp>#include <boost/property_tree/ptree.hpp>#include <boost/property_tree/xml_parser.hpp>#include <boost/foreach.hpp>#include <openssl/md5.h>#include <string>#include <vector>#include <utility>#include <string_view>#include <tbb/blocked_range.h>#include <tbb/parallel_for.h>#include <tbb/parallel_reduce.h>#include <expat.h>#include <Eigen/Dense>#include "miniz_extension.hpp"#include "nlohmann/json.hpp"#include "TextConfiguration.hpp"#include "EmbossShape.hpp"#include "ExPolygonSerialize.hpp"#include "NSVGUtils.hpp"#include <fast_float/fast_float.h>#include "libslic3r/ProjectTask.hpp"Go to the source code of this file.
Namespaces | |
| namespace | std |
| STL namespace. | |
| namespace | Slic3r |
| |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/ | |
| namespace | Slic3r::anonymous_namespace{bbs_3mf.cpp} |
Macros | |
| #define | EXPORT_3MF_USE_SPIRIT_KARMA_FP 0 |
| #define | WRITE_ZIP_LANGUAGE_ENCODING 1 |
| #define | L(s) |
| macro used to mark string used at localization, return same string | |
| #define | _(s) |
Functions | |
| template<class _Elem, class _Traits, class _Arg> | |
| basic_ostream< _Elem, _Traits > & | std::operator<< (basic_ostream< _Elem, _Traits > &ostr, const hex_wrap< _Arg > &wrap) |
| const char * | bbs_get_attribute_value_charptr (const char **attributes, unsigned int attributes_size, const char *attribute_key) |
| std::string | bbs_get_attribute_value_string (const char **attributes, unsigned int attributes_size, const char *attribute_key) |
| float | bbs_get_attribute_value_float (const char **attributes, unsigned int attributes_size, const char *attribute_key) |
| int | bbs_get_attribute_value_int (const char **attributes, unsigned int attributes_size, const char *attribute_key) |
| bool | bbs_get_attribute_value_bool (const char **attributes, unsigned int attributes_size, const char *attribute_key) |
| void | add_vec3 (std::stringstream &stream, const Slic3r::Vec3f &tr) |
| template<typename T> | |
| void | add_vector (std::stringstream &stream, const std::vector< T > &values) |
| std::vector< int > | parse_int_list (const std::string &value) |
| std::string | join_int_list_comma (const std::vector< int > &values) |
| Slic3r::Vec3f | get_vec3_from_string (const std::string &pos_str) |
| Slic3r::Transform3d | bbs_get_transform_from_3mf_specs_string (const std::string &mat_str) |
| Slic3r::Vec3d | bbs_get_offset_from_3mf_specs_string (const std::string &vec_str) |
| float | bbs_get_unit_factor (const std::string &unit) |
| bool | bbs_is_valid_object_type (const std::string &type) |
| bool | Slic3r::is_published_3mf_flag (const std::string &value) |
| static size_t | Slic3r::mz_zip_read_istream (void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) |
| static void | Slic3r::check_painting_version (unsigned int loaded_version, unsigned int highest_supported_version, const std::string &error_msg) |
| static void | Slic3r::to_xml (std::stringstream &stream, const EmbossShape &es, const ModelVolume &volume, mz_zip_archive &archive, bool export_full_path) |
| static std::optional< EmbossShape > | Slic3r::read_emboss_shape (const char **attributes, unsigned int num_attributes) |
| static void | Slic3r::reset_stream (std::stringstream &stream) |
| boost::filesystem::path | Slic3r::get_dealed_platform_path (std::string path_str) |
| static void | Slic3r::add_texture_displacement (std::stringstream &stream, const ModelVolume &volume, mz_zip_archive &archive, const std::string &id) |
| static std::string | Slic3r::sanitize_object_label (const std::string &name) |
| static void | Slic3r::handle_legacy_project_loaded (unsigned int version_project_file, DynamicPrintConfig &config) |
| bool | Slic3r::load_bbs_3mf (const char *path, DynamicPrintConfig *config, ConfigSubstitutionContext *config_substitutions, Model *model, PlateDataPtrs *plate_data_list, std::vector< Preset * > *project_presets, bool *is_bbl_3mf, bool *is_orca_3mf, Semver *file_version, Import3mfProgressFn proFn, LoadStrategy strategy, BBLProject *project, int plate_id) |
| std::string | Slic3r::bbs_3mf_get_thumbnail (const char *path) |
| bool | Slic3r::bbs_3mf_is_published (const std::string &path) |
| bool | Slic3r::load_gcode_3mf_from_stream (std::istream &data, DynamicPrintConfig *config, Model *model, PlateDataPtrs *plate_data_list, Semver *file_version) |
| bool | Slic3r::store_bbs_3mf (StoreParams &store_params) |
| void | Slic3r::release_PlateData_list (PlateDataPtrs &plate_data_list) |
| void | Slic3r::save_object_mesh (ModelObject &object) |
| void | Slic3r::delete_object_mesh (ModelObject &object) |
| void | Slic3r::backup_soon () |
| void | Slic3r::remove_backup (Model &model, bool removeAll) |
| void | Slic3r::set_backup_interval (long interval) |
| void | Slic3r::set_backup_callback (std::function< void(int)> callback) |
| void | Slic3r::run_backup_ui_tasks () |
| bool | Slic3r::has_restore_data (std::string &path, std::string &origin) |
| void | Slic3r::put_other_changes () |
| void | Slic3r::clear_other_changes (bool backup) |
| bool | Slic3r::has_other_changes (bool backup) |
| template<typename F, typename S> | |
| F | Slic3r::anonymous_namespace{bbs_3mf.cpp}::bimap_cvt (const boost::bimap< F, S > &bmap, S s, const F &def_value) |
| template<typename F, typename S> | |
| S | Slic3r::anonymous_namespace{bbs_3mf.cpp}::bimap_cvt (const boost::bimap< F, S > &bmap, F f, const S &def_value) |
| FontProp::HorizontalAlign | Slic3r::anonymous_namespace{bbs_3mf.cpp}::read_horizontal_align (const char **attributes, unsigned int num_attributes, const TextConfigurationSerialization::HorizontalAlignToName &horizontal_align_to_name) |
| FontProp::VerticalAlign | Slic3r::anonymous_namespace{bbs_3mf.cpp}::read_vertical_align (const char **attributes, unsigned int num_attributes, const TextConfigurationSerialization::VerticalAlignToName &vertical_align_to_name) |
| Transform3d | Slic3r::anonymous_namespace{bbs_3mf.cpp}::create_fix (const std::optional< Transform3d > &prev, const ModelVolume &volume) |
| bool | Slic3r::anonymous_namespace{bbs_3mf.cpp}::to_xml (std::stringstream &stream, const EmbossShape::SvgFile &svg, const ModelVolume &volume, mz_zip_archive &archive, bool export_full_path) |
Variables | |
| const unsigned int | VERSION_BBS_3MF = 1 |
| const unsigned int | VERSION_BBS_3MF_COMPATIBLE = 2 |
| const char * | BBS_3MF_VERSION1 = "bamboo_slicer:Version3mf" |
| const char * | BBS_3MF_VERSION = "BambuStudio:3mfVersion" |
| const unsigned int | FDM_SUPPORTS_PAINTING_VERSION = 0 |
| const unsigned int | SEAM_PAINTING_VERSION = 0 |
| const unsigned int | MM_PAINTING_VERSION = 0 |
| const std::string | BBS_FDM_SUPPORTS_PAINTING_VERSION = "BambuStudio:FdmSupportsPaintingVersion" |
| const std::string | BBS_SEAM_PAINTING_VERSION = "BambuStudio:SeamPaintingVersion" |
| const std::string | BBS_MM_PAINTING_VERSION = "BambuStudio:MmPaintingVersion" |
| const std::string | BBL_MODEL_ID_TAG = "model_id" |
| const std::string | BBL_MODEL_NAME_TAG = "Title" |
| const std::string | BBL_ORIGIN_TAG = "Origin" |
| const std::string | BBL_DESIGNER_TAG = "Designer" |
| const std::string | BBL_DESIGNER_USER_ID_TAG = "DesignerUserId" |
| const std::string | BBL_DESIGNER_COVER_FILE_TAG = "DesignerCover" |
| const std::string | BBL_DESCRIPTION_TAG = "Description" |
| const std::string | BBL_COPYRIGHT_TAG = "CopyRight" |
| const std::string | BBL_COPYRIGHT_NORMATIVE_TAG = "Copyright" |
| const std::string | BBL_LICENSE_TAG = "License" |
| const std::string | BBL_REGION_TAG = "Region" |
| const std::string | BBL_MODIFICATION_TAG = "ModificationDate" |
| const std::string | BBL_CREATION_DATE_TAG = "CreationDate" |
| const std::string | BBL_APPLICATION_TAG = "Application" |
| const std::string | ORCASLICER_TAG = "OrcaSlicer" |
| const std::string | BBL_MAKERLAB_TAG = "MakerLab" |
| const std::string | BBL_MAKERLAB_VERSION_TAG = "MakerLabVersion" |
| const std::string | BBL_PROFILE_TITLE_TAG = "ProfileTitle" |
| const std::string | BBL_PROFILE_COVER_TAG = "ProfileCover" |
| const std::string | BBL_PROFILE_DESCRIPTION_TAG = "ProfileDescription" |
| const std::string | BBL_PROFILE_USER_ID_TAG = "ProfileUserId" |
| const std::string | BBL_PROFILE_USER_NAME_TAG = "ProfileUserName" |
| const std::string | MODEL_FOLDER = "3D/" |
| const std::string | MODEL_EXTENSION = ".model" |
| const std::string | MODEL_FILE = "3D/3dmodel.model" |
| const std::string | MODEL_RELS_FILE = "3D/_rels/3dmodel.model.rels" |
| const std::string | METADATA_DIR = "Metadata/" |
| const std::string | ACCESOR_DIR = "accesories/" |
| const std::string | GCODE_EXTENSION = ".gcode" |
| const std::string | THUMBNAIL_EXTENSION = ".png" |
| const std::string | CALIBRATION_INFO_EXTENSION = ".json" |
| const std::string | CONTENT_TYPES_FILE = "[Content_Types].xml" |
| const std::string | RELATIONSHIPS_FILE = "_rels/.rels" |
| const std::string | THUMBNAIL_FILE = "Metadata/plate_1.png" |
| const std::string | THUMBNAIL_FOR_PRINTER_FILE = "Metadata/bbl_thumbnail.png" |
| const std::string | PRINTER_THUMBNAIL_SMALL_FILE = "/Auxiliaries/.thumbnails/thumbnail_small.png" |
| const std::string | PRINTER_THUMBNAIL_MIDDLE_FILE = "/Auxiliaries/.thumbnails/thumbnail_middle.png" |
| const std::string | _3MF_COVER_FILE = "/Auxiliaries/.thumbnails/thumbnail_3mf.png" |
| const std::string | BBS_PRINT_CONFIG_FILE = "Metadata/print_profile.config" |
| const std::string | BBS_PROJECT_CONFIG_FILE = "Metadata/project_settings.config" |
| const std::string | BBS_MODEL_CONFIG_FILE = "Metadata/model_settings.config" |
| const std::string | BBS_MODEL_CONFIG_RELS_FILE = "Metadata/_rels/model_settings.config.rels" |
| const std::string | SLICE_INFO_CONFIG_FILE = "Metadata/slice_info.config" |
| const std::string | FILAMENT_SEQUENCE_FILE = "Metadata/filament_sequence.json" |
| const std::string | BBS_LAYER_HEIGHTS_PROFILE_FILE = "Metadata/layer_heights_profile.txt" |
| const std::string | ORCA_CAD_RECIPE_FILE = "Metadata/orca_cad.bin" |
| const std::string | LEGACY_CAD_RECIPE_FILE = "Metadata/SnapOrca_cad.bin" |
| const std::string | LAYER_CONFIG_RANGES_FILE = "Metadata/layer_config_ranges.xml" |
| const std::string | BRIM_EAR_POINTS_FILE = "Metadata/brim_ear_points.txt" |
| const std::string | CUSTOM_GCODE_PER_PRINT_Z_FILE = "Metadata/custom_gcode_per_layer.xml" |
| const std::string | AUXILIARY_DIR = "Auxiliaries/" |
| const std::string | PROJECT_EMBEDDED_PRINT_PRESETS_FILE = "Metadata/print_setting_" |
| const std::string | PROJECT_EMBEDDED_SLICE_PRESETS_FILE = "Metadata/process_settings_" |
| const std::string | PROJECT_EMBEDDED_FILAMENT_PRESETS_FILE = "Metadata/filament_settings_" |
| const std::string | PROJECT_EMBEDDED_PRINTER_PRESETS_FILE = "Metadata/machine_settings_" |
| const std::string | CUT_INFORMATION_FILE = "Metadata/cut_information.xml" |
| const unsigned int | AUXILIARY_STR_LEN = 12 |
| const unsigned int | METADATA_STR_LEN = 9 |
| static constexpr const char * | MODEL_TAG = "model" |
| static constexpr const char * | RESOURCES_TAG = "resources" |
| static constexpr const char * | COLOR_GROUP_TAG = "m:colorgroup" |
| static constexpr const char * | COLOR_TAG = "m:color" |
| static constexpr const char * | OBJECT_TAG = "object" |
| static constexpr const char * | MESH_TAG = "mesh" |
| static constexpr const char * | MESH_STAT_TAG = "mesh_stat" |
| static constexpr const char * | VERTICES_TAG = "vertices" |
| static constexpr const char * | VERTEX_TAG = "vertex" |
| static constexpr const char * | TRIANGLES_TAG = "triangles" |
| static constexpr const char * | TRIANGLE_TAG = "triangle" |
| static constexpr const char * | COMPONENTS_TAG = "components" |
| static constexpr const char * | COMPONENT_TAG = "component" |
| static constexpr const char * | BUILD_TAG = "build" |
| static constexpr const char * | ITEM_TAG = "item" |
| static constexpr const char * | METADATA_TAG = "metadata" |
| static constexpr const char * | FILAMENT_TAG = "filament" |
| static constexpr const char * | MIXED_FILAMENT_TAG = "mixed_filament" |
| static constexpr const char * | MIXED_FILAMENT_COMPONENTS_TAG = "components" |
| static constexpr const char * | SLICE_WARNING_TAG = "warning" |
| static constexpr const char * | WARNING_MSG_TAG = "msg" |
| static constexpr const char * | FILAMENT_ID_TAG = "id" |
| static constexpr const char * | FILAMENT_TYPE_TAG = "type" |
| static constexpr const char * | FILAMENT_COLOR_TAG = "color" |
| static constexpr const char * | FILAMENT_USED_M_TAG = "used_m" |
| static constexpr const char * | FILAMENT_USED_G_TAG = "used_g" |
| static constexpr const char * | FILAMENT_USED_FOR_SUPPORT = "used_for_support" |
| static constexpr const char * | FILAMENT_USED_FOR_OBJECT = "used_for_object" |
| static constexpr const char * | FILAMENT_NOZZLE_GROUP_ID_TAG = "group_id" |
| static constexpr const char * | FILAMENT_NOZZLE_DIAMETER_TAG = "nozzle_diameter" |
| static constexpr const char * | FILAMENT_NOZZLE_VOLUME_TYPE_TAG = "volume_type" |
| static constexpr const char * | NOZZLE_TAG = "nozzle" |
| static constexpr const char * | FILAMENT_TRAY_INFO_ID_TAG = "tray_info_idx" |
| static constexpr const char * | LAYER_FILAMENT_LISTS_TAG = "layer_filament_lists" |
| static constexpr const char * | LAYER_FILAMENT_LIST_TAG = "layer_filament_list" |
| static constexpr const char * | CONFIG_TAG = "config" |
| static constexpr const char * | VOLUME_TAG = "volume" |
| static constexpr const char * | PART_TAG = "part" |
| static constexpr const char * | PLATE_TAG = "plate" |
| static constexpr const char * | INSTANCE_TAG = "model_instance" |
| static constexpr const char * | ASSEMBLE_TAG = "assemble" |
| static constexpr const char * | ASSEMBLE_ITEM_TAG = "assemble_item" |
| static constexpr const char * | SLICE_HEADER_TAG = "header" |
| static constexpr const char * | SLICE_HEADER_ITEM_TAG = "header_item" |
| static constexpr const char * | TEXT_INFO_TAG = "text_info" |
| static constexpr const char * | TEXT_ATTR = "text" |
| static constexpr const char * | FONT_NAME_ATTR = "font_name" |
| static constexpr const char * | FONT_INDEX_ATTR = "font_index" |
| static constexpr const char * | FONT_SIZE_ATTR = "font_size" |
| static constexpr const char * | THICKNESS_ATTR = "thickness" |
| static constexpr const char * | EMBEDED_DEPTH_ATTR = "embeded_depth" |
| static constexpr const char * | ROTATE_ANGLE_ATTR = "rotate_angle" |
| static constexpr const char * | TEXT_GAP_ATTR = "text_gap" |
| static constexpr const char * | BOLD_ATTR = "bold" |
| static constexpr const char * | ITALIC_ATTR = "italic" |
| static constexpr const char * | SURFACE_TEXT_ATTR = "surface_text" |
| static constexpr const char * | KEEP_HORIZONTAL_ATTR = "keep_horizontal" |
| static constexpr const char * | HIT_MESH_ATTR = "hit_mesh" |
| static constexpr const char * | HIT_POSITION_ATTR = "hit_position" |
| static constexpr const char * | HIT_NORMAL_ATTR = "hit_normal" |
| static constexpr const char * | RELATIONSHIP_TAG = "Relationship" |
| static constexpr const char * | PID_ATTR = "pid" |
| static constexpr const char * | PUUID_ATTR = "p:UUID" |
| static constexpr const char * | PUUID_LOWER_ATTR = "p:uuid" |
| static constexpr const char * | PPATH_ATTR = "p:path" |
| static constexpr const char * | OBJECT_UUID_SUFFIX = "-61cb-4c03-9d28-80fed5dfa1dc" |
| static constexpr const char * | OBJECT_UUID_SUFFIX2 = "-71cb-4c03-9d28-80fed5dfa1dc" |
| static constexpr const char * | SUB_OBJECT_UUID_SUFFIX = "-81cb-4c03-9d28-80fed5dfa1dc" |
| static constexpr const char * | COMPONENT_UUID_SUFFIX = "-b206-40ff-9872-83e8017abed1" |
| static constexpr const char * | BUILD_UUID = "2c7c17d8-22b5-4d84-8835-1976022ea369" |
| static constexpr const char * | BUILD_UUID_SUFFIX = "-b1ec-4553-aec9-835e5b724bb4" |
| static constexpr const char * | TARGET_ATTR = "Target" |
| static constexpr const char * | RELS_TYPE_ATTR = "Type" |
| static constexpr const char * | UNIT_ATTR = "unit" |
| static constexpr const char * | NAME_ATTR = "name" |
| static constexpr const char * | COLOR_ATTR = "color" |
| static constexpr const char * | TYPE_ATTR = "type" |
| static constexpr const char * | ID_ATTR = "id" |
| static constexpr const char * | X_ATTR = "x" |
| static constexpr const char * | Y_ATTR = "y" |
| static constexpr const char * | Z_ATTR = "z" |
| static constexpr const char * | V1_ATTR = "v1" |
| static constexpr const char * | V2_ATTR = "v2" |
| static constexpr const char * | V3_ATTR = "v3" |
| static constexpr const char * | OBJECTID_ATTR = "objectid" |
| static constexpr const char * | TRANSFORM_ATTR = "transform" |
| static constexpr const char * | OFFSET_ATTR = "offset" |
| static constexpr const char * | PRINTABLE_ATTR = "printable" |
| static constexpr const char * | AUTO_DROP_ATTR = "auto_drop" |
| static constexpr const char * | INSTANCESCOUNT_ATTR = "instances_count" |
| static constexpr const char * | CUSTOM_SUPPORTS_ATTR = "paint_supports" |
| static constexpr const char * | CUSTOM_FUZZY_SKIN_ATTR = "paint_fuzzy_skin" |
| static constexpr const char * | CUSTOM_SEAM_ATTR = "paint_seam" |
| static constexpr const char * | MMU_SEGMENTATION_ATTR = "paint_color" |
| static constexpr const char * | TEXTURE_DISPLACEMENT_ATTRS [Slic3r::TEXTURE_DISPLACEMENT_MAX_LAYERS] |
| static constexpr const char * | TEXTURE_DISPLACEMENT_KEY = "texture_displacement" |
| static constexpr const char * | TEXTURE_DISPLACEMENT_DIR = "Metadata/texture_displacement/" |
| static constexpr const char * | FACE_PROPERTY_ATTR = "face_property" |
| static constexpr const char * | KEY_ATTR = "key" |
| static constexpr const char * | VALUE_ATTR = "value" |
| static constexpr const char * | FIRST_TRIANGLE_ID_ATTR = "firstid" |
| static constexpr const char * | LAST_TRIANGLE_ID_ATTR = "lastid" |
| static constexpr const char * | SUBTYPE_ATTR = "subtype" |
| static constexpr const char * | LOCK_ATTR = "locked" |
| static constexpr const char * | BED_TYPE_ATTR = "bed_type" |
| static constexpr const char * | PRINT_SEQUENCE_ATTR = "print_sequence" |
| static constexpr const char * | FIRST_LAYER_PRINT_SEQUENCE_ATTR = "first_layer_print_sequence" |
| static constexpr const char * | OTHER_LAYERS_PRINT_SEQUENCE_ATTR = "other_layers_print_sequence" |
| static constexpr const char * | OTHER_LAYERS_PRINT_SEQUENCE_NUMS_ATTR = "other_layers_print_sequence_nums" |
| static constexpr const char * | SPIRAL_VASE_MODE = "spiral_mode" |
| static constexpr const char * | IMEX_PARALLEL_MODE_ATTR = "imex_parallel_mode" |
| static constexpr const char * | IXEX_PARALLEL_MODE_ATTR_LEGACY = "ixex_parallel_mode" |
| static constexpr const char * | IMEX_HEAD_FILAMENT_MAP_ATTR = "imex_head_filament_map" |
| static constexpr const char * | FILAMENT_MAP_MODE_ATTR = "filament_map_mode" |
| static constexpr const char * | FILAMENT_MAP_ATTR = "filament_maps" |
| static constexpr const char * | FILAMENT_VOL_MAP_ATTR = "filament_volume_maps" |
| static constexpr const char * | LIMIT_FILAMENT_MAP_ATTR = "limit_filament_maps" |
| static constexpr const char * | GCODE_FILE_ATTR = "gcode_file" |
| static constexpr const char * | THUMBNAIL_FILE_ATTR = "thumbnail_file" |
| static constexpr const char * | NO_LIGHT_THUMBNAIL_FILE_ATTR = "thumbnail_no_light_file" |
| static constexpr const char * | TOP_FILE_ATTR = "top_file" |
| static constexpr const char * | PICK_FILE_ATTR = "pick_file" |
| static constexpr const char * | PATTERN_FILE_ATTR = "pattern_file" |
| static constexpr const char * | PATTERN_BBOX_FILE_ATTR = "pattern_bbox_file" |
| static constexpr const char * | OBJECT_ID_ATTR = "object_id" |
| static constexpr const char * | INSTANCEID_ATTR = "instance_id" |
| static constexpr const char * | IDENTIFYID_ATTR = "identify_id" |
| static constexpr const char * | PLATERID_ATTR = "plater_id" |
| static constexpr const char * | PLATER_NAME_ATTR = "plater_name" |
| static constexpr const char * | PLATE_IDX_ATTR = "index" |
| static constexpr const char * | PRINTER_MODEL_ID_ATTR = "printer_model_id" |
| static constexpr const char * | EXTRUDER_TYPE_ATTR = "extruder_type" |
| static constexpr const char * | NOZZLE_VOLUME_TYPE_ATTR = "nozzle_volume_type" |
| static constexpr const char * | NOZZLE_TYPE_ATTR = "nozzle_types" |
| static constexpr const char * | NOZZLE_DIAMETERS_ATTR = "nozzle_diameters" |
| static constexpr const char * | SLICE_PREDICTION_ATTR = "prediction" |
| static constexpr const char * | SLICE_WEIGHT_ATTR = "weight" |
| static constexpr const char * | FIRST_LAYER_TIME_ATTR = "first_layer_time" |
| static constexpr const char * | TIMELAPSE_TYPE_ATTR = "timelapse_type" |
| static constexpr const char * | OUTSIDE_ATTR = "outside" |
| static constexpr const char * | SUPPORT_USED_ATTR = "support_used" |
| static constexpr const char * | LABEL_OBJECT_ENABLED_ATTR = "label_object_enabled" |
| static constexpr const char * | ENABLE_FILAMENT_DYNAMIC_MAP_ATTR = "enable_filament_dynamic_map" |
| static constexpr const char * | HAS_FILAMENT_SWITCHER_ATTR = "has_filament_switcher" |
| static constexpr const char * | SKIPPED_ATTR = "skipped" |
| static constexpr const char * | OBJECT_TYPE = "object" |
| static constexpr const char * | VOLUME_TYPE = "volume" |
| static constexpr const char * | PART_TYPE = "part" |
| static constexpr const char * | NAME_KEY = "name" |
| static constexpr const char * | VOLUME_TYPE_KEY = "volume_type" |
| static constexpr const char * | PART_TYPE_KEY = "part_type" |
| static constexpr const char * | PRECISE_SEAM_TYPE_KEY = "precise_seam_type" |
| static constexpr char | PRECISE_SEAM_CONFIG_PREFIX [] = "precise_seam_config:" |
| static constexpr const char * | MATRIX_KEY = "matrix" |
| static constexpr const char * | SOURCE_FILE_KEY = "source_file" |
| static constexpr const char * | SOURCE_OBJECT_ID_KEY = "source_object_id" |
| static constexpr const char * | SOURCE_VOLUME_ID_KEY = "source_volume_id" |
| static constexpr const char * | SOURCE_OFFSET_X_KEY = "source_offset_x" |
| static constexpr const char * | SOURCE_OFFSET_Y_KEY = "source_offset_y" |
| static constexpr const char * | SOURCE_OFFSET_Z_KEY = "source_offset_z" |
| static constexpr const char * | SOURCE_IN_INCHES = "source_in_inches" |
| static constexpr const char * | SOURCE_IN_METERS = "source_in_meters" |
| static constexpr const char * | MESH_SHARED_KEY = "mesh_shared" |
| static constexpr const char * | MESH_STAT_EDGES_FIXED = "edges_fixed" |
| static constexpr const char * | MESH_STAT_DEGENERATED_FACETS = "degenerate_facets" |
| static constexpr const char * | MESH_STAT_FACETS_REMOVED = "facets_removed" |
| static constexpr const char * | MESH_STAT_FACETS_RESERVED = "facets_reversed" |
| static constexpr const char * | MESH_STAT_BACKWARDS_EDGES = "backwards_edges" |
| static constexpr const char * | TEXT_TAG = "slic3rpe:text" |
| static constexpr const char * | TEXT_DATA_ATTR = "text" |
| static constexpr const char * | STYLE_NAME_ATTR = "style_name" |
| static constexpr const char * | FONT_DESCRIPTOR_ATTR = "font_descriptor" |
| static constexpr const char * | FONT_DESCRIPTOR_TYPE_ATTR = "font_descriptor_type" |
| static constexpr const char * | CHAR_GAP_ATTR = "char_gap" |
| static constexpr const char * | LINE_GAP_ATTR = "line_gap" |
| static constexpr const char * | LINE_HEIGHT_ATTR = "line_height" |
| static constexpr const char * | BOLDNESS_ATTR = "boldness" |
| static constexpr const char * | SKEW_ATTR = "skew" |
| static constexpr const char * | PER_GLYPH_ATTR = "per_glyph" |
| static constexpr const char * | HORIZONTAL_ALIGN_ATTR = "horizontal" |
| static constexpr const char * | VERTICAL_ALIGN_ATTR = "vertical" |
| static constexpr const char * | COLLECTION_NUMBER_ATTR = "collection" |
| static constexpr const char * | FONT_FAMILY_ATTR = "family" |
| static constexpr const char * | FONT_FACE_NAME_ATTR = "face_name" |
| static constexpr const char * | FONT_STYLE_ATTR = "style" |
| static constexpr const char * | FONT_WEIGHT_ATTR = "weight" |
| static constexpr const char * | SHAPE_TAG = "slic3rpe:shape" |
| static constexpr const char * | SHAPE_SCALE_ATTR = "scale" |
| static constexpr const char * | UNHEALED_ATTR = "unhealed" |
| static constexpr const char * | SVG_FILE_PATH_ATTR = "filepath" |
| static constexpr const char * | SVG_FILE_PATH_IN_3MF_ATTR = "filepath3mf" |
| static constexpr const char * | DEPTH_ATTR = "depth" |
| static constexpr const char * | USE_SURFACE_ATTR = "use_surface" |
| const unsigned int | BBS_VALID_OBJECT_TYPES_COUNT = 2 |
| const char * | BBS_VALID_OBJECT_TYPES [] |
| const char * | BBS_INVALID_OBJECT_TYPES [] |
| struct hex_wrap |
| 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 | |
| struct Slic3r::_BBS_3MF_Importer::CutObjectInfo::Connector |
| struct Slic3r::_BBS_3MF_Exporter::ObjectData |
| Class Members | ||
|---|---|---|
| int | backup_id | |
| ModelObject const * | object | |
| int | object_id = 0 | |
| bool | share_mesh = false | |
| string | sub_path | |
| VolumeToObjectIDMap | volumes_objectID | |
| union Slic3r::_BBS_Backup_Manager::Task.__unnamed0__ |
| #define _ | ( | s | ) |
| #define EXPORT_3MF_USE_SPIRIT_KARMA_FP 0 |
| #define L | ( | s | ) |
macro used to mark string used at localization, return same string
| #define WRITE_ZIP_LANGUAGE_ENCODING 1 |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_file_to_archive().
| void add_vec3 | ( | std::stringstream & | stream, |
| const Slic3r::Vec3f & | tr ) |
| void add_vector | ( | std::stringstream & | stream, |
| const std::vector< T > & | values ) |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive().
| bool bbs_get_attribute_value_bool | ( | const char ** | attributes, |
| unsigned int | attributes_size, | ||
| const char * | attribute_key ) |
References bbs_get_attribute_value_charptr().
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_config_object(), and Slic3r::_BBS_3MF_Importer::_handle_start_item().
| const char * bbs_get_attribute_value_charptr | ( | const char ** | attributes, |
| unsigned int | attributes_size, | ||
| const char * | attribute_key ) |
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_triangle(), Slic3r::_BBS_3MF_Importer::_handle_start_config_object(), Slic3r::_BBS_3MF_Importer::_handle_start_item(), Slic3r::_BBS_3MF_Importer::_handle_start_triangle(), bbs_get_attribute_value_bool(), bbs_get_attribute_value_float(), bbs_get_attribute_value_int(), and bbs_get_attribute_value_string().
| float bbs_get_attribute_value_float | ( | const char ** | attributes, |
| unsigned int | attributes_size, | ||
| const char * | attribute_key ) |
References bbs_get_attribute_value_charptr().
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_vertex(), Slic3r::_BBS_3MF_Importer::_handle_start_vertex(), Slic3r::TextConfigurationSerialization::read(), Slic3r::read_emboss_shape(), and Slic3r::TextConfigurationSerialization::read_old().
| int bbs_get_attribute_value_int | ( | const char ** | attributes, |
| unsigned int | attributes_size, | ||
| const char * | attribute_key ) |
References bbs_get_attribute_value_charptr().
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_color_group(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_component(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_object(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_triangle(), Slic3r::_BBS_3MF_Importer::_handle_start_assemble_item(), Slic3r::_BBS_3MF_Importer::_handle_start_color_group(), Slic3r::_BBS_3MF_Importer::_handle_start_component(), Slic3r::_BBS_3MF_Importer::_handle_start_config_object(), Slic3r::_BBS_3MF_Importer::_handle_start_config_volume(), Slic3r::_BBS_3MF_Importer::_handle_start_config_volume_mesh(), Slic3r::_BBS_3MF_Importer::_handle_start_item(), Slic3r::_BBS_3MF_Importer::_handle_start_object(), Slic3r::_BBS_3MF_Importer::_handle_start_triangle(), Slic3r::TextConfigurationSerialization::read(), Slic3r::read_emboss_shape(), and Slic3r::TextConfigurationSerialization::read_old().
| std::string bbs_get_attribute_value_string | ( | const char ** | attributes, |
| unsigned int | attributes_size, | ||
| const char * | attribute_key ) |
References bbs_get_attribute_value_charptr().
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_color(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_component(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_metadata(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_model(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_object(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_triangle(), Slic3r::_BBS_3MF_Importer::_handle_start_assemble_item(), Slic3r::_BBS_3MF_Importer::_handle_start_color(), Slic3r::_BBS_3MF_Importer::_handle_start_component(), Slic3r::_BBS_3MF_Importer::_handle_start_config_filament(), Slic3r::_BBS_3MF_Importer::_handle_start_config_metadata(), Slic3r::_BBS_3MF_Importer::_handle_start_config_mixed_filament(), Slic3r::_BBS_3MF_Importer::_handle_start_config_nozzle(), Slic3r::_BBS_3MF_Importer::_handle_start_config_volume(), Slic3r::_BBS_3MF_Importer::_handle_start_config_warning(), Slic3r::_BBS_3MF_Importer::_handle_start_item(), Slic3r::_BBS_3MF_Importer::_handle_start_metadata(), Slic3r::_BBS_3MF_Importer::_handle_start_model(), Slic3r::_BBS_3MF_Importer::_handle_start_object(), Slic3r::_BBS_3MF_Importer::_handle_start_relationship(), Slic3r::_BBS_3MF_Importer::_handle_start_triangle(), Slic3r::TextConfigurationSerialization::read(), Slic3r::read_emboss_shape(), Slic3r::anonymous_namespace{bbs_3mf.cpp}::read_horizontal_align(), Slic3r::TextConfigurationSerialization::read_old(), and Slic3r::anonymous_namespace{bbs_3mf.cpp}::read_vertical_align().
| Slic3r::Vec3d bbs_get_offset_from_3mf_specs_string | ( | const std::string & | vec_str | ) |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_assemble_item().
| Slic3r::Transform3d bbs_get_transform_from_3mf_specs_string | ( | const std::string & | mat_str | ) |
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_component(), Slic3r::_BBS_3MF_Importer::_handle_start_assemble_item(), Slic3r::_BBS_3MF_Importer::_handle_start_component(), Slic3r::_BBS_3MF_Importer::_handle_start_item(), Slic3r::read_emboss_shape(), and Slic3r::TextConfigurationSerialization::read_old().
| float bbs_get_unit_factor | ( | const std::string & | unit | ) |
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_model(), and Slic3r::_BBS_3MF_Importer::_handle_start_model().
| bool bbs_is_valid_object_type | ( | const std::string & | type | ) |
References BBS_VALID_OBJECT_TYPES, and BBS_VALID_OBJECT_TYPES_COUNT.
Referenced by Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_object(), and Slic3r::_BBS_3MF_Importer::_handle_start_object().
| Slic3r::Vec3f get_vec3_from_string | ( | const std::string & | pos_str | ) |
| std::string join_int_list_comma | ( | const std::vector< int > & | values | ) |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive().
| std::vector< int > parse_int_list | ( | const std::string & | value | ) |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_config_filament().
| const std::string _3MF_COVER_FILE = "/Auxiliaries/.thumbnails/thumbnail_3mf.png" |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_auxiliary_dir_to_archive().
| const std::string ACCESOR_DIR = "accesories/" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string AUXILIARY_DIR = "Auxiliaries/" |
| const unsigned int AUXILIARY_STR_LEN = 12 |
| const std::string BBL_APPLICATION_TAG = "Application" |
| const std::string BBL_COPYRIGHT_NORMATIVE_TAG = "Copyright" |
| const std::string BBL_COPYRIGHT_TAG = "CopyRight" |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_metadata().
| const std::string BBL_CREATION_DATE_TAG = "CreationDate" |
| const std::string BBL_DESCRIPTION_TAG = "Description" |
| const std::string BBL_DESIGNER_COVER_FILE_TAG = "DesignerCover" |
| const std::string BBL_DESIGNER_TAG = "Designer" |
| const std::string BBL_DESIGNER_USER_ID_TAG = "DesignerUserId" |
| const std::string BBL_LICENSE_TAG = "License" |
| const std::string BBL_MAKERLAB_TAG = "MakerLab" |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_file_to_archive().
| const std::string BBL_MAKERLAB_VERSION_TAG = "MakerLabVersion" |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_file_to_archive().
| const std::string BBL_MODEL_ID_TAG = "model_id" |
| const std::string BBL_MODEL_NAME_TAG = "Title" |
| const std::string BBL_MODIFICATION_TAG = "ModificationDate" |
| const std::string BBL_ORIGIN_TAG = "Origin" |
| const std::string BBL_PROFILE_COVER_TAG = "ProfileCover" |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_metadata().
| const std::string BBL_PROFILE_DESCRIPTION_TAG = "ProfileDescription" |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_metadata().
| const std::string BBL_PROFILE_TITLE_TAG = "ProfileTitle" |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_metadata().
| const std::string BBL_PROFILE_USER_ID_TAG = "ProfileUserId" |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_metadata().
| const std::string BBL_PROFILE_USER_NAME_TAG = "ProfileUserName" |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_metadata().
| const std::string BBL_REGION_TAG = "Region" |
| const char* BBS_3MF_VERSION = "BambuStudio:3mfVersion" |
| const char* BBS_3MF_VERSION1 = "bamboo_slicer:Version3mf" |
| const std::string BBS_FDM_SUPPORTS_PAINTING_VERSION = "BambuStudio:FdmSupportsPaintingVersion" |
| const char* BBS_INVALID_OBJECT_TYPES[] |
| const std::string BBS_LAYER_HEIGHTS_PROFILE_FILE = "Metadata/layer_heights_profile.txt" |
| const std::string BBS_MM_PAINTING_VERSION = "BambuStudio:MmPaintingVersion" |
| const std::string BBS_MODEL_CONFIG_FILE = "Metadata/model_settings.config" |
| const std::string BBS_MODEL_CONFIG_RELS_FILE = "Metadata/_rels/model_settings.config.rels" |
| const std::string BBS_PRINT_CONFIG_FILE = "Metadata/print_profile.config" |
| const std::string BBS_PROJECT_CONFIG_FILE = "Metadata/project_settings.config" |
| const std::string BBS_SEAM_PAINTING_VERSION = "BambuStudio:SeamPaintingVersion" |
| const char* BBS_VALID_OBJECT_TYPES[] |
Referenced by bbs_is_valid_object_type().
| const unsigned int BBS_VALID_OBJECT_TYPES_COUNT = 2 |
Referenced by bbs_is_valid_object_type().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string BRIM_EAR_POINTS_FILE = "Metadata/brim_ear_points.txt" |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_build_to_model_stream().
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_build_to_model_stream().
| const std::string CALIBRATION_INFO_EXTENSION = ".json" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_model_xml_element(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_end_model_xml_element(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_model_xml_element(), and Slic3r::_BBS_3MF_Importer::_handle_start_model_xml_element().
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_end_model_xml_element(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_end_model_xml_element(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_model_xml_element(), and Slic3r::_BBS_3MF_Importer::_handle_start_model_xml_element().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string CONTENT_TYPES_FILE = "[Content_Types].xml" |
|
staticconstexpr |
| const std::string CUSTOM_GCODE_PER_PRINT_Z_FILE = "Metadata/custom_gcode_per_layer.xml" |
|
staticconstexpr |
|
staticconstexpr |
| const std::string CUT_INFORMATION_FILE = "Metadata/cut_information.xml" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const unsigned int FDM_SUPPORTS_PAINTING_VERSION = 0 |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string FILAMENT_SEQUENCE_FILE = "Metadata/filament_sequence.json" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string GCODE_EXTENSION = ".gcode" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_config_metadata().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string LAYER_CONFIG_RANGES_FILE = "Metadata/layer_config_ranges.xml" |
|
staticconstexpr |
|
staticconstexpr |
| const std::string LEGACY_CAD_RECIPE_FILE = "Metadata/SnapOrca_cad.bin" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_generate_volumes_new().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string METADATA_DIR = "Metadata/" |
| const unsigned int METADATA_STR_LEN = 9 |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const unsigned int MM_PAINTING_VERSION = 0 |
|
staticconstexpr |
| const std::string MODEL_EXTENSION = ".model" |
| const std::string MODEL_FILE = "3D/3dmodel.model" |
| const std::string MODEL_FOLDER = "3D/" |
| const std::string MODEL_RELS_FILE = "3D/_rels/3dmodel.model.rels" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string ORCA_CAD_RECIPE_FILE = "Metadata/orca_cad.bin" |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_cad_recipe_file_to_archive().
| const std::string ORCASLICER_TAG = "OrcaSlicer" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_generate_volumes_new().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string PRINTER_THUMBNAIL_MIDDLE_FILE = "/Auxiliaries/.thumbnails/thumbnail_middle.png" |
| const std::string PRINTER_THUMBNAIL_SMALL_FILE = "/Auxiliaries/.thumbnails/thumbnail_small.png" |
| const std::string PROJECT_EMBEDDED_FILAMENT_PRESETS_FILE = "Metadata/filament_settings_" |
| const std::string PROJECT_EMBEDDED_PRINT_PRESETS_FILE = "Metadata/print_setting_" |
| const std::string PROJECT_EMBEDDED_PRINTER_PRESETS_FILE = "Metadata/machine_settings_" |
| const std::string PROJECT_EMBEDDED_SLICE_PRESETS_FILE = "Metadata/process_settings_" |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_build_to_model_stream(), Slic3r::_BBS_3MF_Exporter::_add_mesh_to_object_stream(), Slic3r::_BBS_3MF_Exporter::_add_object_components_to_stream(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_object(), and Slic3r::_BBS_3MF_Importer::_handle_start_object().
|
staticconstexpr |
|
staticconstexpr |
| const std::string RELATIONSHIPS_FILE = "_rels/.rels" |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_relationship().
|
staticconstexpr |
|
staticconstexpr |
| const unsigned int SEAM_PAINTING_VERSION = 0 |
|
staticconstexpr |
Referenced by Slic3r::read_emboss_shape(), and Slic3r::to_xml().
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_config_xml_element(), and Slic3r::to_xml().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const std::string SLICE_INFO_CONFIG_FILE = "Metadata/slice_info.config" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_mesh_to_object_stream().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::read_emboss_shape(), and Slic3r::anonymous_namespace{bbs_3mf.cpp}::to_xml().
|
staticconstexpr |
Referenced by Slic3r::read_emboss_shape(), and Slic3r::anonymous_namespace{bbs_3mf.cpp}::to_xml().
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_relationship().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_mesh_to_object_stream(), Slic3r::_BBS_3MF_Importer::ObjectImporter::_handle_object_start_triangle(), and Slic3r::_BBS_3MF_Importer::_handle_start_triangle().
|
staticconstexpr |
Referenced by Slic3r::add_texture_displacement().
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_generate_volumes_new(), and Slic3r::add_texture_displacement().
|
staticconstexpr |
| const std::string THUMBNAIL_EXTENSION = ".png" |
| const std::string THUMBNAIL_FILE = "Metadata/plate_1.png" |
|
staticconstexpr |
| const std::string THUMBNAIL_FOR_PRINTER_FILE = "Metadata/bbl_thumbnail.png" |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::read_emboss_shape(), and Slic3r::to_xml().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| const unsigned int VERSION_BBS_3MF = 1 |
Referenced by Slic3r::_BBS_3MF_Exporter::_add_model_file_to_archive().
| const unsigned int VERSION_BBS_3MF_COMPATIBLE = 2 |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Slic3r::_BBS_3MF_Importer::_handle_start_config_warning().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |