#include </home/runner/work/OrcaSlicer/OrcaSlicer/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 |
| void | set_spacing (float spacing) |
| 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 |
| bool | operator!= (const Flow &rhs) 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 Flow(), bridging_flow(), new_from_config_width(), operator!=(), operator<(), operator==(), with_cross_section(), with_flow_ratio(), with_height(), with_spacing(), and with_width().
|
inline |
References Flow(), height(), nozzle_diameter(), rounded_rectangle_extrusion_spacing(), and width().
|
inlineprivate |
References bridge(), height(), m_bridge, m_height, m_nozzle_diameter, m_spacing, m_width, nozzle_diameter(), spacing(), and width().
|
static |
References Slic3r::frExternalPerimeter, Slic3r::frInfill, Slic3r::frPerimeter, Slic3r::frSolidInfill, Slic3r::frSupportMaterial, Slic3r::frSupportMaterialInterface, Slic3r::frSupportTransition, Slic3r::frTopSolidInfill, and nozzle_diameter().
Referenced by Slic3r::FillLightning::Generator::Generator(), Slic3r::FillLightning::Generator::Generator(), Slic3r::FillAdaptive::adaptive_fill_line_spacing(), extrusion_width(), Slic3r::CalibPressureAdvance::find_optimal_PA_speed(), Slic3r::CalibPressureAdvancePattern::flow_val(), Slic3r::TreeSupport::generate_toolpaths(), Slic3r::CalibPressureAdvancePattern::line_width(), Slic3r::CalibPressureAdvancePattern::line_width_first_layer(), new_from_config_width(), Slic3r::resolve_outer_wall_line_width(), Slic3r::PerimeterGenerator::split_top_surfaces(), and Slic3r::GUI::update_speed_parameter().
|
inline |
References m_bridge.
Referenced by Flow(), and Slic3r::thick_polyline_to_multi_path().
|
static |
References BRIDGE_EXTRA_SPACING.
Referenced by bridging_flow().
|
inlinestatic |
References Flow(), bridge_extrusion_spacing(), and nozzle_diameter().
Referenced by Slic3r::SupportParameters::SupportParameters(), Slic3r::LayerRegion::bridging_flow(), Slic3r::ExtrusionPath::polygons_covered_by_spacing(), and Slic3r::support_transition_flow().
|
static |
References auto_extrusion_width(), extrusion_width(), nozzle_diameter(), Slic3r::opt_key_to_flow_role(), Slic3r::ConfigOptionResolver::option(), and Slic3r::throw_on_missing_variable().
Referenced by extrusion_width(), extrusion_width(), Slic3r::client::MyContext::scalar_variable_to_expr(), and Slic3r::client::MyContext::vector_element_to_expr().
|
static |
References extrusion_width(), and Slic3r::ConfigOptionResolver::option().
|
inline |
References m_height.
Referenced by Flow(), Flow(), Slic3r::_make_loops(), Slic3r::LayerRegion::bridging_flow(), Slic3r::detect_belt_floor_bottom_contacts(), Slic3r::fill_expolygon_generate_paths(), Slic3r::fill_expolygon_generate_paths(), Slic3r::fill_expolygons_with_sheath_generate_paths(), Slic3r::Fill::fill_surface_extrusion(), Slic3r::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::GCode::generate_skirt(), Slic3r::TreeSupport::generate_toolpaths(), new_from_config_width(), rounded_rectangle_extrusion_spacing(), rounded_rectangle_extrusion_width_from_spacing(), Slic3r::thick_polyline_to_extrusion_paths_2(), Slic3r::thick_polyline_to_multi_path(), Slic3r::traverse_loops(), Slic3r::tree_supports_generate_paths(), with_cross_section(), and with_height().
| double Slic3r::Flow::mm3_per_mm | ( | ) | const |
References m_bridge, m_height, m_width, and PI.
Referenced by Slic3r::_make_loops(), Slic3r::Print::_make_skirt(), Slic3r::GUI::CalibUtils::calib_flowrate(), Slic3r::GUI::CalibUtils::calib_max_vol_speed(), Slic3r::GUI::Plater::calib_max_vol_speed(), Slic3r::CalibPressureAdvance::e_per_mm(), Slic3r::fill_expolygon_generate_paths(), Slic3r::fill_expolygon_generate_paths(), Slic3r::fill_expolygons_with_sheath_generate_paths(), Slic3r::Fill::fill_surface_extrusion(), Slic3r::FillLockedZag::fill_surface_extrusion(), Slic3r::CalibPressureAdvance::find_optimal_PA_speed(), Slic3r::CalibPressureAdvancePattern::flow_val(), Slic3r::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::GCode::generate_skirt(), Slic3r::TreeSupport::generate_toolpaths(), Slic3r::get_outer_wall_volumetric_speed(), Slic3r::modulate_extrusion_by_overlapping_layers(), Slic3r::GUI::VFA_Test_Dlg::on_start(), operator<(), Slic3r::thick_polyline_to_extrusion_paths_2(), Slic3r::thick_polyline_to_multi_path(), Slic3r::tree_supports_generate_paths(), Slic3r::GUI::update_speed_parameter(), with_cross_section(), and with_flow_ratio().
|
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::group_fills(), Slic3r::Print::skirt_flow(), Slic3r::support_material_1st_layer_flow(), Slic3r::support_material_flow(), and Slic3r::support_material_interface_flow().
|
inline |
References m_nozzle_diameter.
Referenced by Flow(), Flow(), auto_extrusion_width(), bridging_flow(), extrusion_width(), Slic3r::generate_support_toolpaths(), new_from_config_width(), and Slic3r::SeamPlacerImpl::process_perimeter_polygon().
|
inline |
References Flow(), m_bridge, m_height, m_nozzle_diameter, and m_width.
|
inline |
|
inline |
References Flow(), m_bridge, m_height, m_nozzle_diameter, and m_width.
|
static |
References height(), PI, and width().
Referenced by Flow(), new_from_config_width(), Slic3r::segmentation_top_and_bottom_layers(), with_height(), and with_width().
|
static |
References height(), PI, and spacing().
Referenced by Slic3r::Arachne::WallToolPaths::generate(), Slic3r::Layer::make_ironing(), and with_cross_section().
|
inline |
|
inline |
References m_spacing, and scale_.
Referenced by Slic3r::Fill::_create_gap_fill(), Slic3r::_make_loops(), Slic3r::brim_exclusion_clearance(), Slic3r::defer_unsupported_loops(), Slic3r::PrintObject::discover_vertical_shells(), Slic3r::fill_expolygons_with_sheath_generate_paths(), Slic3r::FillConcentricInternal::fill_surface_extrusion(), Slic3r::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::generate_interface_layers(), Slic3r::TreeSupport::generate_toolpaths(), Slic3r::Layer::get_sparse_infill_max_void_area(), Slic3r::make_belt_brim(), Slic3r::make_brim(), Slic3r::make_perimeter_and_infill(), Slic3r::make_perimeter_and_inner_brim(), Slic3r::outer_inner_brim_area(), Slic3r::LayerRegion::process_external_surfaces(), Slic3r::SupportMaterialInternal::remove_bridges_from_contacts(), scaled_elephant_foot_spacing(), Slic3r::tree_supports_generate_paths(), and Slic3r::tryExPolygonOffset().
|
inline |
References m_width, and scale_.
Referenced by Slic3r::TreeSupport3D::TreeSupportMeshGroupSettings::TreeSupportMeshGroupSettings(), Slic3r::Feature::FuzzySkin::apply_fuzzy_skin(), Slic3r::brim_exclusion_clearance(), Slic3r::PrintObject::clip_fill_surfaces(), Slic3r::detect_belt_floor_bottom_contacts(), Slic3r::PrintObject::discover_horizontal_shells(), Slic3r::PrintObject::discover_vertical_shells(), Slic3r::fill_expolygons_with_sheath_generate_paths(), Slic3r::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::generate_raft_base(), Slic3r::generate_support_toolpaths(), Slic3r::Feature::FuzzySkin::group_region_by_fuzzify(), Slic3r::make_perimeter_and_infill(), Slic3r::LayerRegion::process_external_surfaces(), Slic3r::SupportMaterialInternal::remove_bridges_from_contacts(), scaled_elephant_foot_spacing(), and Slic3r::tree_supports_generate_paths().
|
inline |
|
inline |
References m_spacing.
Referenced by Flow(), Slic3r::Print::_make_skirt(), Slic3r::elephant_foot_compensation(), Slic3r::TreeSupport3D::generate_support_infill_lines(), Slic3r::generate_support_toolpaths(), Slic3r::TreeSupport::generate_toolpaths(), Slic3r::group_fills(), rounded_rectangle_extrusion_width_from_spacing(), and set_spacing().
|
inline |
References m_width.
Referenced by Flow(), Flow(), Slic3r::SupportParameters::SupportParameters(), Slic3r::TreeSupport3D::TreeSupportMeshGroupSettings::TreeSupportMeshGroupSettings(), Slic3r::GCode::_do_export(), Slic3r::_make_loops(), Slic3r::Print::_make_skirt(), Slic3r::elephant_foot_compensation(), Slic3r::fill_expolygon_generate_paths(), Slic3r::fill_expolygon_generate_paths(), Slic3r::fill_expolygons_with_sheath_generate_paths(), Slic3r::Fill::fill_surface_extrusion(), Slic3r::FillLockedZag::fill_surface_extrusion(), Slic3r::fuzzy_skin_segmentation_by_painting(), Slic3r::LoopInterfaceProcessor::generate(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::generate_support_toolpaths(), Slic3r::TreeSupport::generate_toolpaths(), Slic3r::SupportSpotsGenerator::get_flow_width(), new_from_config_width(), Slic3r::SeamPlacerImpl::process_perimeter_polygon(), rounded_rectangle_extrusion_spacing(), Slic3r::thick_polyline_to_extrusion_paths_2(), Slic3r::thick_polyline_to_multi_path(), Slic3r::traverse_loops(), Slic3r::tree_supports_generate_paths(), and with_width().
| 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(), and with_width().
Referenced by Slic3r::belt_brim_band_paths(), and with_flow_ratio().
|
inline |
References Flow(), mm3_per_mm(), and with_cross_section().
Referenced by Slic3r::LayerRegion::bridging_flow().
|
inline |
References Flow(), height(), m_bridge, m_nozzle_diameter, m_width, and rounded_rectangle_extrusion_spacing().
Referenced by Slic3r::LoopInterfaceProcessor::generate(), and Slic3r::GCode::generate_skirt().
| Flow Slic3r::Flow::with_spacing | ( | float | spacing | ) | const |
References Flow(), L, m_bridge, m_height, m_spacing, and m_width.
Referenced by Slic3r::Fill::fill_surface_extrusion(), Slic3r::FillConcentricInternal::fill_surface_extrusion(), and Slic3r::FillLockedZag::fill_surface_extrusion().
|
inline |
References Flow(), m_bridge, m_height, m_nozzle_diameter, rounded_rectangle_extrusion_spacing(), and width().
Referenced by Slic3r::thick_polyline_to_extrusion_paths_2(), Slic3r::thick_polyline_to_multi_path(), and with_cross_section().
|
private |
Referenced by Flow(), bridge(), mm3_per_mm(), operator!=(), operator==(), with_cross_section(), with_height(), with_spacing(), and with_width().
|
private |
Referenced by Flow(), height(), mm3_per_mm(), operator!=(), operator==(), with_cross_section(), with_spacing(), and with_width().
|
private |
Referenced by Flow(), nozzle_diameter(), operator!=(), operator==(), with_cross_section(), with_height(), and with_width().
|
private |
Referenced by Flow(), scaled_spacing(), set_spacing(), spacing(), with_cross_section(), and with_spacing().
|
private |
Referenced by Flow(), mm3_per_mm(), operator!=(), operator==(), scaled_width(), width(), with_cross_section(), with_height(), and with_spacing().