![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/GCodeWriter.hpp>
Inheritance diagram for Slic3r::GCodeG1Formatter:
Collaboration diagram for Slic3r::GCodeG1Formatter:Public Member Functions | |
| GCodeG1Formatter () | |
| GCodeG1Formatter (const GCodeG1Formatter &)=delete | |
| GCodeG1Formatter & | operator= (const GCodeG1Formatter &)=delete |
| void | emit_axis (const char axis, const double v, size_t digits) |
| void | emit_xy (const Vec2d &point) |
| void | emit_xyz (const Vec3d &point) |
| void | emit_z (const double z) |
| void | emit_e (const std::string &axis, double v) |
| void | emit_f (double speed) |
| void | emit_string (const std::string &s) |
| void | emit_comment (bool allow_comments, const std::string &comment) |
| std::string | string () |
Static Public Member Functions | |
| static double | quantize (double v, size_t ndigits) |
| static double | quantize_xyzf (double v) |
| static double | quantize_e (double v) |
Static Public Attributes | |
| static constexpr const int | XYZF_EXPORT_DIGITS = 3 |
| static constexpr const int | E_EXPORT_DIGITS = 5 |
| static constexpr const std::array< double, 10 > | pow_10 { 1., 10., 100., 1000., 10000., 100000., 1000000., 10000000., 100000000., 1000000000.} |
| static constexpr const std::array< double, 10 > | pow_10_inv {1./1., 1./10., 1./100., 1./1000., 1./10000., 1./100000., 1./1000000., 1./10000000., 1./100000000., 1./1000000000.} |
Protected Attributes | |
| char | buf [buflen] |
| char * | buf_end |
| std::to_chars_result | ptr_err |
Static Protected Attributes | |
| static constexpr const size_t | buflen = 256 |
|
inline |
References Slic3r::GCodeFormatter::buf, Slic3r::GCodeFormatter::buf_end, Slic3r::GCodeFormatter::buflen, and Slic3r::GCodeFormatter::ptr_err.
|
delete |
References Slic3r::GCodeFormatter::buf, Slic3r::GCodeFormatter::pow_10, and Slic3r::GCodeFormatter::ptr_err.
Referenced by Slic3r::GCodeFormatter::emit_e(), Slic3r::GCodeFormatter::emit_f(), Slic3r::GCodeFormatter::emit_xy(), Slic3r::GCodeFormatter::emit_xyz(), Slic3r::GCodeFormatter::emit_z(), and Slic3r::PressureEqualizer::push_line_to_output().
Here is the caller graph for this function:
|
inlineinherited |
References comment, Slic3r::GCodeFormatter::emit_string(), and Slic3r::GCodeFormatter::ptr_err.
Referenced by Slic3r::GCodeWriter::_retract(), Slic3r::GCodeWriter::_travel_to_z(), Slic3r::GCodeWriter::extrude_to_xy(), Slic3r::GCodeWriter::set_speed(), Slic3r::GCodeWriter::travel_to_xy(), Slic3r::GCodeWriter::travel_to_xyz(), and Slic3r::GCodeWriter::unretract().
Here is the call graph for this function:
Here is the caller graph for this function:References Slic3r::GCodeFormatter::E_EXPORT_DIGITS, and Slic3r::GCodeFormatter::emit_axis().
Referenced by Slic3r::GCodeWriter::_retract(), Slic3r::GCodeWriter::extrude_to_xy(), and Slic3r::GCodeWriter::unretract().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GCodeFormatter::emit_axis(), and Slic3r::GCodeFormatter::XYZF_EXPORT_DIGITS.
Referenced by Slic3r::GCodeWriter::_retract(), Slic3r::GCodeWriter::_travel_to_z(), Slic3r::PressureEqualizer::push_line_to_output(), Slic3r::GCodeWriter::set_speed(), Slic3r::GCodeWriter::travel_to_xy(), Slic3r::GCodeWriter::travel_to_xyz(), and Slic3r::GCodeWriter::unretract().
Here is the call graph for this function:
Here is the caller graph for this function:References Slic3r::GCodeFormatter::ptr_err.
Referenced by Slic3r::GCodeFormatter::emit_comment(), Slic3r::PressureEqualizer::push_line_to_output(), and Slic3r::GCodeWriter::set_speed().
Here is the caller graph for this function:References Slic3r::GCodeFormatter::emit_axis(), and Slic3r::GCodeFormatter::XYZF_EXPORT_DIGITS.
Referenced by Slic3r::GCodeWriter::extrude_to_xy(), and Slic3r::GCodeWriter::travel_to_xy().
Here is the call graph for this function:
Here is the caller graph for this function:References Slic3r::GCodeFormatter::emit_axis(), Slic3r::GCodeFormatter::emit_z(), and Slic3r::GCodeFormatter::XYZF_EXPORT_DIGITS.
Referenced by Slic3r::GCodeWriter::travel_to_xyz().
Here is the call graph for this function:
Here is the caller graph for this function:References Slic3r::GCodeFormatter::emit_axis(), and Slic3r::GCodeFormatter::XYZF_EXPORT_DIGITS.
Referenced by Slic3r::GCodeWriter::_travel_to_z(), and Slic3r::GCodeFormatter::emit_xyz().
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
inlinestaticinherited |
References Slic3r::GCodeFormatter::pow_10, and Slic3r::GCodeFormatter::pow_10_inv.
Referenced by Slic3r::GCodeFormatter::quantize_e(), and Slic3r::GCodeFormatter::quantize_xyzf().
Here is the caller graph for this function:
|
inlinestaticinherited |
References Slic3r::GCodeFormatter::E_EXPORT_DIGITS, and Slic3r::GCodeFormatter::quantize().
Referenced by Slic3r::Extruder::extrude(), Slic3r::Extruder::retract_to_go(), and Slic3r::Wipe::wipe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticinherited |
References Slic3r::GCodeFormatter::quantize(), and Slic3r::GCodeFormatter::XYZF_EXPORT_DIGITS.
Referenced by Slic3r::GCode::point_to_gcode_quantized().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GCodeFormatter::buf, and Slic3r::GCodeFormatter::ptr_err.
Referenced by Slic3r::GCodeWriter::_retract(), Slic3r::GCodeWriter::_travel_to_z(), Slic3r::GCodeWriter::extrude_to_xy(), Slic3r::PressureEqualizer::push_to_output(), Slic3r::GCodeWriter::set_speed(), Slic3r::GCodeWriter::travel_to_xy(), Slic3r::GCodeWriter::travel_to_xyz(), and Slic3r::GCodeWriter::unretract().
Here is the caller graph for this function:
|
protectedinherited |
|
protectedinherited |
Referenced by Slic3r::GCodeFormatter::GCodeFormatter(), and GCodeG1Formatter().
|
staticconstexprprotectedinherited |
Referenced by Slic3r::GCodeFormatter::GCodeFormatter(), and GCodeG1Formatter().
|
staticconstexprinherited |
|
staticconstexprinherited |
Referenced by Slic3r::GCodeFormatter::emit_axis(), and Slic3r::GCodeFormatter::quantize().
|
staticconstexprinherited |
Referenced by Slic3r::GCodeFormatter::quantize().
|
protectedinherited |
|
staticconstexprinherited |