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

#include <ExtrusionEntity.hpp>

Inheritance diagram for Slic3r::ExtrusionLoop:
Slic3r::ExtrusionEntity

Public Member Functions

 ExtrusionLoop (ExtrusionLoopRole role=elrDefault)
 
 ExtrusionLoop (const ExtrusionPaths &paths, ExtrusionLoopRole role=elrDefault)
 
 ExtrusionLoop (const ExtrusionPath &path, ExtrusionLoopRole role=elrDefault)
 
bool is_loop () const
 
bool can_reverse () const
 
ExtrusionLoopclone () const
 
bool make_clockwise ()
 
bool make_counter_clockwise ()
 
void reverse ()
 
Point first_point () const
 
Point last_point () const
 
Polygon polygon () const
 
virtual double length () const
 
bool split_at_vertex (const Point &point)
 
void split_at (const Point &point, bool prefer_non_overhang=false)
 
void clip_end (double distance, ExtrusionPaths *paths) const
 
bool has_overhang_point (const Point &point) const
 Test, whether the point is extruded by a bridging flow. More...
 
bool is_perimeter () const
 
bool is_infill () const
 
bool is_solid_infill () const
 
Polygons grow () const
 Produce a list of 2D polygons covered by the extruded path. More...
 
double min_mm3_per_mm () const
 Minimum volumetric velocity of this extrusion entity. Used by the constant nozzle pressure algorithm. More...
 
Polyline as_polyline () const
 
void append (const ExtrusionPath &path)
 
bool has (ExtrusionRole role) const
 
- Public Member Functions inherited from Slic3r::ExtrusionEntity
virtual bool is_collection () const
 
virtual ~ExtrusionEntity ()
 

Public Attributes

ExtrusionPaths paths
 
ExtrusionLoopRole role
 

Constructor & Destructor Documentation

◆ ExtrusionLoop() [1/3]

Slic3r::ExtrusionLoop::ExtrusionLoop ( ExtrusionLoopRole  role = elrDefault)
inline

◆ ExtrusionLoop() [2/3]

Slic3r::ExtrusionLoop::ExtrusionLoop ( const ExtrusionPaths paths,
ExtrusionLoopRole  role = elrDefault 
)
inline

◆ ExtrusionLoop() [3/3]

Slic3r::ExtrusionLoop::ExtrusionLoop ( const ExtrusionPath path,
ExtrusionLoopRole  role = elrDefault 
)
inline

Member Function Documentation

◆ append()

void Slic3r::ExtrusionLoop::append ( const ExtrusionPath path)
inline

◆ as_polyline()

Polyline Slic3r::ExtrusionLoop::as_polyline ( ) const
inlinevirtual

◆ can_reverse()

bool Slic3r::ExtrusionLoop::can_reverse ( ) const
inlinevirtual

Reimplemented from Slic3r::ExtrusionEntity.

◆ clip_end()

void Slic3r::ExtrusionLoop::clip_end ( double  distance,
ExtrusionPaths paths 
) const

◆ clone()

ExtrusionLoop* Slic3r::ExtrusionLoop::clone ( ) const
inlinevirtual

◆ first_point()

Point Slic3r::ExtrusionLoop::first_point ( ) const
inlinevirtual

◆ grow()

Polygons Slic3r::ExtrusionLoop::grow ( ) const
virtual

Produce a list of 2D polygons covered by the extruded path.

Implements Slic3r::ExtrusionEntity.

◆ has()

bool Slic3r::ExtrusionLoop::has ( ExtrusionRole  role) const
inline

◆ has_overhang_point()

bool Slic3r::ExtrusionLoop::has_overhang_point ( const Point point) const

Test, whether the point is extruded by a bridging flow.

◆ is_infill()

bool Slic3r::ExtrusionLoop::is_infill ( ) const
inlinevirtual

Reimplemented from Slic3r::ExtrusionEntity.

◆ is_loop()

bool Slic3r::ExtrusionLoop::is_loop ( ) const
inlinevirtual

Reimplemented from Slic3r::ExtrusionEntity.

◆ is_perimeter()

bool Slic3r::ExtrusionLoop::is_perimeter ( ) const
inlinevirtual

Reimplemented from Slic3r::ExtrusionEntity.

◆ is_solid_infill()

bool Slic3r::ExtrusionLoop::is_solid_infill ( ) const
inlinevirtual

Reimplemented from Slic3r::ExtrusionEntity.

◆ last_point()

Point Slic3r::ExtrusionLoop::last_point ( ) const
inlinevirtual

◆ length()

double Slic3r::ExtrusionLoop::length ( ) const
virtual

Reimplemented from Slic3r::ExtrusionEntity.

◆ make_clockwise()

bool Slic3r::ExtrusionLoop::make_clockwise ( )

◆ make_counter_clockwise()

bool Slic3r::ExtrusionLoop::make_counter_clockwise ( )

◆ min_mm3_per_mm()

double Slic3r::ExtrusionLoop::min_mm3_per_mm ( ) const
virtual

Minimum volumetric velocity of this extrusion entity. Used by the constant nozzle pressure algorithm.

Implements Slic3r::ExtrusionEntity.

◆ polygon()

Polygon Slic3r::ExtrusionLoop::polygon ( ) const

◆ reverse()

void Slic3r::ExtrusionLoop::reverse ( )
virtual

◆ split_at()

void Slic3r::ExtrusionLoop::split_at ( const Point point,
bool  prefer_non_overhang = false 
)

◆ split_at_vertex()

bool Slic3r::ExtrusionLoop::split_at_vertex ( const Point point)

Member Data Documentation

◆ paths

ExtrusionPaths Slic3r::ExtrusionLoop::paths

◆ role

ExtrusionLoopRole Slic3r::ExtrusionLoop::role

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