![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/GCode/ToolOrdering.hpp>
Collaboration diagram for Slic3r::ToolOrdering:Public Member Functions | |
| ToolOrdering ()=default | |
| ToolOrdering (const PrintObject &object, unsigned int first_extruder, bool prime_multi_material=false) | |
| ToolOrdering (const Print &print, unsigned int first_extruder, bool prime_multi_material=false) | |
| void | clear () |
| void | assign_custom_gcodes (const Print &print) |
| unsigned int | first_extruder () const |
| unsigned int | last_extruder () const |
| const std::vector< unsigned int > & | all_extruders () const |
| const LayerTools & | tools_for_layer (coordf_t print_z) const |
| LayerTools & | tools_for_layer (coordf_t print_z) |
| const LayerTools & | front () const |
| const LayerTools & | back () const |
| std::vector< LayerTools >::const_iterator | begin () const |
| std::vector< LayerTools >::const_iterator | end () const |
| bool | empty () const |
| std::vector< LayerTools > & | layer_tools () |
| bool | has_wipe_tower () const |
Private Member Functions | |
| void | initialize_layers (std::vector< coordf_t > &zs) |
| void | collect_extruders (const PrintObject &object, const std::vector< std::pair< double, unsigned int > > &per_layer_extruder_switches) |
| void | reorder_extruders (unsigned int last_extruder_id) |
| void | fill_wipe_tower_partitions (const PrintConfig &config, coordf_t object_bottom_z, coordf_t max_layer_height) |
| bool | insert_wipe_tower_extruder () |
| void | mark_skirt_layers (const PrintConfig &config, coordf_t max_layer_height) |
| void | collect_extruder_statistics (bool prime_multi_material) |
Private Attributes | |
| std::vector< LayerTools > | m_layer_tools |
| unsigned int | m_first_printing_extruder = (unsigned int)-1 |
| unsigned int | m_last_printing_extruder = (unsigned int)-1 |
| std::vector< unsigned int > | m_all_printing_extruders |
| const PrintConfig * | m_print_config_ptr = nullptr |
|
default |
| Slic3r::ToolOrdering::ToolOrdering | ( | const PrintObject & | object, |
| unsigned int | first_extruder, | ||
| bool | prime_multi_material = false |
||
| ) |
References Slic3r::calc_max_layer_height(), collect_extruder_statistics(), collect_extruders(), empty(), fill_wipe_tower_partitions(), front(), initialize_layers(), Slic3r::layer_height(), mark_skirt_layers(), and reorder_extruders().
Here is the call graph for this function:| Slic3r::ToolOrdering::ToolOrdering | ( | const Print & | print, |
| unsigned int | first_extruder, | ||
| bool | prime_multi_material = false |
||
| ) |
References Slic3r::calc_max_layer_height(), collect_extruder_statistics(), collect_extruders(), Slic3r::Print::config(), Slic3r::Model::custom_gcode_per_print_z, Slic3r::CustomGCode::custom_tool_changes(), fill_wipe_tower_partitions(), initialize_layers(), insert_wipe_tower_extruder(), m_print_config_ptr, mark_skirt_layers(), Slic3r::CustomGCode::Info::mode, Slic3r::PrintBase::model(), Slic3r::CustomGCode::MultiAsSingle, Slic3r::Print::object_extruders(), Slic3r::Print::objects(), and reorder_extruders().
Here is the call graph for this function:
|
inline |
References m_all_printing_extruders.
Referenced by Slic3r::GCode::_do_export(), and Slic3r::Print::_make_wipe_tower().
Here is the caller graph for this function:References Slic3r::CustomGCode::ColorChange, Slic3r::Print::config(), Slic3r::LayerTools::custom_gcode, Slic3r::Model::custom_gcode_per_print_z, EPSILON, Slic3r::CustomGCode::Item::extruder, Slic3r::LayerTools::extruders, Slic3r::CustomGCode::Info::gcodes, m_layer_tools, Slic3r::CustomGCode::Info::mode, Slic3r::PrintBase::model(), Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::MultiExtruder, Slic3r::Print::object_extruders(), Slic3r::CustomGCode::Item::print_z, Slic3r::LayerTools::print_z, Slic3r::CustomGCode::SingleExtruder, Slic3r::CustomGCode::ToolChange, and Slic3r::CustomGCode::Item::type.
Referenced by Slic3r::GCode::_do_export().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by Slic3r::Print::_make_wipe_tower().
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by Slic3r::DoubleSlider::TickCodeInfo::get_used_extruders_for_tick().
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by Slic3r::Print::process().
Here is the caller graph for this function:
|
private |
References Slic3r::append(), m_all_printing_extruders, m_first_printing_extruder, m_last_printing_extruder, m_layer_tools, and Slic3r::sort_remove_duplicates().
Referenced by ToolOrdering(), and ToolOrdering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::PrintRegion::config(), EPSILON, Slic3r::is_overriddable(), Slic3r::ExtrusionRole::is_solid_infill(), layer_tools(), m_layer_tools, m_print_config_ptr, Slic3r::ExtrusionRole::Mixed, Slic3r::ExtrusionRole::None, Slic3r::sort_remove_duplicates(), Slic3r::ExtrusionRole::SupportMaterial, Slic3r::ExtrusionRole::SupportMaterialInterface, and tools_for_layer().
Referenced by ToolOrdering(), and ToolOrdering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by ToolOrdering(), Slic3r::DoubleSlider::TickCodeInfo::get_used_extruders_for_tick(), and Slic3r::Print::process().
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by Slic3r::DoubleSlider::TickCodeInfo::get_used_extruders_for_tick().
Here is the caller graph for this function:
|
private |
References EPSILON, Slic3r::LayerTools::extruders, Slic3r::LayerTools::has_wipe_tower, last_extruder(), m_layer_tools, Slic3r::LayerTools::print_z, and Slic3r::LayerTools::wipe_tower_partitions.
Referenced by ToolOrdering(), and ToolOrdering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_first_printing_extruder.
Referenced by Slic3r::GCode::_do_export(), and Slic3r::Print::_make_wipe_tower().
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by ToolOrdering(), and Slic3r::Print::_make_wipe_tower().
Here is the caller graph for this function:
|
inline |
References m_first_printing_extruder, and m_layer_tools.
Referenced by Slic3r::GCode::_do_export(), and Slic3r::Print::_make_wipe_tower().
Here is the caller graph for this function:References EPSILON, m_layer_tools, and Slic3r::sort_remove_duplicates().
Referenced by ToolOrdering(), and ToolOrdering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References m_layer_tools, m_print_config_ptr, and Slic3r::sort_remove_duplicates().
Referenced by ToolOrdering().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_last_printing_extruder.
Referenced by Slic3r::GCode::_do_export(), fill_wipe_tower_partitions(), and Slic3r::Print::process().
Here is the caller graph for this function:
|
inline |
References m_layer_tools.
Referenced by Slic3r::GCode::_do_export(), Slic3r::Print::_make_wipe_tower(), and collect_extruders().
Here is the caller graph for this function:
|
private |
References EPSILON, and m_layer_tools.
Referenced by ToolOrdering(), and ToolOrdering().
Here is the caller graph for this function:
|
private |
References Slic3r::LayerTools::extruders, m_layer_tools, and m_print_config_ptr.
Referenced by ToolOrdering(), and ToolOrdering().
Here is the caller graph for this function:
|
inline |
| const LayerTools & Slic3r::ToolOrdering::tools_for_layer | ( | coordf_t | print_z | ) | const |
References EPSILON, and m_layer_tools.
Referenced by collect_extruders(), Slic3r::GCode::process_layers(), and Slic3r::GCode::process_layers().
Here is the caller graph for this function:
|
private |
Referenced by all_extruders(), and collect_extruder_statistics().
|
private |
Referenced by collect_extruder_statistics(), first_extruder(), and has_wipe_tower().
|
private |
Referenced by collect_extruder_statistics(), and last_extruder().
|
private |
Referenced by assign_custom_gcodes(), back(), begin(), clear(), collect_extruder_statistics(), collect_extruders(), empty(), end(), fill_wipe_tower_partitions(), front(), has_wipe_tower(), initialize_layers(), insert_wipe_tower_extruder(), layer_tools(), mark_skirt_layers(), reorder_extruders(), and tools_for_layer().
|
private |
Referenced by ToolOrdering(), collect_extruders(), insert_wipe_tower_extruder(), and reorder_extruders().