![]() |
libslic3r
Library for generating gcode from 3d models
|
#include <Model.hpp>
Public Member Functions | |
| ModelObject * | get_object () const |
| t_model_material_id | material_id () const |
| void | material_id (t_model_material_id material_id) |
| ModelMaterial * | material () const |
| void | set_material (t_model_material_id material_id, const ModelMaterial &material) |
| ModelMaterial * | assign_unique_material () |
Public Attributes | |
| std::string | name |
| Name of this ModelVolume object. More... | |
| TriangleMesh | mesh |
| The triangular model. More... | |
| DynamicPrintConfig | config |
| std::string | input_file |
| Input file path needed for reloading the volume from disk. More... | |
| int | input_file_obj_idx |
| Input file object index. More... | |
| int | input_file_vol_idx |
| Input file volume index. More... | |
| bool | modifier |
| Is it an object to be printed, or a modifier volume? More... | |
Friends | |
| class | ModelObject |
An object STL, or a modifier volume, over which a different set of parameters shall be applied. ModelVolume instances are owned by a ModelObject.
| ModelMaterial * Slic3r::ModelVolume::assign_unique_material | ( | ) |
Add a unique ModelMaterial to the current ModelVolume
|
inline |
Get the parent object owning this modifier volume.
| ModelMaterial * Slic3r::ModelVolume::material | ( | ) | const |
Get the current ModelMaterial in this ModelVolume object
| t_model_material_id Slic3r::ModelVolume::material_id | ( | ) | const |
Get the material id of this ModelVolume object
| void Slic3r::ModelVolume::material_id | ( | t_model_material_id | material_id | ) |
Set the material id to this ModelVolume object
| material_id | t_model_material_id the id of the material |
| void Slic3r::ModelVolume::set_material | ( | t_model_material_id | material_id, |
| const ModelMaterial & | material | ||
| ) |
Add a new ModelMaterial to this ModelVolume
| material_id | t_model_material_id the id of the material to be added |
| material | ModelMaterial the material to be coppied |
|
friend |
| DynamicPrintConfig Slic3r::ModelVolume::config |
Configuration parameters specific to an object model geometry or a modifier volume, overriding the global Slic3r settings and the ModelObject settings.
| std::string Slic3r::ModelVolume::input_file |
Input file path needed for reloading the volume from disk.
Input file path
| int Slic3r::ModelVolume::input_file_obj_idx |
Input file object index.
| int Slic3r::ModelVolume::input_file_vol_idx |
Input file volume index.
| TriangleMesh Slic3r::ModelVolume::mesh |
The triangular model.
| bool Slic3r::ModelVolume::modifier |
Is it an object to be printed, or a modifier volume?
| std::string Slic3r::ModelVolume::name |
Name of this ModelVolume object.
1.8.14