#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Extruder.hpp>
◆ Extruder() [1/2]
| Slic3r::Extruder::Extruder |
( |
unsigned int | id, |
|
|
GCodeConfig * | config, |
|
|
bool | share_extruder ) |
◆ ~Extruder()
| virtual Slic3r::Extruder::~Extruder |
( |
| ) |
|
|
inlinevirtual |
◆ Extruder() [2/2]
| Slic3r::Extruder::Extruder |
( |
unsigned int | id | ) |
|
|
inlineprivate |
◆ config_index()
| int Slic3r::Extruder::config_index |
( |
| ) |
const |
|
inline |
◆ deretract_speed()
| int Slic3r::Extruder::deretract_speed |
( |
| ) |
const |
◆ E()
| double Slic3r::Extruder::E |
( |
| ) |
const |
|
inline |
◆ e_per_mm()
| double Slic3r::Extruder::e_per_mm |
( |
double | mm3_per_mm | ) |
const |
|
inline |
◆ e_per_mm3()
| double Slic3r::Extruder::e_per_mm3 |
( |
| ) |
const |
|
inline |
◆ E_to_emit()
| double Slic3r::Extruder::E_to_emit |
( |
bool | high_precision, |
|
|
double | extra = 0. ) |
◆ extrude()
| double Slic3r::Extruder::extrude |
( |
double | dE | ) |
|
49{
50
52 if (
m_config->use_relative_e_distances)
56 if (dE < 0.)
58 } else {
59
60 if (
m_config->use_relative_e_distances)
64 if (dE < 0.)
66 }
67 return dE;
68}
double m_retracted
Definition Extruder.hpp:109
double m_absolute_E
Definition Extruder.hpp:107
static std::vector< double > m_share_retracted
Definition Extruder.hpp:120
References extruder_id(), m_absolute_E, m_config, m_E, m_retracted, m_share_E, m_share_extruder, and m_share_retracted.
Referenced by Slic3r::GCodeWriter::extrude_arc_to_xy(), Slic3r::GCodeWriter::extrude_to_xy(), Slic3r::GCodeWriter::extrude_to_xyz(), and unretract().
◆ extruded_volume()
| double Slic3r::Extruder::extruded_volume |
( |
| ) |
const |
◆ extruder_id()
| unsigned int Slic3r::Extruder::extruder_id |
( |
| ) |
const |
40{
44 }
45 return 0;
46}
zaa_minimize_perimeter_height filament_map((ConfigOptionInts, filament_volume_map))((ConfigOptionInts
References Slic3r::filament_map(), m_config, and m_id.
Referenced by Slic3r::WipeTowerIntegration::append_tcr(), E(), Slic3r::GCodeWriter::eager_lift(), extrude(), get_share_retracted_length(), Slic3r::GCodeWriter::lazy_lift(), reset_E(), retract(), travel_slope(), and unretract().
◆ filament_cost()
| double Slic3r::Extruder::filament_cost |
( |
| ) |
const |
◆ filament_crossection()
| double Slic3r::Extruder::filament_crossection |
( |
| ) |
const |
|
inline |
◆ filament_density()
| double Slic3r::Extruder::filament_density |
( |
| ) |
const |
◆ filament_diameter()
| double Slic3r::Extruder::filament_diameter |
( |
| ) |
const |
◆ filament_flow_ratio()
| double Slic3r::Extruder::filament_flow_ratio |
( |
| ) |
const |
◆ get_share_retracted_length()
| double Slic3r::Extruder::get_share_retracted_length |
( |
| ) |
const |
|
inline |
◆ get_single_retracted_length()
| double Slic3r::Extruder::get_single_retracted_length |
( |
| ) |
const |
|
inline |
◆ id()
| unsigned int Slic3r::Extruder::id |
( |
| ) |
const |
|
inline |
References m_id.
Referenced by Extruder(), Extruder(), Slic3r::OozePrevention::_get_temp(), Slic3r::WipeTowerIntegration::append_tcr(), Slic3r::WipeTowerIntegration::append_tcr2(), Slic3r::Wipe::calculateWipeRetractionLengths(), Slic3r::GCodeWriter::eager_lift(), Slic3r::GCodeWriter::lazy_lift(), Slic3r::GCodeWriter::need_toolchange(), Slic3r::need_wipe(), Slic3r::operator!=(), Slic3r::operator<(), Slic3r::operator==(), Slic3r::operator>(), Slic3r::OozePrevention::post_toolchange(), Slic3r::OozePrevention::pre_toolchange(), and Slic3r::Wipe::wipe().
◆ is_share_extruder()
| bool Slic3r::Extruder::is_share_extruder |
( |
| ) |
const |
|
inline |
◆ position()
| double Slic3r::Extruder::position |
( |
| ) |
const |
|
inline |
◆ reset()
| void Slic3r::Extruder::reset |
( |
| ) |
|
|
inline |
◆ reset_E()
| void Slic3r::Extruder::reset_E |
( |
| ) |
|
|
inline |
◆ restart_extra()
| double Slic3r::Extruder::restart_extra |
( |
| ) |
const |
|
inline |
◆ retract()
| double Slic3r::Extruder::retract |
( |
double | length, |
|
|
double | restart_extra ) |
94{
95
97 if (
m_config->use_relative_e_distances)
101 if (to_retract > 0.) {
105 }
106 return to_retract;
107 } else {
108
109 if (
m_config->use_relative_e_distances)
113 if (to_retract > 0.) {
117 }
118 return to_retract;
119 }
120}
double restart_extra() const
Definition Extruder.hpp:64
double length(const Points &pts)
Definition MultiPoint.hpp:181
References extruder_id(), Slic3r::length(), m_absolute_E, m_config, m_E, m_restart_extra, m_retracted, m_share_E, m_share_extruder, m_share_retracted, and restart_extra().
◆ retract_after_wipe()
| double Slic3r::Extruder::retract_after_wipe |
( |
| ) |
const |
◆ retract_before_wipe()
| double Slic3r::Extruder::retract_before_wipe |
( |
| ) |
const |
◆ retract_length_toolchange()
| double Slic3r::Extruder::retract_length_toolchange |
( |
| ) |
const |
◆ retract_lift()
| double Slic3r::Extruder::retract_lift |
( |
| ) |
const |
◆ retract_restart_extra()
| double Slic3r::Extruder::retract_restart_extra |
( |
| ) |
const |
◆ retract_restart_extra_toolchange()
| double Slic3r::Extruder::retract_restart_extra_toolchange |
( |
| ) |
const |
◆ retract_speed()
| int Slic3r::Extruder::retract_speed |
( |
| ) |
const |
◆ retracted()
| double Slic3r::Extruder::retracted |
( |
| ) |
const |
|
inline |
◆ retraction_length()
| double Slic3r::Extruder::retraction_length |
( |
| ) |
const |
◆ set_config_index()
| void Slic3r::Extruder::set_config_index |
( |
int | idx | ) |
|
◆ set_position()
| void Slic3r::Extruder::set_position |
( |
double | e | ) |
|
|
inline |
◆ set_retracted()
| void Slic3r::Extruder::set_retracted |
( |
double | retracted, |
|
|
double | restart_extra ) |
143{
145 throw Slic3r::RuntimeError(
_u8L(
"Custom G-code reports negative z_retracted."));
147 throw Slic3r::RuntimeError(
_u8L(
"Custom G-code reports negative z_restart_extra."));
148
152 } else {
155 }
156}
#define EPSILON
Definition ColorUtils.cpp:64
double retracted() const
Definition Extruder.hpp:62
#define _u8L(s)
Definition I18N.hpp:11
References _u8L, EPSILON, m_restart_extra, m_retracted, restart_extra(), and retracted().
◆ travel_slope()
| double Slic3r::Extruder::travel_slope |
( |
| ) |
const |
◆ unretract()
| double Slic3r::Extruder::unretract |
( |
| ) |
|
◆ use_firmware_retraction()
| bool Slic3r::Extruder::use_firmware_retraction |
( |
| ) |
const |
◆ used_filament()
| double Slic3r::Extruder::used_filament |
( |
| ) |
const |
◆ m_absolute_E
| double Slic3r::Extruder::m_absolute_E |
|
private |
◆ m_config
Referenced by Extruder(), deretract_speed(), E_to_emit(), extrude(), extruder_id(), filament_cost(), filament_density(), filament_diameter(), filament_flow_ratio(), retract(), retract_after_wipe(), retract_before_wipe(), retract_length_toolchange(), retract_lift(), retract_restart_extra(), retract_restart_extra_toolchange(), retract_speed(), retraction_length(), travel_slope(), and use_firmware_retraction().
◆ m_config_index
| int Slic3r::Extruder::m_config_index {0} |
|
private |
Referenced by Extruder(), config_index(), deretract_speed(), filament_flow_ratio(), retract_after_wipe(), retract_before_wipe(), retract_length_toolchange(), retract_lift(), retract_restart_extra(), retract_restart_extra_toolchange(), retract_speed(), retraction_length(), and set_config_index().
◆ m_E
| double Slic3r::Extruder::m_E |
|
private |
◆ m_e_per_mm3
| double Slic3r::Extruder::m_e_per_mm3 |
|
private |
◆ m_E_rounding_carry
| double Slic3r::Extruder::m_E_rounding_carry { 0. } |
|
private |
◆ m_id
| unsigned int Slic3r::Extruder::m_id |
|
private |
◆ m_restart_extra
| double Slic3r::Extruder::m_restart_extra |
|
private |
◆ m_retracted
| double Slic3r::Extruder::m_retracted |
|
private |
◆ m_share_E
◆ m_share_extruder
| bool Slic3r::Extruder::m_share_extruder |
|
private |
◆ m_share_retracted
The documentation for this class was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Extruder.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Extruder.cpp