![]() |
Prusa Slicer 2.6.0
|
#include <src/libslic3r/Flow.hpp>
Public Member Functions | |
| Flow ()=default | |
| Flow (float width, float height, float nozzle_diameter) | |
| float | width () const |
| coord_t | scaled_width () const |
| float | height () const |
| float | spacing () const |
| coord_t | scaled_spacing () const |
| float | nozzle_diameter () const |
| bool | bridge () const |
| double | mm3_per_mm () const |
| coord_t | scaled_elephant_foot_spacing () const |
| bool | operator== (const Flow &rhs) const |
| Flow | with_width (float width) const |
| Flow | with_height (float height) const |
| Flow | with_spacing (float spacing) const |
| Flow | with_cross_section (float area) const |
| Flow | with_flow_ratio (double ratio) const |
Static Public Member Functions | |
| static Flow | bridging_flow (float dmr, float nozzle_diameter) |
| static Flow | new_from_config_width (FlowRole role, const ConfigOptionFloatOrPercent &width, float nozzle_diameter, float height) |
| static float | rounded_rectangle_extrusion_spacing (float width, float height) |
| static float | rounded_rectangle_extrusion_width_from_spacing (float spacing, float height) |
| static float | bridge_extrusion_spacing (float dmr) |
| static float | auto_extrusion_width (FlowRole role, float nozzle_diameter) |
| static double | extrusion_width (const std::string &opt_key, const ConfigOptionFloatOrPercent *opt, const ConfigOptionResolver &config, const unsigned int first_printing_extruder=0) |
| static double | extrusion_width (const std::string &opt_key, const ConfigOptionResolver &config, const unsigned int first_printing_extruder=0) |
Private Member Functions | |
| Flow (float width, float height, float spacing, float nozzle_diameter, bool bridge) | |
Private Attributes | |
| float | m_width { 0 } |
| float | m_height { 0 } |
| float | m_spacing { 0 } |
| float | m_nozzle_diameter { 0 } |
| bool | m_bridge { false } |
|
default |
Referenced by new_from_config_width(), with_cross_section(), with_height(), and with_width().
Here is the caller graph for this function:
|
inline |
|
inlineprivate |
|
static |
References Slic3r::frExternalPerimeter, Slic3r::frInfill, Slic3r::frPerimeter, Slic3r::frSolidInfill, Slic3r::frSupportMaterial, Slic3r::frSupportMaterialInterface, Slic3r::frTopSolidInfill, and nozzle_diameter().
Referenced by Slic3r::FillLightning::Generator::Generator(), Slic3r::FillAdaptive::adaptive_fill_line_spacing(), extrusion_width(), and new_from_config_width().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_bridge.
Referenced by Slic3r::PerimeterGenerator::thick_polyline_to_multi_path().
Here is the caller graph for this function:
|
static |
References BRIDGE_EXTRA_SPACING.
Referenced by bridging_flow().
Here is the caller graph for this function:
|
inlinestatic |
References bridge_extrusion_spacing(), and nozzle_diameter().
Referenced by Slic3r::FFFSupport::SupportParameters::SupportParameters(), Slic3r::LayerRegion::bridging_flow(), Slic3r::PresetHints::maximum_volumetric_flow_description(), and Slic3r::ExtrusionPath::polygons_covered_by_spacing().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References auto_extrusion_width(), Slic3r::ConfigOptionFloatOrPercent::get_abs_value(), Slic3r::opt_key_to_flow_role(), Slic3r::ConfigOptionResolver::option(), Slic3r::ConfigOptionFloatOrPercent::percent, Slic3r::throw_on_missing_variable(), and Slic3r::ConfigOptionSingle< T >::value.
Referenced by extrusion_width(), and Slic3r::client::MyContext::scalar_variable_to_expr().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References extrusion_width(), and Slic3r::ConfigOptionResolver::option().
Here is the call graph for this function:
|
inline |
References m_height.
Referenced by Slic3r::FFFSupport::fill_expolygon_generate_paths(), Slic3r::FFFSupport::fill_expolygons_with_sheath_generate_paths(), Slic3r::FFFSupport::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), new_from_config_width(), Slic3r::SurfaceFillParams::operator<(), Slic3r::GCode::process_layer(), rounded_rectangle_extrusion_spacing(), rounded_rectangle_extrusion_width_from_spacing(), Slic3r::PerimeterGenerator::thick_polyline_to_multi_path(), Slic3r::traverse_loops_classic(), Slic3r::FFFSupport::tree_supports_generate_paths(), with_cross_section(), and with_height().
Here is the caller graph for this function:| double Slic3r::Flow::mm3_per_mm | ( | ) | const |
References m_bridge, m_height, m_width, and PI.
Referenced by Slic3r::Print::_make_skirt(), Slic3r::FFFSupport::fill_expolygon_generate_paths(), Slic3r::FFFSupport::fill_expolygons_with_sheath_generate_paths(), Slic3r::FFFSupport::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::Layer::make_fills(), Slic3r::PresetHints::maximum_volumetric_flow_description(), Slic3r::FFFSupport::modulate_extrusion_by_overlapping_layers(), Slic3r::GCode::process_layer(), Slic3r::PerimeterGenerator::thick_polyline_to_multi_path(), Slic3r::FFFSupport::tree_supports_generate_paths(), with_cross_section(), and with_flow_ratio().
Here is the caller graph for this function:
|
static |
References Flow(), auto_extrusion_width(), height(), nozzle_diameter(), rounded_rectangle_extrusion_spacing(), and width().
Referenced by Slic3r::Print::brim_flow(), Slic3r::PrintRegion::flow(), Slic3r::PresetHints::maximum_volumetric_flow_description(), Slic3r::PresetHints::recommended_thin_wall_thickness(), Slic3r::Print::skirt_flow(), Slic3r::support_material_1st_layer_flow(), Slic3r::support_material_flow(), and Slic3r::support_material_interface_flow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_nozzle_diameter.
Referenced by Slic3r::FFFSupport::SupportParameters::SupportParameters(), auto_extrusion_width(), bridging_flow(), Slic3r::FFFSupport::generate_support_toolpaths(), new_from_config_width(), Slic3r::SurfaceFillParams::operator<(), Slic3r::PerimeterGenerator::process_classic(), and Slic3r::SeamPlacerImpl::process_perimeter_polygon().
Here is the caller graph for this function:References m_bridge, m_height, m_nozzle_diameter, and m_width.
|
static |
References height(), PI, and width().
Referenced by new_from_config_width(), with_height(), and with_width().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References height(), PI, and spacing().
Referenced by Slic3r::Arachne::WallToolPaths::generate(), and with_cross_section().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
References m_spacing, and scale_.
Referenced by Slic3r::PrintObject::discover_vertical_shells(), Slic3r::FFFSupport::fill_expolygons_with_sheath_generate_paths(), Slic3r::FFFSupport::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::FFFSupport::generate_interface_layers(), Slic3r::make_brim(), Slic3r::make_inner_brim(), Slic3r::PerimeterGenerator::process_arachne(), Slic3r::PerimeterGenerator::process_classic(), Slic3r::LayerRegion::process_external_surfaces(), Slic3r::FFFSupport::remove_bridges_from_contacts(), scaled_elephant_foot_spacing(), and Slic3r::FFFSupport::tree_supports_generate_paths().
Here is the caller graph for this function:
|
inline |
References m_width, and scale_.
Referenced by Slic3r::FFFTreeSupport::TreeSupportMeshGroupSettings::TreeSupportMeshGroupSettings(), Slic3r::detect_overhangs(), Slic3r::PrintObject::detect_surfaces_type(), Slic3r::PrintObject::discover_vertical_shells(), Slic3r::FFFSupport::fill_expolygons_with_sheath_generate_paths(), Slic3r::FFFSupport::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::FFFSupport::generate_raft_base(), Slic3r::FFFSupport::generate_support_toolpaths(), Slic3r::PerimeterGenerator::process_arachne(), Slic3r::PerimeterGenerator::process_classic(), Slic3r::LayerRegion::process_external_surfaces(), Slic3r::FFFSupport::remove_bridges_from_contacts(), scaled_elephant_foot_spacing(), and Slic3r::FFFSupport::tree_supports_generate_paths().
Here is the caller graph for this function:
|
inline |
References m_spacing.
Referenced by Slic3r::FFFSupport::SupportParameters::SupportParameters(), Slic3r::Print::_make_skirt(), Slic3r::elephant_foot_compensation(), Slic3r::FFFTreeSupport::generate_support_infill_lines(), Slic3r::FFFSupport::generate_support_toolpaths(), Slic3r::group_fills(), Slic3r::make_brim(), Slic3r::PerimeterGenerator::process_arachne(), Slic3r::PerimeterGenerator::process_classic(), Slic3r::PresetHints::recommended_thin_wall_thickness(), and rounded_rectangle_extrusion_width_from_spacing().
Here is the caller graph for this function:
|
inline |
References m_width.
Referenced by Slic3r::FFFSupport::SupportParameters::SupportParameters(), Slic3r::FFFTreeSupport::TreeSupportMeshGroupSettings::TreeSupportMeshGroupSettings(), Slic3r::GCode::_do_export(), Slic3r::Print::_make_skirt(), Slic3r::elephant_foot_compensation(), Slic3r::PrintObject::estimate_curled_extrusions(), Slic3r::FFFSupport::fill_expolygon_generate_paths(), Slic3r::FFFSupport::fill_expolygons_with_sheath_generate_paths(), Slic3r::FFFSupport::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::FFFSupport::generate_support_toolpaths(), Slic3r::SupportSpotsGenerator::get_flow_width(), Slic3r::Layer::make_fills(), new_from_config_width(), Slic3r::SurfaceFillParams::operator<(), Slic3r::SeamPlacerImpl::process_perimeter_polygon(), Slic3r::PresetHints::recommended_thin_wall_thickness(), rounded_rectangle_extrusion_spacing(), Slic3r::PerimeterGenerator::thick_polyline_to_multi_path(), Slic3r::traverse_loops_classic(), Slic3r::FFFSupport::tree_supports_generate_paths(), and with_width().
Here is the caller graph for this function:| Flow Slic3r::Flow::with_cross_section | ( | float | area | ) | const |
References Flow(), Slic3r::area(), EPSILON, height(), m_bridge, m_height, m_nozzle_diameter, M_PI, m_spacing, m_width, mm3_per_mm(), rounded_rectangle_extrusion_width_from_spacing(), sqrt(), and with_width().
Referenced by with_flow_ratio().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References mm3_per_mm(), and with_cross_section().
Referenced by Slic3r::FFFSupport::SupportParameters::SupportParameters(), and Slic3r::LayerRegion::bridging_flow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Flow(), height(), m_bridge, m_nozzle_diameter, m_width, and rounded_rectangle_extrusion_spacing().
Referenced by Slic3r::FFFSupport::LoopInterfaceProcessor::generate(), and Slic3r::GCode::process_layer().
Here is the call graph for this function:
Here is the caller graph for this function:| Flow Slic3r::Flow::with_spacing | ( | float | spacing | ) | const |
References m_bridge, m_height, m_spacing, and m_width.
Referenced by Slic3r::Layer::make_fills().
Here is the caller graph for this function:
|
inline |
References Flow(), m_bridge, m_height, m_nozzle_diameter, rounded_rectangle_extrusion_spacing(), and width().
Referenced by Slic3r::PerimeterGenerator::thick_polyline_to_multi_path(), and with_cross_section().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by bridge(), mm3_per_mm(), operator==(), with_cross_section(), with_height(), with_spacing(), and with_width().
|
private |
Referenced by height(), mm3_per_mm(), operator==(), with_cross_section(), with_spacing(), and with_width().
|
private |
Referenced by nozzle_diameter(), operator==(), with_cross_section(), with_height(), and with_width().
|
private |
Referenced by scaled_spacing(), spacing(), with_cross_section(), and with_spacing().
|
private |
Referenced by mm3_per_mm(), operator==(), scaled_width(), width(), with_cross_section(), with_height(), and with_spacing().