libslic3r
Library for generating gcode from 3d models
|
#include <SupportMaterial.hpp>
Public Member Functions | |
void | generate_toolpaths (PrintObject *object, map< coordf_t, Polygons > overhang, map< coordf_t, Polygons > contact, map< int, Polygons > _interface, map< int, Polygons > base) |
Generate the extrusions paths for the support matterial generated for the given print object. More... | |
void | generate (PrintObject *object) |
Generate support material for the given print object. More... | |
vector< coordf_t > | support_layers_z (vector< coordf_t > contact_z, vector< coordf_t > top_z, coordf_t max_object_layer_height) |
Generate the support layers slicing z coordinates. More... | |
pair< map< coordf_t, Polygons >, map< coordf_t, Polygons > > | contact_area (PrintObject *object) |
map< coordf_t, Polygons > | object_top (PrintObject *object, map< coordf_t, Polygons > *contact) |
void | generate_pillars_shape (const map< coordf_t, Polygons > &contact, const vector< coordf_t > &support_z, map< int, Polygons > &shape) |
map< int, Polygons > | generate_base_layers (vector< coordf_t > support_z, map< coordf_t, Polygons > contact, map< int, Polygons > _interface, map< coordf_t, Polygons > top) |
map< int, Polygons > | generate_interface_layers (vector< coordf_t > support_z, map< coordf_t, Polygons > contact, map< coordf_t, Polygons > top) |
void | generate_bottom_interface_layers (const vector< coordf_t > &support_z, map< int, Polygons > &base, map< coordf_t, Polygons > &top, map< int, Polygons > &_interface) |
coordf_t | contact_distance (coordf_t layer_height, coordf_t nozzle_diameter) |
vector< int > | overlapping_layers (int layer_idx, const vector< coordf_t > &support_z) |
This method returns the indices of the layers overlapping with the given one. More... | |
void | clip_with_shape (map< int, Polygons > &support, map< int, Polygons > &shape) |
void | clip_with_object (map< int, Polygons > &support, vector< coordf_t > support_z, PrintObject &object) |
void | process_layer (int layer_id, toolpaths_params params) |
Public Attributes | |
friend | PrintObject |
PrintConfig * | config |
The print config. More... | |
PrintObjectConfig * | object_config |
The object print config. More... | |
Flow | flow |
The intermediate layers print flow. More... | |
Flow | first_layer_flow |
The first (base) layers print flow. More... | |
Flow | interface_flow |
The interface layers print flow. More... | |
void Slic3r::SupportMaterial::clip_with_object | ( | map< int, Polygons > & | support, |
vector< coordf_t > | support_z, | ||
PrintObject & | object | ||
) |
void Slic3r::SupportMaterial::clip_with_shape | ( | map< int, Polygons > & | support, |
map< int, Polygons > & | shape | ||
) |
pair< map< coordf_t, Polygons >, map< coordf_t, Polygons > > Slic3r::SupportMaterial::contact_area | ( | PrintObject * | object | ) |
coordf_t Slic3r::SupportMaterial::contact_distance | ( | coordf_t | layer_height, |
coordf_t | nozzle_diameter | ||
) |
void Slic3r::SupportMaterial::generate | ( | PrintObject * | object | ) |
Generate support material for the given print object.
map< int, Polygons > Slic3r::SupportMaterial::generate_base_layers | ( | vector< coordf_t > | support_z, |
map< coordf_t, Polygons > | contact, | ||
map< int, Polygons > | _interface, | ||
map< coordf_t, Polygons > | top | ||
) |
void Slic3r::SupportMaterial::generate_bottom_interface_layers | ( | const vector< coordf_t > & | support_z, |
map< int, Polygons > & | base, | ||
map< coordf_t, Polygons > & | top, | ||
map< int, Polygons > & | _interface | ||
) |
map< int, Polygons > Slic3r::SupportMaterial::generate_interface_layers | ( | vector< coordf_t > | support_z, |
map< coordf_t, Polygons > | contact, | ||
map< coordf_t, Polygons > | top | ||
) |
void Slic3r::SupportMaterial::generate_pillars_shape | ( | const map< coordf_t, Polygons > & | contact, |
const vector< coordf_t > & | support_z, | ||
map< int, Polygons > & | shape | ||
) |
void Slic3r::SupportMaterial::generate_toolpaths | ( | PrintObject * | object, |
map< coordf_t, Polygons > | overhang, | ||
map< coordf_t, Polygons > | contact, | ||
map< int, Polygons > | _interface, | ||
map< int, Polygons > | base | ||
) |
Generate the extrusions paths for the support matterial generated for the given print object.
map< coordf_t, Polygons > Slic3r::SupportMaterial::object_top | ( | PrintObject * | object, |
map< coordf_t, Polygons > * | contact | ||
) |
vector< int > Slic3r::SupportMaterial::overlapping_layers | ( | int | layer_idx, |
const vector< coordf_t > & | support_z | ||
) |
This method returns the indices of the layers overlapping with the given one.
void Slic3r::SupportMaterial::process_layer | ( | int | layer_id, |
toolpaths_params | params | ||
) |
vector< coordf_t > Slic3r::SupportMaterial::support_layers_z | ( | vector< coordf_t > | contact_z, |
vector< coordf_t > | top_z, | ||
coordf_t | max_object_layer_height | ||
) |
Generate the support layers slicing z coordinates.
PrintConfig* Slic3r::SupportMaterial::config |
The print config.
Flow Slic3r::SupportMaterial::first_layer_flow |
The first (base) layers print flow.
Flow Slic3r::SupportMaterial::flow |
The intermediate layers print flow.
Flow Slic3r::SupportMaterial::interface_flow |
The interface layers print flow.
PrintObjectConfig* Slic3r::SupportMaterial::object_config |
The object print config.
friend Slic3r::SupportMaterial::PrintObject |