OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::PrintEstimatedStatistics Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode/GCodeProcessor.hpp>

Collaboration diagram for Slic3r::PrintEstimatedStatistics:

Classes

struct  Mode

Public Types

enum class  ETimeMode : unsigned char { Normal , Stealth , Count }

Public Member Functions

 PrintEstimatedStatistics ()
void reset ()

Public Attributes

std::vector< double > volumes_per_color_change
std::map< size_t, double > model_volumes_per_extruder
std::map< size_t, double > wipe_tower_volumes_per_extruder
std::map< size_t, double > support_volumes_per_extruder
std::map< size_t, double > total_volumes_per_extruder
std::map< size_t, double > flush_per_filament
std::map< ExtrusionRole, std::pair< double, double > > used_filaments_per_role
std::array< Mode, static_cast< size_t >(ETimeMode::Count)> modes
unsigned int total_filament_changes
unsigned int total_flush_filament_changes
unsigned int total_extruder_changes
float total_filament_load_time
float total_filament_unload_time
float total_tool_change_time
float total_travel_distance
unsigned int total_travel_moves
float total_seam_gap_distance
float total_seam_scarf_distance

Detailed Description

Member Enumeration Documentation

◆ ETimeMode

enum class Slic3r::PrintEstimatedStatistics::ETimeMode : unsigned char
strong
Enumerator
Normal 
Stealth 
Count 
88 {
89 Normal,
90 Stealth,
91 Count
92 };
@ Normal
Definition PrePrintChecker.hpp:15
@ Count
Definition ArcFitter.hpp:18
@ Stealth
Definition Types.hpp:202

Constructor & Destructor Documentation

◆ PrintEstimatedStatistics()

Slic3r::PrintEstimatedStatistics::PrintEstimatedStatistics ( )
inline
132{ reset(); }
void reset()
Definition GCodeProcessor.hpp:134

References reset().

Here is the call graph for this function:

Member Function Documentation

◆ reset()

void Slic3r::PrintEstimatedStatistics::reset ( )
inline
134 {
135 for (auto m : modes) {
136 m.reset();
137 }
139 volumes_per_color_change.shrink_to_fit();
144 flush_per_filament.clear();
156 }
std::map< size_t, double > total_volumes_per_extruder
Definition GCodeProcessor.hpp:112
std::map< size_t, double > flush_per_filament
Definition GCodeProcessor.hpp:114
std::map< size_t, double > support_volumes_per_extruder
Definition GCodeProcessor.hpp:111
unsigned int total_travel_moves
Definition GCodeProcessor.hpp:128
float total_seam_gap_distance
Definition GCodeProcessor.hpp:129
std::map< ExtrusionRole, std::pair< double, double > > used_filaments_per_role
Definition GCodeProcessor.hpp:115
std::map< size_t, double > wipe_tower_volumes_per_extruder
Definition GCodeProcessor.hpp:110
std::vector< double > volumes_per_color_change
Definition GCodeProcessor.hpp:108
float total_tool_change_time
Definition GCodeProcessor.hpp:126
unsigned int total_filament_changes
Definition GCodeProcessor.hpp:118
float total_travel_distance
Definition GCodeProcessor.hpp:127
float total_seam_scarf_distance
Definition GCodeProcessor.hpp:130
float total_filament_load_time
Definition GCodeProcessor.hpp:124
std::map< size_t, double > model_volumes_per_extruder
Definition GCodeProcessor.hpp:109
float total_filament_unload_time
Definition GCodeProcessor.hpp:125
std::array< Mode, static_cast< size_t >(ETimeMode::Count)> modes
Definition GCodeProcessor.hpp:117
unsigned int total_flush_filament_changes
Definition GCodeProcessor.hpp:122
unsigned int total_extruder_changes
Definition GCodeProcessor.hpp:123

References flush_per_filament, model_volumes_per_extruder, modes, support_volumes_per_extruder, total_extruder_changes, total_filament_changes, total_filament_load_time, total_filament_unload_time, total_flush_filament_changes, total_seam_gap_distance, total_seam_scarf_distance, total_tool_change_time, total_travel_distance, total_travel_moves, total_volumes_per_extruder, used_filaments_per_role, volumes_per_color_change, and wipe_tower_volumes_per_extruder.

Referenced by PrintEstimatedStatistics().

Here is the caller graph for this function:

Member Data Documentation

◆ flush_per_filament

std::map<size_t, double> Slic3r::PrintEstimatedStatistics::flush_per_filament

◆ model_volumes_per_extruder

std::map<size_t, double> Slic3r::PrintEstimatedStatistics::model_volumes_per_extruder

◆ modes

◆ support_volumes_per_extruder

std::map<size_t, double> Slic3r::PrintEstimatedStatistics::support_volumes_per_extruder

◆ total_extruder_changes

unsigned int Slic3r::PrintEstimatedStatistics::total_extruder_changes

Referenced by reset().

◆ total_filament_changes

unsigned int Slic3r::PrintEstimatedStatistics::total_filament_changes

◆ total_filament_load_time

float Slic3r::PrintEstimatedStatistics::total_filament_load_time

Referenced by reset().

◆ total_filament_unload_time

float Slic3r::PrintEstimatedStatistics::total_filament_unload_time

Referenced by reset().

◆ total_flush_filament_changes

unsigned int Slic3r::PrintEstimatedStatistics::total_flush_filament_changes

Referenced by reset().

◆ total_seam_gap_distance

float Slic3r::PrintEstimatedStatistics::total_seam_gap_distance

Referenced by reset().

◆ total_seam_scarf_distance

float Slic3r::PrintEstimatedStatistics::total_seam_scarf_distance

Referenced by reset().

◆ total_tool_change_time

float Slic3r::PrintEstimatedStatistics::total_tool_change_time

Referenced by reset().

◆ total_travel_distance

float Slic3r::PrintEstimatedStatistics::total_travel_distance

◆ total_travel_moves

unsigned int Slic3r::PrintEstimatedStatistics::total_travel_moves

Referenced by reset().

◆ total_volumes_per_extruder

std::map<size_t, double> Slic3r::PrintEstimatedStatistics::total_volumes_per_extruder

◆ used_filaments_per_role

std::map<ExtrusionRole, std::pair<double, double> > Slic3r::PrintEstimatedStatistics::used_filaments_per_role

Referenced by reset().

◆ volumes_per_color_change

std::vector<double> Slic3r::PrintEstimatedStatistics::volumes_per_color_change

Referenced by reset().

◆ wipe_tower_volumes_per_extruder

std::map<size_t, double> Slic3r::PrintEstimatedStatistics::wipe_tower_volumes_per_extruder

The documentation for this struct was generated from the following file: