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

#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_tsupport_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, Polygonsobject_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, Polygonsgenerate_base_layers (vector< coordf_t > support_z, map< coordf_t, Polygons > contact, map< int, Polygons > _interface, map< coordf_t, Polygons > top)
 
map< int, Polygonsgenerate_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
 
PrintConfigconfig
 The print config. More...
 
PrintObjectConfigobject_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...
 

Member Function Documentation

◆ clip_with_object()

void Slic3r::SupportMaterial::clip_with_object ( map< int, Polygons > &  support,
vector< coordf_t support_z,
PrintObject object 
)

◆ clip_with_shape()

void Slic3r::SupportMaterial::clip_with_shape ( map< int, Polygons > &  support,
map< int, Polygons > &  shape 
)

◆ contact_area()

pair< map< coordf_t, Polygons >, map< coordf_t, Polygons > > Slic3r::SupportMaterial::contact_area ( PrintObject object)

◆ contact_distance()

coordf_t Slic3r::SupportMaterial::contact_distance ( coordf_t  layer_height,
coordf_t  nozzle_diameter 
)

◆ generate()

void Slic3r::SupportMaterial::generate ( PrintObject object)

Generate support material for the given print object.

◆ generate_base_layers()

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 
)

◆ generate_bottom_interface_layers()

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 
)

◆ generate_interface_layers()

map< int, Polygons > Slic3r::SupportMaterial::generate_interface_layers ( vector< coordf_t support_z,
map< coordf_t, Polygons contact,
map< coordf_t, Polygons top 
)

◆ generate_pillars_shape()

void Slic3r::SupportMaterial::generate_pillars_shape ( const map< coordf_t, Polygons > &  contact,
const vector< coordf_t > &  support_z,
map< int, Polygons > &  shape 
)

◆ generate_toolpaths()

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.

◆ object_top()

map< coordf_t, Polygons > Slic3r::SupportMaterial::object_top ( PrintObject object,
map< coordf_t, Polygons > *  contact 
)

◆ overlapping_layers()

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.

◆ process_layer()

void Slic3r::SupportMaterial::process_layer ( int  layer_id,
toolpaths_params  params 
)

◆ support_layers_z()

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.

Member Data Documentation

◆ config

PrintConfig* Slic3r::SupportMaterial::config

The print config.

◆ first_layer_flow

Flow Slic3r::SupportMaterial::first_layer_flow

The first (base) layers print flow.

◆ flow

Flow Slic3r::SupportMaterial::flow

The intermediate layers print flow.

◆ interface_flow

Flow Slic3r::SupportMaterial::interface_flow

The interface layers print flow.

◆ object_config

PrintObjectConfig* Slic3r::SupportMaterial::object_config

The object print config.

◆ PrintObject

friend Slic3r::SupportMaterial::PrintObject

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