libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | Friends | List of all members
Slic3r::ModelMaterial Class Reference

#include <Model.hpp>

Public Member Functions

Modelget_model () const
 
void apply (const t_model_material_attributes &attributes)
 

Public Attributes

t_model_material_attributes attributes
 Attributes are defined by the AMF file format, but they don't seem to be used by Slic3r for any purpose. More...
 
DynamicPrintConfig config
 Dynamic configuration storage for the object specific configuration values, overriding the global configuration. More...
 

Friends

class Model
 

Detailed Description

Model Material class Material, which may be shared across multiple ModelObjects of a single Model.

Member Function Documentation

◆ apply()

void Slic3r::ModelMaterial::apply ( const t_model_material_attributes attributes)

Apply attributes defined by the AMF file format

Parameters
attributest_model_material_attributes the attributes map

◆ get_model()

Model* Slic3r::ModelMaterial::get_model ( ) const
inline

Get the parent model owing this material

Returns
Model* the onwer Model

Friends And Related Function Documentation

◆ Model

friend class Model
friend

Member Data Documentation

◆ attributes

t_model_material_attributes Slic3r::ModelMaterial::attributes

Attributes are defined by the AMF file format, but they don't seem to be used by Slic3r for any purpose.

◆ config

DynamicPrintConfig Slic3r::ModelMaterial::config

Dynamic configuration storage for the object specific configuration values, overriding the global configuration.


The documentation for this class was generated from the following files: