libslic3r
Library for generating gcode from 3d models
|
#include <Layer.hpp>
Public Member Functions | |
bool | is_support () const override |
polymorphic id More... | |
Public Member Functions inherited from Slic3r::Layer | |
size_t | id () const |
ID number. More... | |
void | set_id (size_t id) |
Setter for this->_id. More... | |
PrintObject * | object () |
Getter for _object. More... | |
const PrintObject * | object () const |
size_t | region_count () const |
Returns the number of regions. More... | |
LayerRegion * | get_region (size_t idx) |
Gets a region at a specific id. More... | |
const LayerRegion * | get_region (size_t idx) const |
Gets a region at a specific id as const. More... | |
LayerRegion * | add_region (PrintRegion *print_region) |
Adds a PrintRegion. More... | |
void | make_slices () |
Merge all regions' slices to get islands. More... | |
void | merge_slices () |
Merges all of the LayerRegions' slices. More... | |
template<class T > | |
bool | any_internal_region_slice_contains (const T &item) const |
Template which iterates over all of the LayerRegion for internally containing the argument. More... | |
template<class T > | |
bool | any_bottom_region_slice_contains (const T &item) const |
Template which iterates over all of the LayerRegion for containing on the bottom the argument. More... | |
void | make_perimeters () |
Creates the perimeters cummulatively for all layer regions sharing the same parameters influencing the perimeters. More... | |
void | make_fills () |
Makes fills for all the LayerRegion. More... | |
void | detect_surfaces_type () |
Determines the type of surface (top/bottombridge/bottom/internal) each region is. More... | |
void | process_external_surfaces () |
Processes the external surfaces. More... | |
Public Attributes | |
ExPolygonCollection | support_islands |
ExtrusionEntityCollection | support_fills |
ExtrusionEntityCollection | support_interface_fills |
Public Attributes inherited from Slic3r::Layer | |
Layer * | upper_layer |
Pointer to layer above. More... | |
Layer * | lower_layer |
Pointer to layer below. More... | |
LayerRegionPtrs | regions |
Vector of pointers to the LayerRegions of this layer. More... | |
bool | slicing_errors |
Presence of slicing errors. More... | |
coordf_t | slice_z |
Z used for slicing in unscaled coordinates. More... | |
coordf_t | print_z |
Z used for printing in unscaled coordinates. More... | |
coordf_t | height |
layer height in unscaled coordinates More... | |
ExPolygonCollection | slices |
Protected Member Functions | |
SupportLayer (size_t id, PrintObject *object, coordf_t height, coordf_t print_z, coordf_t slice_z) | |
Constructor. More... | |
virtual | ~SupportLayer () |
Destructor. More... | |
Protected Member Functions inherited from Slic3r::Layer | |
Layer (size_t id, PrintObject *object, coordf_t height, coordf_t print_z, coordf_t slice_z) | |
Constructor. More... | |
virtual | ~Layer () |
Destructor. More... | |
void | clear_regions () |
Deletes all regions. More... | |
void | delete_region (int idx) |
Deletes a specific region. More... | |
Friends | |
class | PrintObject |
Additional Inherited Members | |
Protected Attributes inherited from Slic3r::Layer | |
size_t | _id |
sequential number of layer, 0-based More... | |
PrintObject * | _object |
Associated PrintObject. More... | |
|
inlineprotected |
Constructor.
|
inlineprotectedvirtual |
Destructor.
|
inlineoverridevirtual |
polymorphic id
Reimplemented from Slic3r::Layer.
|
friend |
ExtrusionEntityCollection Slic3r::SupportLayer::support_fills |
Collection of support fills. Populated in SupportMaterial.pm in sub generate_toolpaths
ExtrusionEntityCollection Slic3r::SupportLayer::support_interface_fills |
Collection of support interface fills. Populated in SupportMaterial.pm in sub generate_toolpaths
ExPolygonCollection Slic3r::SupportLayer::support_islands |
Collection of support islands. Populated in SupportMaterial.pm in sub generate_toolpaths