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

#include <FillHoneycomb.hpp>

Inheritance diagram for Slic3r::FillHoneycomb:
Slic3r::Fill

Classes

struct  CacheData
 

Public Member Functions

virtual ~FillHoneycomb ()
 
- Public Member Functions inherited from Slic3r::Fill
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
 

Protected Types

typedef std::pair< float, coordf_tCacheID
 
typedef std::map< CacheID, CacheDataCache
 
- Protected Types inherited from Slic3r::Fill
typedef std::pair< float, Pointdirection_t
 

Protected Member Functions

virtual Fillclone () const
 
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...
 
- Protected Member Functions inherited from Slic3r::Fill
 Fill ()
 
direction_t _infill_direction (const Surface &surface) const
 

Protected Attributes

Cache cache
 
- Protected Attributes inherited from Slic3r::Fill
coordf_t _spacing
 the actual one in unscaled coordinates, we fill this while generating paths More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Slic3r::Fill
static Fillnew_from_type (const InfillPattern type)
 
static Fillnew_from_type (const std::string &type)
 
- Public Attributes inherited from Slic3r::Fill
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
 

Member Typedef Documentation

◆ Cache

typedef std::map<CacheID, CacheData> Slic3r::FillHoneycomb::Cache
protected

◆ CacheID

typedef std::pair<float,coordf_t> Slic3r::FillHoneycomb::CacheID
protected

Constructor & Destructor Documentation

◆ ~FillHoneycomb()

virtual Slic3r::FillHoneycomb::~FillHoneycomb ( )
inlinevirtual

Member Function Documentation

◆ _fill_surface_single()

void Slic3r::FillHoneycomb::_fill_surface_single ( unsigned int  thickness_layers,
const direction_t direction,
ExPolygon expolygon,
Polylines polylines_out 
)
protectedvirtual

The expolygon may be modified by the method to avoid a copy.

Reimplemented from Slic3r::Fill.

◆ _layer_angle()

virtual float Slic3r::FillHoneycomb::_layer_angle ( size_t  idx) const
inlineprotectedvirtual

Implementations can override the following virtual method:

Reimplemented from Slic3r::Fill.

◆ clone()

virtual Fill* Slic3r::FillHoneycomb::clone ( ) const
inlineprotectedvirtual

Implements Slic3r::Fill.

Member Data Documentation

◆ cache

Cache Slic3r::FillHoneycomb::cache
protected

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