OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::VendorProfile::PrinterModel Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Preset.hpp>

Collaboration diagram for Slic3r::VendorProfile::PrinterModel:

Public Member Functions

 PrinterModel ()
PrinterVariant * variant (const std::string &name)
const PrinterVariant * variant (const std::string &name) const
template<class Archive>
void serialize (Archive &ar)

Public Attributes

std::string id
std::string name
std::string model_id
PrinterTechnology technology = ptFFF
std::string family
std::vector< PrinterVariant > variants
std::vector< std::string > default_materials
std::vector< std::string > not_support_bed_types
std::string bed_model
std::string bed_texture
std::string image_bed_type
std::string bottom_texture_end_name
std::string use_double_extruder_default_texture
std::string bottom_texture_rect
std::string bottom_texture_rect_longer
std::string middle_texture_rect
std::string hotend_model

Detailed Description

Constructor & Destructor Documentation

◆ PrinterModel()

Slic3r::VendorProfile::PrinterModel::PrinterModel ( )
inline
153{}

Referenced by variant().

Here is the caller graph for this function:

Member Function Documentation

◆ serialize()

template<class Archive>
void Slic3r::VendorProfile::PrinterModel::serialize ( Archive & ar)
inline
185 {
191 }
std::string use_double_extruder_default_texture
Definition Preset.hpp:168
std::string bed_model
Definition Preset.hpp:164
std::string bottom_texture_rect_longer
Definition Preset.hpp:170
std::string image_bed_type
Definition Preset.hpp:166
std::string model_id
Definition Preset.hpp:157
std::vector< PrinterVariant > variants
Definition Preset.hpp:160
std::string bottom_texture_rect
Definition Preset.hpp:169
std::string family
Definition Preset.hpp:159
std::vector< std::string > default_materials
Definition Preset.hpp:161
std::string middle_texture_rect
Definition Preset.hpp:171
PrinterTechnology technology
Definition Preset.hpp:158
std::string hotend_model
Definition Preset.hpp:172
std::string name
Definition Preset.hpp:155
std::string bottom_texture_end_name
Definition Preset.hpp:167
std::string bed_texture
Definition Preset.hpp:165
std::vector< std::string > not_support_bed_types
Definition Preset.hpp:162

References bed_model, bed_texture, bottom_texture_end_name, bottom_texture_rect, bottom_texture_rect_longer, default_materials, family, hotend_model, image_bed_type, middle_texture_rect, model_id, name, not_support_bed_types, technology, use_double_extruder_default_texture, and variants.

◆ variant() [1/2]

PrinterVariant * Slic3r::VendorProfile::PrinterModel::variant ( const std::string & name)
inline
173 {
174 for (auto &v : this->variants)
175 if (v.name == name)
176 return &v;
177 return nullptr;
178 }

References name.

Referenced by Slic3r::PresetBundle::parse_vendor_json().

Here is the caller graph for this function:

◆ variant() [2/2]

const PrinterVariant * Slic3r::VendorProfile::PrinterModel::variant ( const std::string & name) const
inline
180{ return const_cast<PrinterModel*>(this)->variant(name); }
PrinterVariant * variant(const std::string &name)
Definition Preset.hpp:173
PrinterModel()
Definition Preset.hpp:153

References PrinterModel(), name, and variant().

Referenced by variant().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bed_model

std::string Slic3r::VendorProfile::PrinterModel::bed_model

◆ bed_texture

std::string Slic3r::VendorProfile::PrinterModel::bed_texture

◆ bottom_texture_end_name

std::string Slic3r::VendorProfile::PrinterModel::bottom_texture_end_name

◆ bottom_texture_rect

std::string Slic3r::VendorProfile::PrinterModel::bottom_texture_rect

◆ bottom_texture_rect_longer

std::string Slic3r::VendorProfile::PrinterModel::bottom_texture_rect_longer

◆ default_materials

◆ family

std::string Slic3r::VendorProfile::PrinterModel::family

◆ hotend_model

std::string Slic3r::VendorProfile::PrinterModel::hotend_model

◆ id

std::string Slic3r::VendorProfile::PrinterModel::id

◆ image_bed_type

std::string Slic3r::VendorProfile::PrinterModel::image_bed_type

◆ middle_texture_rect

std::string Slic3r::VendorProfile::PrinterModel::middle_texture_rect

◆ model_id

std::string Slic3r::VendorProfile::PrinterModel::model_id

◆ name

◆ not_support_bed_types

std::vector<std::string> Slic3r::VendorProfile::PrinterModel::not_support_bed_types

◆ technology

PrinterTechnology Slic3r::VendorProfile::PrinterModel::technology = ptFFF

◆ use_double_extruder_default_texture

std::string Slic3r::VendorProfile::PrinterModel::use_double_extruder_default_texture

◆ variants


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Preset.hpp