libslic3r
Library for generating gcode from 3d models
|
#include <GCodeTimeEstimator.hpp>
Public Member Functions | |
void | parse (const std::string &gcode) |
void | parse_file (const std::string &file) |
Public Member Functions inherited from Slic3r::GCodeReader | |
GCodeReader () | |
void | apply_config (const PrintConfigBase &config) |
void | parse (const std::string &gcode, callback_t callback) |
void | parse_stream (std::istream &gcode, callback_t callback) |
void | parse_line (std::string line, callback_t callback) |
void | parse_file (const std::string &file, callback_t callback) |
Public Attributes | |
float | time = 0 |
Public Attributes inherited from Slic3r::GCodeReader | |
float | X |
float | Y |
float | Z |
float | E |
float | F |
bool | verbose |
callback_t | callback |
Protected Member Functions | |
void | _parser (GCodeReader &, const GCodeReader::GCodeLine &line) |
Static Protected Member Functions | |
static float | _accelerated_move (double length, double v, double acceleration) |
Protected Attributes | |
float | acceleration = 9000 |
Additional Inherited Members | |
Public Types inherited from Slic3r::GCodeReader | |
typedef std::function< void(GCodeReader &, const GCodeLine &)> | callback_t |
|
staticprotected |
|
protected |
void Slic3r::GCodeTimeEstimator::parse | ( | const std::string & | gcode | ) |
void Slic3r::GCodeTimeEstimator::parse_file | ( | const std::string & | file | ) |
|
protected |
float Slic3r::GCodeTimeEstimator::time = 0 |