libslic3r
Library for generating gcode from 3d models
|
Abstract base class for the infill generators. More...
#include <Fill.hpp>
Public Member Functions | |
virtual Fill * | clone () const =0 |
virtual | ~Fill () |
virtual bool | use_bridge_flow () const |
virtual bool | no_sort () const |
Do not sort the fill lines to optimize the print head path? More... | |
virtual bool | can_solid () const |
Can this pattern be used for solid infill? More... | |
virtual Polylines | fill_surface (const Surface &surface) |
Perform the fill. More... | |
coordf_t | spacing () const |
Static Public Member Functions | |
static Fill * | new_from_type (const InfillPattern type) |
static Fill * | new_from_type (const std::string &type) |
Public Attributes | |
size_t | layer_id |
Index of the layer. More... | |
coordf_t | z |
Z coordinate of the top print surface, in unscaled coordinates. More... | |
coordf_t | min_spacing |
in unscaled coordinates More... | |
float | endpoints_overlap |
overlap over spacing for extrusion endpoints More... | |
float | angle |
in radians, ccw, 0 = East More... | |
coord_t | link_max_length |
coord_t | loop_clipping |
In scaled coordinates. Used by the concentric infill pattern to clip the loops to create extrusion paths. More... | |
BoundingBox | bounding_box |
float | density |
Fill density, fraction in <0, 1> More... | |
bool | dont_connect |
Don't connect the fill lines around the inner perimeter. More... | |
bool | dont_adjust |
Don't adjust spacing to fill the space evenly. More... | |
bool | complete |
Protected Types | |
typedef std::pair< float, Point > | direction_t |
Protected Member Functions | |
Fill () | |
virtual void | _fill_surface_single (unsigned int thickness_layers, const direction_t &direction, ExPolygon &expolygon, Polylines *polylines_out) |
The expolygon may be modified by the method to avoid a copy. More... | |
virtual float | _layer_angle (size_t idx) const |
Implementations can override the following virtual method: More... | |
direction_t | _infill_direction (const Surface &surface) const |
Protected Attributes | |
coordf_t | _spacing |
the actual one in unscaled coordinates, we fill this while generating paths More... | |
Abstract base class for the infill generators.
|
protected |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotectedvirtual |
The expolygon may be modified by the method to avoid a copy.
Reimplemented in Slic3r::Fill3DHoneycomb, Slic3r::FillPlanePath, Slic3r::FillHoneycomb, Slic3r::FillRectilinear, and Slic3r::FillConcentric.
|
protected |
|
inlineprotectedvirtual |
Implementations can override the following virtual method:
Reimplemented in Slic3r::FillCubic, Slic3r::FillStars, Slic3r::FillTriangles, Slic3r::FillGrid, Slic3r::FillHoneycomb, Slic3r::FillAlignedRectilinear, and Slic3r::FillPlanePath.
|
inlinevirtual |
Can this pattern be used for solid infill?
Reimplemented in Slic3r::FillCubic, Slic3r::FillStars, Slic3r::FillTriangles, Slic3r::FillOctagramSpiral, Slic3r::FillHilbertCurve, Slic3r::FillGrid, Slic3r::FillArchimedeanChords, Slic3r::FillAlignedRectilinear, Slic3r::FillConcentric, and Slic3r::FillRectilinear.
|
pure virtual |
Implemented in Slic3r::FillCubic, Slic3r::FillStars, Slic3r::FillTriangles, Slic3r::FillOctagramSpiral, Slic3r::FillHilbertCurve, Slic3r::FillGrid, Slic3r::FillArchimedeanChords, Slic3r::FillAlignedRectilinear, Slic3r::FillHoneycomb, Slic3r::Fill3DHoneycomb, Slic3r::FillGyroid, Slic3r::FillConcentric, and Slic3r::FillRectilinear.
|
static |
|
static |
|
inlinevirtual |
Do not sort the fill lines to optimize the print head path?
Reimplemented in Slic3r::FillConcentric.
|
inline |
|
inlinevirtual |
Implementations can override the following virtual methods: Use bridge flow for the fill?
Reimplemented in Slic3r::FillGyroid, and Slic3r::Fill3DHoneycomb.
|
protected |
the actual one in unscaled coordinates, we fill this while generating paths
float Slic3r::Fill::angle |
in radians, ccw, 0 = East
BoundingBox Slic3r::Fill::bounding_box |
In scaled coordinates. Bounding box of the 2D projection of the object. If not defined, the bounding box of each single expolygon is used.
bool Slic3r::Fill::complete |
For Honeycomb. we were requested to complete each loop; in this case we don't try to make more continuous paths
float Slic3r::Fill::density |
Fill density, fraction in <0, 1>
bool Slic3r::Fill::dont_adjust |
Don't adjust spacing to fill the space evenly.
bool Slic3r::Fill::dont_connect |
Don't connect the fill lines around the inner perimeter.
float Slic3r::Fill::endpoints_overlap |
overlap over spacing for extrusion endpoints
size_t Slic3r::Fill::layer_id |
Index of the layer.
coord_t Slic3r::Fill::link_max_length |
In scaled coordinates. Maximum lenght of a perimeter segment connecting two infill lines. Used by the FillRectilinear2, FillGrid2, FillTriangles, FillStars and FillCubic. If left to zero, the links will not be limited.
coord_t Slic3r::Fill::loop_clipping |
In scaled coordinates. Used by the concentric infill pattern to clip the loops to create extrusion paths.
coordf_t Slic3r::Fill::min_spacing |
in unscaled coordinates
coordf_t Slic3r::Fill::z |
Z coordinate of the top print surface, in unscaled coordinates.