#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/GCode/GCodeProcessor.hpp>
Classes | |
| struct | CachedPosition |
| struct | CpColor |
| struct | FeedrateProfile |
| struct | Trapezoid |
| struct | TimeBlock |
| struct | TimeMachine |
| struct | UsedFilaments |
| struct | TimeProcessor |
| class | PreCoolingInjector |
| class | SeamsDetector |
| class | OptionsZCorrector |
| struct | MassLocation |
| struct | PositionState |
Public Types | |
| enum class | ETags : unsigned char { Role , Wipe_Start , Wipe_End , Height , Width , Layer_Change , Color_Change , Pause_Print , Custom_Code , First_Line_M73_Placeholder , Last_Line_M73_Placeholder , Estimated_Printing_Time_Placeholder , Total_Layer_Number_Placeholder , Manual_Tool_Change , During_Print_Exhaust_Fan , Wipe_Tower_Start , Wipe_Tower_End , PA_Change , Print_Time_Total_Sec_Placeholder , Print_Time_Day_Placeholder , Print_Time_Hour_Placeholder , Print_Time_Minute_Placeholder , Print_Time_Sec_Placeholder , Used_Filament_Length_Placeholder , Normal_Print_Time_Placeholder , Silent_Print_Time_Placeholder , Total_Weight_Placeholder , Total_Cost_Placeholder , Total_Wipe_Tower_Cost_Placeholder , Total_Wipe_Tower_Filament_Placeholder } |
| using | MassLocator = std::function<MassLocation(const Vec3d &point, bool support)> |
Public Member Functions | |
| GCodeProcessor () | |
| void | init_filament_maps_and_nozzle_type_when_import_only_gcode () |
| void | ensure_nozzle_group_result (int min_filament_count) |
| bool | check_multi_extruder_gcode_valid (const int extruder_size, const Pointfs plate_printable_area, const double plate_printable_height, const Pointfs wrapping_exclude_area, const std::vector< Polygons > &unprintable_areas, const std::vector< double > &printable_heights, const std::vector< int > &filament_map, const std::vector< std::set< int > > &unprintable_filament_types) |
| void | apply_config (const PrintConfig &config) |
| void | configure_exclusion_volume_path_check (const PrintConfig &config) |
| void | set_print (Print *print) |
| void | set_mass_locator (MassLocator locator, std::vector< GCodeProcessorResult::ObjectMass > objects) |
| void | initialize_from_context (const std::shared_ptr< MultiNozzleUtils::NozzleGroupResultBase > &nozzle_group_result) |
| DynamicConfig | export_config_for_render () const |
| bool | is_stealth_time_estimator_enabled () const |
| void | enable_machine_envelope_processing (bool enabled) |
| void | reset () |
| const GCodeProcessorResult & | get_result () const |
| GCodeProcessorResult & | result () |
| GCodeProcessorResult && | extract_result () |
| PositionState | get_current_position () const |
| void | process_file (const std::string &filename, std::function< void()> cancel_callback=nullptr) |
| void | initialize (const std::string &filename) |
| void | initialize_result_moves () |
| void | process_buffer (const std::string &buffer) |
| void | finalize (bool post_process) |
| double | get_time (PrintEstimatedStatistics::ETimeMode mode) const |
| float | get_prepare_time (PrintEstimatedStatistics::ETimeMode mode) const |
| std::string | get_time_dhm (PrintEstimatedStatistics::ETimeMode mode) const |
| std::vector< std::pair< CustomGCode::Type, std::pair< float, float > > > | get_custom_gcode_times (PrintEstimatedStatistics::ETimeMode mode, bool include_remaining) const |
| float | get_first_layer_time (PrintEstimatedStatistics::ETimeMode mode) const |
| void | set_xy_offset (double x, double y) |
| void | detect_layer_based_on_tag (bool enabled) |
Static Public Member Functions | |
| static const std::string & | reserved_tag (ETags tag) |
| static bool | contains_reserved_tag (const std::string &gcode, std::string &found_tag) |
| static bool | contains_reserved_tags (const std::string &gcode, unsigned int max_count, std::vector< std::string > &found_tag, bool is_bbl_printer) |
| static int | get_gcode_last_filament (const std::string &gcode_str) |
| static bool | get_last_z_from_gcode (const std::string &gcode_str, double &z) |
| static bool | get_last_position_from_gcode (const std::string &gcode_str, Vec3f &pos) |
Static Public Attributes | |
| static constexpr size_t | Output_Block_Size = 65536 |
| static const std::string | Skippable_Start_Tag = " SKIPPABLE_START" |
| static const std::string | Skippable_End_Tag = " SKIPPABLE_END" |
| static const std::string | Skippable_Type_Tag = " SKIPTYPE: " |
| static const std::string | Machine_Start_GCode_End_Tag = " MACHINE_START_GCODE_END" |
| static const std::string | Machine_End_GCode_Start_Tag = " MACHINE_END_GCODE_START" |
| static const std::string | Nozzle_Change_Start_Tag = " NOZZLE_CHANGE_START" |
| static const std::string | Nozzle_Change_End_Tag = " NOZZLE_CHANGE_END" |
| static const std::string | Toolchange_Wipe_Tag = " CP_TOOLCHANGE_WIPE" |
| static const float | Wipe_Width = 0.05f |
| static const float | Wipe_Height = 0.05f |
| static bool | s_IsBBLPrinter = true |
Private Types | |
| enum class | EUnits : unsigned char { Millimeters , Inches } |
| enum class | EPositioningType : unsigned char { Absolute , Relative } |
| enum class | EProducer { Unknown , OrcaSlicer , Slic3rPE , Slic3r , SuperSlicer , Cura , Simplify3D , CraftWare , ideaMaker , KissSlicer } |
| enum class | G1DiscretizationOrigin { G1 , G2G3 } |
| using | AxisCoords = std::array<double, 4> |
| using | ExtruderColors = std::vector<unsigned char> |
| using | ExtruderTemps = std::vector<float> |
Static Private Attributes | |
| static const std::vector< std::string > | Reserved_Tags |
| static const std::vector< std::string > | Reserved_Tags_compatible |
| static const std::string | Flush_Start_Tag = " FLUSH_START" |
| static const std::string | Flush_End_Tag = " FLUSH_END" |
| static const std::string | VFlush_Start_Tag = " VFLUSH_START" |
| static const std::string | VFlush_End_Tag = " VFLUSH_END" |
| static const std::string | External_Purge_Tag = " EXTERNAL_PURGE" |
| static const std::vector< std::pair< GCodeProcessor::EProducer, std::string > > | Producers |
| static unsigned int | s_result_id = 0 |
Friends | |
| class | ExportLines |
| struct Slic3r::GCodeProcessor::FeedrateProfile |
|
private |
|
private |
|
private |
| using Slic3r::GCodeProcessor::MassLocator = std::function<MassLocation(const Vec3d &point, bool support)> |
|
strongprivate |
|
strongprivate |
| Enumerator | |
|---|---|
| Unknown | |
| OrcaSlicer | |
| Slic3rPE | |
| Slic3r | |
| SuperSlicer | |
| Cura | |
| Simplify3D | |
| CraftWare | |
| ideaMaker | |
| KissSlicer | |
|
strong |
|
strongprivate |
|
strongprivate |
| Slic3r::GCodeProcessor::GCodeProcessor | ( | ) |
References m_options_z_corrector, m_result, m_time_processor, Slic3r::PrintEstimatedStatistics::Normal, register_commands(), reset(), and Slic3r::PrintEstimatedStatistics::Stealth.
|
private |
References Slic3r::GCodeProcessor::MassLocation::body, Slic3r::DEFAULT_FILAMENT_DENSITY, Slic3r::erBrim, Slic3r::erCustom, Slic3r::erMixed, Slic3r::erNone, Slic3r::erSkirt, Slic3r::erWipeTower, Slic3r::is_support(), m_end_position, m_extruder_offsets, m_extrusion_role, m_height, m_layer_id, m_mass_locator, m_result, m_start_position, m_x_offset, m_y_offset, m_z_offset, Slic3r::BoundingBox3Base< PointType >::merge(), Slic3r::GCodeProcessor::MassLocation::object, Slic3r::offset(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by process_G1().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, DEFAULT_ACCELERATION, DEFAULT_EXTRUDER_OFFSET, DEFAULT_FILAMENT_COST, Slic3r::DEFAULT_FILAMENT_DENSITY, DEFAULT_FILAMENT_DIAMETER, DEFAULT_FILAMENT_HRC, DEFAULT_FILAMENT_VITRIFICATION_TEMPERATURE, DEFAULT_RETRACT_ACCELERATION, DEFAULT_TRAVEL_ACCELERATION, ensure_nozzle_group_result(), Slic3r::extruder_max_nozzle_count(), Slic3r::extruder_offset(), Slic3r::filament_pre_cooling_temperature(), Slic3r::filament_type(), Slic3r::gcfKlipper, Slic3r::gcfMarlinFirmware, Slic3r::gcfMarlinLegacy, Slic3r::gcode_flavor(), Slic3r::get_option_value(), Slic3r::has_scarf_joint_seam(), Slic3r::hotend_cooling_rate(), Slic3r::initial_layer_print_height(), m_belt_render_config, m_detect_layer_based_on_tag, m_enable_pre_heating, m_extruder_colors, m_extruder_max_nozzle_count, m_extruder_offsets, m_extruder_temps, m_filament_maps, m_filament_pre_cooling_temp, m_filament_preheat_temperature_delta, m_filament_types, m_first_layer_height, m_flavor, m_handle_hotend_as_extruder, m_has_filament_switcher, m_hotend_cooling_rate, m_hotend_heating_rate, m_manual_filament_change, m_nozzle_diameter, m_nozzle_volume, m_parser, m_physical_extruder_map, m_printer_model, m_result, m_time_processor, m_z_offset, Slic3r::machine_load_filament_time(), Slic3r::machine_unload_filament_time(), Slic3r::make_counter_clockwise(), Slic3r::nozzle_diameter(), Slic3r::nozzle_type(), Slic3r::offset(), Slic3r::ConfigBase::option(), Slic3r::physical_extruder_map(), Slic3r::printable_area(), Slic3r::printable_height(), Slic3r::single_extruder_multi_material(), Slic3r::ConfigOptionVector< double >::size(), Slic3r::ConfigOptionSingle< T >::value, Slic3r::ConfigOptionVector< T >::values, Slic3r::ConfigOptionVector< double >::values, and Slic3r::ConfigOptionVector< int >::values.
| void Slic3r::GCodeProcessor::apply_config | ( | const PrintConfig & | config | ) |
References Slic3r::PrintEstimatedStatistics::Count, DEFAULT_ACCELERATION, DEFAULT_RETRACT_ACCELERATION, DEFAULT_TRAVEL_ACCELERATION, Slic3r::filament_map(), Slic3r::gcfKlipper, Slic3r::gcfMarlinFirmware, Slic3r::gcfMarlinLegacy, Slic3r::gcfRepRapFirmware, Slic3r::get_option_value(), Slic3r::has_scarf_joint_seam(), Slic3r::initial_layer_print_height(), Slic3r::is_XL_printer(), m_belt_printer, m_detect_layer_based_on_tag, m_disable_m73, m_enable_pre_heating, m_extruder_colors, m_extruder_max_nozzle_count, m_extruder_offsets, m_extruder_temps, m_filament_maps, m_filament_nozzle_temp, m_filament_nozzle_temp_first_layer, m_filament_pre_cooling_temp, m_filament_preheat_temperature_delta, m_filament_types, m_first_layer_height, m_flavor, m_has_filament_switcher, m_hotend_cooling_rate, m_hotend_heating_rate, m_is_XL_printer, m_machine_frame_transform, m_manual_filament_change, m_nozzle_diameter, m_nozzle_volume, m_parser, m_physical_extruder_map, m_preheat_steps, m_preheat_time, m_printer_model, m_result, m_single_extruder_multi_material, m_time_processor, m_z_offset, Slic3r::MachineEnvelopeConfig, Slic3r::GCodeWriter::supports_separate_travel_acceleration(), Slic3r::to_3d(), and Slic3r::ConfigOptionSingle< T >::value.
Referenced by apply_config_superslicer(), Slic3r::DoExport::init_gcode_processor(), and process_file().
|
private |
References m_parser, m_result, Slic3r::GCodeReader::quit_parsing(), Slic3r::remove_eols(), Slic3r::skip_whitespaces(), and Slic3r::string_to_double_decimal_point().
Referenced by process_file().
|
private |
References Slic3r::ConfigBase::apply(), apply_config(), Slic3r::EnableSilent, and Slic3r::load_from_superslicer_gcode_file().
Referenced by process_file().
|
private |
References Slic3r::GCodeProcessor::TimeBlock::acceleration, Slic3r::E, get_axis_max_acceleration(), m_machine_config_idx, and Slic3r::X.
Referenced by calc_vmax_junction_deviation().
|
private |
References Slic3r::GCodeProcessor::TimeBlock::acceleration, Slic3r::GCodeProcessor::TimeMachine::State::axis_feedrate, calc_junction_acceleration(), Slic3r::GCodeProcessor::FeedrateProfile::cruise, Slic3r::GCodeProcessor::TimeBlock::distance, Slic3r::dot(), Slic3r::E, Slic3r::GCodeProcessor::TimeMachine::State::enter_direction, Slic3r::GCodeProcessor::TimeMachine::State::exit_direction, Slic3r::GCodeProcessor::TimeMachine::State::feedrate, Slic3r::GCodeProcessor::TimeBlock::feedrate_profile, Slic3r::gcfKlipper, get_junction_deviation(), Slic3r::GCodeProcessor::TimeMachine::State::jd_unit_vec, Slic3r::GCodeProcessor::TimeBlock::junction_deviation, m_flavor, M_PI, m_time_processor, Slic3r::sqr(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by process_G1(), and process_VG1().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::actual_feedrate, Slic3r::GCodeProcessorResult::MoveVertex::actual_feedrate, Slic3r::GCodeProcessor::TimeMachine::actual_speed_moves, Slic3r::GCodeProcessor::TimeMachine::calculate_time(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::delta_extruder, Slic3r::GCodeProcessorResult::MoveVertex::delta_extruder, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::fan_speed, Slic3r::GCodeProcessorResult::MoveVertex::fan_speed, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::feedrate, Slic3r::GCodeProcessorResult::MoveVertex::feedrate, Slic3r::gcfKlipper, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::height, Slic3r::GCodeProcessorResult::MoveVertex::height, Slic3r::GCodeProcessorResult::MoveVertex::internal_only, Slic3r::GCodeProcessor::TimeMachine::klipper, m_actual_speed_id_map, m_flavor, m_options_z_corrector, m_result, m_time_processor, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::mm3_per_mm, Slic3r::GCodeProcessorResult::MoveVertex::mm3_per_mm, Slic3r::GCodeProcessorResult::moves, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::position, Slic3r::GCodeProcessorResult::MoveVertex::position, result(), Slic3r::Seam, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::temperature, Slic3r::GCodeProcessorResult::MoveVertex::temperature, Slic3r::GCodeProcessorResult::MoveVertex::time, Slic3r::GCodeProcessor::TimeMachine::ActualSpeedMove::width, and Slic3r::GCodeProcessorResult::MoveVertex::width.
Referenced by finalize(), process_G1(), and simulate_st_synchronize().
| bool Slic3r::GCodeProcessor::check_multi_extruder_gcode_valid | ( | const int | extruder_size, |
| const Pointfs | plate_printable_area, | ||
| const double | plate_printable_height, | ||
| const Pointfs | wrapping_exclude_area, | ||
| const std::vector< Polygons > & | unprintable_areas, | ||
| const std::vector< double > & | printable_heights, | ||
| const std::vector< int > & | filament_map, | ||
| const std::vector< std::set< int > > & | unprintable_filament_types ) |
References Slic3r::MultiPoint::bounding_box(), Slic3r::BoundingBoxBase< PointType, APointsType >::contains(), Slic3r::BoundingBoxBase< PointType, APointsType >::defined, Slic3r::MultiPoint::empty(), Slic3r::erCustom, Slic3r::Extrude, Slic3r::GCodeProcessorResult::MoveVertex::extruder_id, Slic3r::GCodeProcessorResult::MoveVertex::extrusion_role, Slic3r::filament_ids(), Slic3r::filament_map(), Slic3r::Polygon::is_valid(), m_belt_printer, m_extruder_offsets, m_machine_frame_transform, m_result, m_x_offset, m_y_offset, m_z_offset, Slic3r::Polygon::new_scale(), Slic3r::GCodeProcessorResult::MoveVertex::object_label_id, Slic3r::BoundingBoxBase< PointType, APointsType >::offset(), Slic3r::GCodeProcessorResult::MoveVertex::print_z, scale_, Slic3r::to_2d(), Slic3r::MultiPoint::translate(), and Slic3r::GCodeProcessorResult::MoveVertex::type.
| void Slic3r::GCodeProcessor::configure_exclusion_volume_path_check | ( | const PrintConfig & | config | ) |
References m_exclusion_volume_path_checker.
Referenced by Slic3r::Print::export_gcode_from_previous_file(), and Slic3r::DoExport::init_gcode_processor().
|
static |
References Slic3r::GCodeReader::parse_buffer(), Slic3r::GCodeReader::quit_parsing(), Slic3r::GCodeReader::GCodeLine::raw(), Reserved_Tags, Reserved_Tags_compatible, and s_IsBBLPrinter.
|
static |
References Slic3r::GCodeReader::parse_buffer(), Slic3r::GCodeReader::quit_parsing(), Slic3r::GCodeReader::GCodeLine::raw(), Reserved_Tags, and Reserved_Tags_compatible.
Referenced by Slic3r::DoExport::validate_custom_gcode(), and Slic3r::GUI::Tab::validate_custom_gcode().
|
inline |
References m_detect_layer_based_on_tag.
|
private |
References m_producer, and Producers.
Referenced by process_file().
|
inline |
References m_time_processor.
| void Slic3r::GCodeProcessor::ensure_nozzle_group_result | ( | int | min_filament_count | ) |
References Slic3r::MultiNozzleUtils::LayeredNozzleGroupResult::create(), DEFAULT_TOOLPATH_WIDTH, Slic3r::MultiNozzleUtils::NozzleInfo::diameter, Slic3r::MultiNozzleUtils::NozzleInfo::extruder_id, Slic3r::filament_map(), Slic3r::filament_nozzle_map(), Slic3r::format_diameter_to_str(), Slic3r::MultiNozzleUtils::NozzleInfo::group_id, m_filament_maps, m_nozzle_group_result, m_result, Slic3r::nozzle_diameter(), Slic3r::nvtStandard, result(), and Slic3r::MultiNozzleUtils::NozzleInfo::volume_type.
Referenced by apply_config().
| DynamicConfig Slic3r::GCodeProcessor::export_config_for_render | ( | ) | const |
References m_belt_render_config, m_parser, and Slic3r::DynamicConfig::set_key_value().
Referenced by Slic3r::GUI::Plater::load_gcode().
|
private |
References Slic3r::E, Slic3r::GCodeReader::GCodeLine::has(), Inches, INCHES_TO_MM, m_e_local_positioning_type, m_global_positioning_type, m_origin, m_start_position, m_units, Slic3r::GCodeReader::GCodeLine::precise_value(), and Relative.
Referenced by process_G1(), and process_G2_G3().
|
inline |
References m_result.
Referenced by Slic3r::Print::export_gcode_from_previous_file(), and Slic3r::GUI::Plater::load_gcode().
| void Slic3r::GCodeProcessor::finalize | ( | bool | post_process | ) |
References Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::cache, calculate_time(), Slic3r::CustomGCode::ColorChange, Slic3r::PrintEstimatedStatistics::Count, finalize_object_masses(), Slic3r::GCodeProcessor::TimeMachine::gcode_time, get_first_layer_time(), Slic3r::GCodeProcessorResult::MoveVertex::height, m_enable_pre_heating, m_result, m_time_processor, m_used_filaments, m_z_offset, Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::needed, Slic3r::Noop, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::post_process(), run_post_process(), run_second_pass_injection(), Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::times, Slic3r::GCodeProcessorResult::MoveVertex::type, update_estimated_times_stats(), update_exclusion_volume_path_check_result(), update_slice_warnings(), Slic3r::GCodeProcessorResult::MoveVertex::width, Slic3r::Wipe, Wipe_Height, and Wipe_Width.
Referenced by process_file().
|
private |
References m_result.
Referenced by finalize().
|
private |
References DEFAULT_ACCELERATION, Slic3r::GCodeProcessorResult::id, and m_time_processor.
Referenced by get_axis_max_jerk_with_jd(), get_axis_max_jerk_with_jd(), process_G1(), process_VG1(), and store_move_vertex().
|
private |
References get_axis_max_acceleration().
Referenced by calc_junction_acceleration(), get_axis_max_acceleration(), get_axis_max_jerk_with_jd(), process_G1(), and process_VG1().
|
private |
References Slic3r::E, Slic3r::get_option_value(), m_time_processor, Slic3r::X, Slic3r::Y, and Slic3r::Z.
|
private |
References get_axis_max_feedrate().
Referenced by get_axis_max_feedrate(), process_G1(), and process_VG1().
|
private |
References Slic3r::E, Slic3r::get_option_value(), m_time_processor, Slic3r::X, Slic3r::Y, and Slic3r::Z.
|
private |
References Slic3r::E, Slic3r::gcfMarlinFirmware, get_axis_max_jerk_with_jd(), Slic3r::get_option_value(), m_flavor, m_time_processor, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by process_G1(), process_VG1(), and store_move_vertex().
|
private |
References get_acceleration(), and get_axis_max_jerk_with_jd().
|
private |
References Slic3r::E, get_acceleration(), get_axis_max_acceleration(), Slic3r::get_option_value(), m_time_processor, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by get_axis_max_jerk(), get_axis_max_jerk_with_jd(), get_xyz_max_jerk(), and store_move_vertex().
| GCodeProcessor::PositionState Slic3r::GCodeProcessor::get_current_position | ( | ) | const |
References Slic3r::GCodeProcessor::PositionState::axis_known, m_axis_position_known, m_end_position, Slic3r::GCodeProcessor::PositionState::position, Slic3r::X, Slic3r::Y, and Slic3r::Z.
| std::vector< std::pair< CustomGCode::Type, std::pair< float, float > > > Slic3r::GCodeProcessor::get_custom_gcode_times | ( | PrintEstimatedStatistics::ETimeMode | mode, |
| bool | include_remaining ) const |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeProcessor::TimeMachine::gcode_time, m_time_processor, Slic3r::GCodeProcessor::TimeMachine::time, and Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::times.
Referenced by update_estimated_times_stats().
|
private |
References m_time_processor.
Referenced by process_filament_change(), and process_filament_change().
|
private |
References m_extruder_id.
Referenced by get_filament_id(), get_last_filament_id(), get_machine_config_idx(), process_filament_change(), process_filament_change(), process_filaments(), process_G1(), process_M1020(), process_T(), and process_VG1().
|
private |
References get_extruder_id(), and m_filament_id.
Referenced by process_elegoo_M6211(), process_filament_change(), process_filament_change(), process_G1(), process_G2_G3(), process_M1020(), process_M104(), process_M109(), process_M702(), Slic3r::GCodeProcessor::UsedFilaments::process_model_cache(), Slic3r::GCodeProcessor::UsedFilaments::process_role_cache(), Slic3r::GCodeProcessor::UsedFilaments::process_support_cache(), process_T(), process_tags(), Slic3r::GCodeProcessor::UsedFilaments::process_total_volume_cache(), process_VG1(), Slic3r::GCodeProcessor::UsedFilaments::process_wipe_tower_cache(), and store_move_vertex().
|
private |
References m_time_processor.
Referenced by process_filament_change(), and process_filament_change().
|
private |
References m_time_processor.
Referenced by process_filament_change(), process_filament_change(), and process_M702().
|
private |
References m_result.
Referenced by update_slice_warnings().
| float Slic3r::GCodeProcessor::get_first_layer_time | ( | PrintEstimatedStatistics::ETimeMode | mode | ) | const |
References Slic3r::PrintEstimatedStatistics::Count, and m_time_processor.
Referenced by finalize().
|
static |
References Slic3r::parse_number().
Referenced by Slic3r::GCode::_do_export().
|
private |
References Slic3r::gcfKlipper, Slic3r::gcfMarlinFirmware, Slic3r::get_option_value(), Slic3r::GCodeProcessorResult::id, m_flavor, m_time_processor, and Slic3r::sqr().
Referenced by calc_vmax_junction_deviation(), and process_G1().
|
private |
References get_extruder_id(), and m_last_filament_id.
Referenced by process_G1(), and process_VG1().
|
static |
References Slic3r::is_end_of_word().
Referenced by Slic3r::WipeTowerIntegration::append_tcr(), and Slic3r::WipeTowerIntegration::append_tcr2().
|
static |
References Slic3r::is_end_of_word().
Referenced by Slic3r::WipeTowerIntegration::append_tcr(), Slic3r::GCode::generate_timelapse_gcode(), and Slic3r::GCode::set_extruder().
|
private |
References Slic3r::get_config_index_base(), get_extruder_id(), m_nozzle_group_result, m_nozzle_status_recorder, and m_result.
Referenced by process_filament_change(), and process_filament_change().
| float Slic3r::GCodeProcessor::get_prepare_time | ( | PrintEstimatedStatistics::ETimeMode | mode | ) | const |
References Slic3r::PrintEstimatedStatistics::Count, and m_time_processor.
Referenced by update_estimated_times_stats().
|
inline |
References m_result.
Referenced by Slic3r::DoExport::update_print_estimated_stats().
|
private |
References DEFAULT_RETRACT_ACCELERATION, Slic3r::GCodeProcessorResult::id, and m_time_processor.
Referenced by process_G1(), process_VG1(), and store_move_vertex().
| double Slic3r::GCodeProcessor::get_time | ( | PrintEstimatedStatistics::ETimeMode | mode | ) | const |
References Slic3r::PrintEstimatedStatistics::Count, and m_time_processor.
Referenced by update_estimated_times_stats().
| std::string Slic3r::GCodeProcessor::get_time_dhm | ( | PrintEstimatedStatistics::ETimeMode | mode | ) | const |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::get_time_dhms(), m_time_processor, and Slic3r::short_time().
Referenced by run_post_process().
|
private |
References DEFAULT_TRAVEL_ACCELERATION, Slic3r::GCodeProcessorResult::id, and m_time_processor.
Referenced by process_G1(), process_VG1(), and store_move_vertex().
|
private |
References Slic3r::gcfMarlinFirmware, get_axis_max_jerk_with_jd(), Slic3r::get_option_value(), m_flavor, m_time_processor, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by process_G1(), and process_VG1().
|
private |
References Slic3r::GCodeProcessorResult::MoveVertex::gcode_id, and m_result.
Referenced by run_second_pass_injection().
| void Slic3r::GCodeProcessor::init_filament_maps_and_nozzle_type_when_import_only_gcode | ( | ) |
References Slic3r::ExtruderMax, m_filament_maps, m_result, and Slic3r::ntUndefine.
Referenced by Slic3r::GUI::Plater::load_gcode().
| void Slic3r::GCodeProcessor::initialize | ( | const std::string & | filename | ) |
References Slic3r::is_decimal_separator_point(), m_result, and s_result_id.
|
inline |
References m_nozzle_group_result.
Referenced by Slic3r::Print::export_gcode_from_previous_file(), Slic3r::DoExport::init_gcode_processor(), and Slic3r::Print::reload_gcode_moves().
|
inline |
References m_result.
Referenced by Slic3r::DoExport::init_gcode_processor(), and process_file().
|
inline |
References m_time_processor, and Slic3r::PrintEstimatedStatistics::Stealth.
Referenced by run_post_process(), and Slic3r::DoExport::update_print_estimated_stats().
|
private |
References Slic3r::get_option_value(), and m_time_processor.
Referenced by process_G1(), and process_VG1().
|
private |
References Slic3r::get_option_value(), and m_time_processor.
Referenced by process_G1(), and process_VG1().
|
private |
Referenced by process_producers_tags().
| void Slic3r::GCodeProcessor::process_buffer | ( | const std::string & | buffer | ) |
References m_parser, and process_gcode_line().
|
private |
References Slic3r::erExternalPerimeter, Slic3r::erInternalInfill, Slic3r::erNone, Slic3r::erSkirt, Slic3r::erSupportMaterial, Slic3r::erSupportMaterialInterface, Slic3r::erWipeTower, m_extrusion_role, m_layer_id, m_seams_detector, and set_extrusion_role().
Referenced by process_producers_tags().
|
private |
References Slic3r::erExternalPerimeter, Slic3r::erInternalInfill, Slic3r::erNone, Slic3r::erPerimeter, Slic3r::erSkirt, Slic3r::erSolidInfill, Slic3r::erSupportMaterial, Slic3r::erSupportMaterialInterface, Slic3r::erWipeTower, Slic3r::gcfMach3, Slic3r::gcfMakerWare, Slic3r::gcfMarlinLegacy, Slic3r::gcfRepetier, Slic3r::gcfRepRapFirmware, m_extrusion_role, m_flavor, m_layer_id, m_seams_detector, and set_extrusion_role().
Referenced by process_producers_tags().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::cache, Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeProcessor::TimeMachine::enabled, Slic3r::GCodeProcessor::TimeMachine::gcode_time, m_time_processor, Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::needed, simulate_st_synchronize(), and Slic3r::GCodeProcessor::TimeMachine::CustomGCodeTime::times.
Referenced by process_tags().
|
private |
References get_filament_id(), Slic3r::GCodeReader::GCodeLine::has_value(), Slic3r::length(), m_extruder_temps, m_filament_maps, m_nozzle_volume, M_PI, m_printer_model, m_remaining_volume, m_result, m_start_position, m_time_processor, m_used_filaments, process_filament_change(), Slic3r::sqr(), Slic3r::X, and Slic3r::Y.
Referenced by process_M6211().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::blocks, Slic3r::GCodeProcessor::TimeBlock::calculate_trapezoid(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeProcessor::TimeBlock::distance, Slic3r::GCodeProcessor::TimeMachine::enabled, Slic3r::GCodeProcessor::TimeBlock::flags, Slic3r::GCodeProcessor::TimeBlock::g1_line_id, get_extruder_change_time(), get_extruder_id(), get_filament_id(), get_filament_load_time(), get_filament_unload_time(), get_machine_config_idx(), Slic3r::GCodeProcessor::TimeBlock::layer_id, m_cp_color, m_extruder_colors, m_extruder_id, m_filament_id, m_filament_maps, m_g1_line_id, m_last_filament_id, m_layer_id, m_machine_config_idx, m_processing_start_custom_gcode, m_result, m_skippable_type, m_time_processor, Slic3r::GCodeProcessor::TimeBlock::move_id, Slic3r::GCodeProcessor::TimeBlock::move_type, Slic3r::GCodeProcessor::TimeBlock::Flags::prepare_stage, process_filaments(), simulate_st_synchronize(), Slic3r::GCodeProcessor::TimeBlock::skippable_type, store_move_vertex(), Slic3r::Tool_change, and Slic3r::CustomGCode::ToolChange.
Referenced by process_elegoo_M6211(), process_filament_change(), process_M1020(), and process_T().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::blocks, Slic3r::GCodeProcessor::TimeBlock::calculate_trapezoid(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeProcessor::TimeBlock::distance, Slic3r::GCodeProcessor::TimeMachine::enabled, Slic3r::GCodeProcessor::TimeBlock::flags, Slic3r::GCodeProcessor::TimeBlock::g1_line_id, get_extruder_change_time(), get_extruder_id(), get_filament_id(), get_filament_load_time(), get_filament_unload_time(), get_machine_config_idx(), Slic3r::GCodeProcessor::TimeBlock::layer_id, m_cp_color, m_extruder_colors, m_extruder_id, m_filament_id, m_g1_line_id, m_last_filament_id, m_layer_id, m_machine_config_idx, m_nozzle_group_result, m_nozzle_status_recorder, m_processing_start_custom_gcode, m_result, m_skippable_type, m_time_processor, Slic3r::GCodeProcessor::TimeBlock::move_id, Slic3r::GCodeProcessor::TimeBlock::move_type, Slic3r::GCodeProcessor::TimeBlock::Flags::prepare_stage, process_filament_change(), process_filaments(), resolve_target_nozzle(), simulate_st_synchronize(), Slic3r::GCodeProcessor::TimeBlock::skippable_type, store_move_vertex(), Slic3r::Tool_change, Slic3r::CustomGCode::ToolChange, and use_multi_nozzle_change_time_model().
|
private |
References Slic3r::CustomGCode::ColorChange, get_extruder_id(), m_nozzle_volume, m_remaining_volume, m_used_filaments, and Slic3r::CustomGCode::ToolChange.
Referenced by process_filament_change(), process_filament_change(), and process_tags().
| void Slic3r::GCodeProcessor::process_file | ( | const std::string & | filename, |
| std::function< void()> | cancel_callback = nullptr ) |
References Slic3r::ConfigBase::apply(), apply_config(), apply_config_simplify3d(), apply_config_superslicer(), detect_producer(), Slic3r::EnableSilent, Slic3r::filament_map(), finalize(), initialize_result_moves(), Slic3r::ConfigBase::load_from_gcode_file(), m_parser, m_producer, m_result, Slic3r::DynamicConfig::opt(), OrcaSlicer, process_gcode_line(), Slic3r::remove_eols(), s_IsBBLPrinter, s_result_id, Simplify3D, Slic3r::ConfigOptionVector< T >::size(), Slic3r::skip_whitespaces(), Slic3r, Slic3rPE, SuperSlicer, and Unknown.
Referenced by Slic3r::Print::export_gcode_from_previous_file(), Slic3r::GUI::Plater::load_gcode(), and Slic3r::Print::reload_gcode_moves().
|
private |
References process_G1().
Referenced by register_commands().
|
private |
References Slic3r::E, Slic3r::GCodeReader::GCodeLine::e(), Slic3r::F, Slic3r::GCodeReader::GCodeLine::f(), Slic3r::gcfKlipper, Slic3r::GCodeReader::GCodeLine::has(), Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_f(), Slic3r::GCodeReader::GCodeLine::has_x(), Slic3r::GCodeReader::GCodeLine::has_y(), Slic3r::GCodeReader::GCodeLine::has_z(), m_flavor, Slic3r::GCodeReader::GCodeLine::precise_value(), process_G1(), Slic3r::X, Slic3r::GCodeReader::GCodeLine::x(), Slic3r::Y, Slic3r::GCodeReader::GCodeLine::y(), Slic3r::Z, and Slic3r::GCodeReader::GCodeLine::z().
Referenced by process_G0(), process_G1(), process_G10(), process_G11(), process_G28(), process_G2_G3(), and register_commands().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::State::abs_axis_feedrate, Slic3r::GCodeProcessor::TimeBlock::acceleration, Slic3r::GCodeProcessor::TimeMachine::acceleration, add_object_mass(), Slic3r::angle(), Slic3r::GCodeProcessor::TimeMachine::State::axis_feedrate, Slic3r::GCodeProcessor::TimeMachine::blocks, calc_vmax_junction_deviation(), calculate_time(), Slic3r::GCodeProcessor::TimeBlock::calculate_trapezoid(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::cross(), Slic3r::GCodeProcessor::FeedrateProfile::cruise, Slic3r::GCodeProcessor::TimeMachine::curr, DEFAULT_TOOLPATH_HEIGHT, DEFAULT_TOOLPATH_WIDTH, Slic3r::GCodeProcessor::TimeBlock::distance, Slic3r::dot(), Slic3r::E, Slic3r::GCodeProcessor::TimeMachine::enabled, Slic3r::GCodeProcessor::TimeMachine::State::enter_direction, Slic3r::GCodeProcessor::FeedrateProfile::entry, EPSILON, Slic3r::erBridgeInfill, Slic3r::erCustom, Slic3r::erExternalPerimeter, Slic3r::erInternalBridgeInfill, Slic3r::erNone, Slic3r::erOverhangPerimeter, Slic3r::erSupportMaterial, Slic3r::erSupportMaterialInterface, Slic3r::erSupportTransition, Slic3r::erWipeTower, Slic3r::GCodeProcessor::FeedrateProfile::exit, Slic3r::GCodeProcessor::TimeMachine::State::exit_direction, extract_absolute_position_on_axis(), Slic3r::Extrude, Slic3r::GCodeProcessor::TimeMachine::extrude_factor_override_percentage, Slic3r::GCodeProcessor::TimeMachine::State::feedrate, Slic3r::GCodeProcessor::TimeBlock::feedrate_profile, Slic3r::GCodeProcessor::TimeBlock::flags, G1, Slic3r::GCodeProcessor::TimeBlock::g1_line_id, Slic3r::gcfKlipper, get_acceleration(), get_axis_max_acceleration(), get_axis_max_feedrate(), get_axis_max_jerk(), get_extruder_id(), get_filament_id(), get_junction_deviation(), get_last_filament_id(), get_retract_acceleration(), get_travel_acceleration(), get_xyz_max_jerk(), Inches, INCHES_TO_MM, Slic3r::GCodeProcessor::TimeMachine::State::jd_unit_vec, Slic3r::GCodeProcessor::TimeBlock::junction_deviation, Slic3r::GCodeProcessor::TimeMachine::klipper_junction_flush, Slic3r::GCodeProcessor::TimeBlock::layer_id, m_axis_position_known, m_detect_layer_based_on_tag, m_e_local_positioning_type, m_end_position, m_exclusion_volume_path_checker, m_extruded_last_z, m_extruder_offsets, m_extrusion_role, m_feedrate, m_flavor, m_flushing, m_forced_height, m_forced_width, m_g1_line_id, m_global_positioning_type, m_height, m_layer_id, m_line_id, m_machine_config_idx, m_mm3_per_mm, m_options_z_corrector, m_origin, M_PI, m_processing_homing_move, m_processing_start_custom_gcode, m_remaining_volume, m_result, m_seams_detector, m_skippable_type, m_start_position, m_time_processor, m_travel_dist, m_units, m_used_filaments, m_width, m_wiping, m_x_offset, m_y_offset, m_z_offset, Slic3r::max_allowable_speed(), Slic3r::GCodeProcessor::TimeBlock::max_entry_speed, Slic3r::GCodeProcessor::TimeBlock::max_mcr_entry_speed_sqr, Slic3r::GCodeProcessor::TimeBlock::mcr_delta_v2, Slic3r::GCodeProcessor::TimeMachine::minimum_cruise_ratio, minimum_feedrate(), minimum_travel_feedrate(), MMMIN_TO_MMSEC, Slic3r::GCodeProcessor::TimeBlock::move_id, Slic3r::GCodeProcessor::TimeBlock::move_type, Slic3r::GCodeProcessor::TimeBlock::Flags::nominal_length, Slic3r::Noop, Slic3r::Other, Slic3r::GCodeProcessor::TimeBlock::Flags::prepare_stage, Slic3r::GCodeProcessor::TimeMachine::prev, Slic3r::GCodeProcessor::TimeProcessor::Planner::queue_size, Slic3r::GCodeProcessor::TimeBlock::Flags::recalculate, Slic3r::GCodeProcessor::TimeProcessor::Planner::refresh_threshold, Relative, Slic3r::GCodeProcessor::TimeBlock::remaining_internal_g1_lines, Slic3r::GCodeProcessor::TimeMachine::requested_accel_to_decel, Slic3r::Retract, Slic3r::GCodeProcessor::TimeBlock::role, Slic3r::GCodeProcessor::TimeBlock::safe_feedrate, Slic3r::GCodeProcessor::TimeMachine::State::safe_feedrate, Slic3r::Seam, Slic3r::GCodeProcessor::TimeBlock::skippable_type, Slic3r::sqr(), store_move_vertex(), Slic3r::Travel, Slic3r::Unretract, update_position_known_from_move(), Slic3r::Wipe, Slic3r::X, Slic3r::Y, and Slic3r::Z.
|
private |
References Slic3r::E, Slic3r::F, m_extruder_id, m_feedrate, m_g1_line_id, m_parser, process_G1(), and Slic3r::GCodeReader::GCodeLine::set().
Referenced by register_commands().
|
private |
References Slic3r::E, Slic3r::F, m_extruder_id, m_feedrate, m_g1_line_id, m_parser, process_G1(), and Slic3r::GCodeReader::GCodeLine::set().
Referenced by register_commands().
|
private |
References Inches, and m_units.
Referenced by register_commands().
|
private |
References m_units, and Millimeters.
Referenced by register_commands().
|
private |
References Slic3r::Retract, and store_move_vertex().
Referenced by register_commands().
|
private |
References store_move_vertex(), and Slic3r::Unretract.
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::cmd(), Slic3r::g28_homed_axes(), m_axis_origin_known, m_axis_position_known, m_processing_homing_move, Slic3r::GCodeReader::parse_line(), process_G1(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by register_commands().
|
private |
References m_g29_time_added, m_measure_g29_time, s_IsBBLPrinter, and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Slic3r::angle(), Slic3r::Geometry::ArcWelder::arc_center(), Slic3r::Geometry::ArcWelder::arc_discretization_steps(), Slic3r::GCodeReader::GCodeLine::axis_pos(), Slic3r::center(), count, Slic3r::E, EPSILON, extract_absolute_position_on_axis(), Slic3r::GCodeReader::GCodeLine::f(), G2G3, Slic3r::gcfMarlinFirmware, get_filament_id(), Slic3r::GCodeReader::GCodeLine::has(), Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_f(), Slic3r::GCodeReader::GCodeLine::has_value(), Inches, INCHES_TO_MM, Slic3r::length(), m_e_local_positioning_type, m_end_position, m_feedrate, m_flavor, m_global_positioning_type, M_PI, m_result, m_start_position, m_units, MMMIN_TO_MMSEC, Slic3r::None, PI, process_G1(), Relative, Slic3r::sqr(), update_position_known_from_move(), Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Absolute, and m_global_positioning_type.
Referenced by register_commands().
|
private |
References m_global_positioning_type, and Relative.
Referenced by register_commands().
|
private |
References Slic3r::E, Slic3r::GCodeReader::GCodeLine::e(), Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_unknown_axis(), Slic3r::GCodeReader::GCodeLine::has_x(), Slic3r::GCodeReader::GCodeLine::has_y(), Slic3r::GCodeReader::GCodeLine::has_z(), Inches, INCHES_TO_MM, m_axis_origin_known, m_axis_position_known, m_end_position, m_origin, m_result, m_units, simulate_st_synchronize(), Slic3r::X, Slic3r::GCodeReader::GCodeLine::x(), Slic3r::Y, Slic3r::GCodeReader::GCodeLine::y(), Slic3r::Z, and Slic3r::GCodeReader::GCodeLine::z().
Referenced by register_commands().
|
private |
References Slic3r::ascii_iequals(), Slic3r::GCodeReader::GCodeLine::cmd(), Slic3r::gcfKlipper, m_command_processor, m_end_position, m_flavor, m_line_id, m_start_position, Slic3r::GCodeReader::parse_line(), process_SET_PRESSURE_ADVANCE(), process_SET_VELOCITY_LIMIT(), process_tags(), and Slic3r::GCodeReader::GCodeLine::raw().
Referenced by process_buffer(), and process_file().
|
private |
References Slic3r::erBridgeInfill, Slic3r::erExternalPerimeter, Slic3r::erInternalBridgeInfill, Slic3r::erInternalInfill, Slic3r::erNone, Slic3r::erPerimeter, Slic3r::erSkirt, Slic3r::erSolidInfill, Slic3r::erSupportMaterial, m_extrusion_role, m_forced_height, m_forced_width, m_layer_id, m_seams_detector, Slic3r::parse_number(), and set_extrusion_role().
Referenced by process_producers_tags().
|
private |
References Slic3r::erExternalPerimeter, Slic3r::erInternalInfill, Slic3r::erIroning, Slic3r::erNone, Slic3r::erSkirt, Slic3r::erSolidInfill, Slic3r::erSupportMaterial, Slic3r::erSupportMaterialInterface, m_layer_id, m_seams_detector, and set_extrusion_role().
Referenced by process_producers_tags().
|
private |
References simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Slic3r::gcfRepRapFirmware, Slic3r::gcfRepRapSprinter, get_extruder_id(), get_filament_id(), Slic3r::GCodeReader::GCodeLine::has_value(), m_flavor, m_result, process_filament_change(), and Slic3r::GCodeReader::GCodeLine::raw().
Referenced by register_commands().
|
private |
References get_filament_id(), Slic3r::GCodeReader::GCodeLine::has_value(), and m_extruder_temps.
Referenced by process_VM104(), and register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has(), Slic3r::GCodeReader::GCodeLine::has_value(), m_fan_speed, and Slic3r::GCodeReader::GCodeLine::p().
Referenced by register_commands().
|
private |
References m_fan_speed.
Referenced by register_commands().
|
private |
References Slic3r::gcfSailfish, m_flavor, process_T(), and Slic3r::GCodeReader::GCodeLine::raw().
Referenced by register_commands().
|
private |
References Slic3r::gcfKlipper, get_filament_id(), Slic3r::GCodeReader::GCodeLine::has_value(), m_extruder_temps, m_flavor, and simulate_st_synchronize().
Referenced by process_VM109(), and register_commands().
|
private |
References Slic3r::E, Slic3r::GCodeReader::GCodeLine::has(), m_origin, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by register_commands().
|
private |
References Slic3r::gcfMakerWare, m_flavor, process_T(), and Slic3r::GCodeReader::GCodeLine::raw().
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and m_highest_bed_temp.
Referenced by register_commands().
|
private |
References Slic3r::gcfKlipper, Slic3r::GCodeReader::GCodeLine::has_value(), m_flavor, m_highest_bed_temp, and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeReader::GCodeLine::e(), Slic3r::gcfRepRapFirmware, Slic3r::gcfRepRapSprinter, Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_x(), Slic3r::GCodeReader::GCodeLine::has_y(), Slic3r::GCodeReader::GCodeLine::has_z(), Inches, INCHES_TO_MM, m_flavor, m_time_processor, m_units, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::set_option_value(), Slic3r::ConfigOptionVector< double >::size(), Slic3r::GCodeReader::GCodeLine::x(), Slic3r::GCodeReader::GCodeLine::y(), and Slic3r::GCodeReader::GCodeLine::z().
Referenced by register_commands().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeReader::GCodeLine::e(), Slic3r::gcfKlipper, Slic3r::gcfMarlinFirmware, Slic3r::gcfMarlinLegacy, Slic3r::gcfRepetier, Slic3r::gcfSmoothie, Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_x(), Slic3r::GCodeReader::GCodeLine::has_y(), Slic3r::GCodeReader::GCodeLine::has_z(), m_flavor, m_time_processor, MMMIN_TO_MMSEC, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::set_option_value(), Slic3r::ConfigOptionVector< double >::size(), Slic3r::GCodeReader::GCodeLine::x(), Slic3r::GCodeReader::GCodeLine::y(), and Slic3r::GCodeReader::GCodeLine::z().
Referenced by register_commands().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::gcfKlipper, Slic3r::GCodeReader::GCodeLine::has_value(), m_flavor, m_time_processor, Slic3r::PrintEstimatedStatistics::Normal, set_acceleration(), set_retract_acceleration(), and set_travel_acceleration().
Referenced by register_commands().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeReader::GCodeLine::e(), Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_value(), Slic3r::GCodeReader::GCodeLine::has_x(), Slic3r::GCodeReader::GCodeLine::has_y(), Slic3r::GCodeReader::GCodeLine::has_z(), m_time_processor, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::set_option_value(), Slic3r::GCodeReader::GCodeLine::x(), Slic3r::GCodeReader::GCodeLine::y(), and Slic3r::GCodeReader::GCodeLine::z().
Referenced by register_commands().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeReader::GCodeLine::has_value(), and m_time_processor.
Referenced by register_commands().
|
private |
References Slic3r::gcfKlipper, Slic3r::GCodeReader::GCodeLine::has_value(), m_flavor, m_skip_end_gcode_delays, and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Slic3r::gcfRepetier, m_cached_position, m_feedrate, m_flavor, and m_start_position.
Referenced by register_commands().
|
private |
References Slic3r::E, Slic3r::gcfRepetier, Slic3r::GCodeReader::GCodeLine::has(), Slic3r::GCodeReader::GCodeLine::has_value(), m_cached_position, m_feedrate, m_flavor, m_start_position, Slic3r::X, and Slic3r::Z.
Referenced by register_commands().
|
private |
References Slic3r::PrintEstimatedStatistics::Count, Slic3r::GCodeReader::GCodeLine::e(), Slic3r::GCodeReader::GCodeLine::has_e(), Slic3r::GCodeReader::GCodeLine::has_x(), Slic3r::GCodeReader::GCodeLine::has_y(), Slic3r::GCodeReader::GCodeLine::has_z(), m_time_processor, MMMIN_TO_MMSEC, Slic3r::set_option_value(), Slic3r::GCodeReader::GCodeLine::x(), Slic3r::GCodeReader::GCodeLine::y(), and Slic3r::GCodeReader::GCodeLine::z().
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and m_pressure_advance.
Referenced by register_commands().
|
private |
References m_printer_model, and process_elegoo_M6211().
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and m_measure_g29_time.
Referenced by register_commands().
|
private |
References m_measure_g29_time.
Referenced by register_commands().
|
private |
References get_filament_id(), get_filament_unload_time(), Slic3r::GCodeReader::GCodeLine::has(), m_time_processor, and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Absolute, and m_e_local_positioning_type.
Referenced by register_commands().
|
private |
References m_e_local_positioning_type, and Relative.
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and m_pressure_advance.
Referenced by register_commands().
|
private |
References CraftWare, Cura, ideaMaker, KissSlicer, m_producer, OrcaSlicer, process_bambuslicer_tags(), process_craftware_tags(), process_cura_tags(), process_ideamaker_tags(), process_kissslicer_tags(), process_simplify3d_tags(), Simplify3D, Slic3r, Slic3rPE, and SuperSlicer.
Referenced by process_tags().
|
private |
References m_pressure_advance, and Slic3r::GCodeReader::GCodeLine::raw().
Referenced by process_gcode_line().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::acceleration, Slic3r::GCodeProcessor::TimeMachine::klipper_junction_flush, Slic3r::GCodeProcessor::TimeMachine::klipper_queue_priming, m_time_processor, Slic3r::GCodeProcessor::TimeMachine::minimum_cruise_ratio, Slic3r::GCodeReader::GCodeLine::raw(), Slic3r::GCodeProcessor::TimeMachine::requested_accel_to_decel, Slic3r::set_option_value(), and Slic3r::GCodeProcessor::TimeMachine::travel_acceleration.
Referenced by process_gcode_line().
|
private |
References Slic3r::erBridgeInfill, Slic3r::erExternalPerimeter, Slic3r::erGapFill, Slic3r::erInternalBridgeInfill, Slic3r::erInternalInfill, Slic3r::erNone, Slic3r::erPerimeter, Slic3r::erSkirt, Slic3r::erSolidInfill, Slic3r::erSupportMaterial, Slic3r::erSupportMaterialInterface, Slic3r::erWipeTower, m_forced_height, m_forced_width, m_layer_id, m_seams_detector, Slic3r::parse_number(), and set_extrusion_role().
Referenced by process_producers_tags().
|
private |
References Slic3r::GCodeReader::GCodeLine::has_value(), and simulate_st_synchronize().
Referenced by register_commands().
|
private |
References Slic3r::GCodeReader::GCodeLine::cmd(), Slic3r::GCodeReader::GCodeLine::has_value(), and process_T().
Referenced by process_M108(), process_M135(), process_T(), process_T(), process_tags(), and register_commands().
|
private |
References process_T().
|
private |
References Slic3r::gcfMarlinFirmware, Slic3r::gcfMarlinLegacy, Slic3r::gcfRepRapFirmware, Slic3r::gcfRepRapSprinter, get_extruder_id(), get_filament_id(), m_flavor, m_result, and process_filament_change().
|
private |
References Color_Change, Slic3r::Color_change, Slic3r::CustomGCode::ColorChange, Slic3r::CustomGCode::Custom, Custom_Code, Slic3r::Custom_GCode, Slic3r::erCustom, Slic3r::erExternalPerimeter, External_Purge_Tag, Flush_End_Tag, Flush_Start_Tag, get_filament_id(), Slic3r::get_object_label_id(), Slic3r::get_z_height(), Height, Slic3r::is_hex_digit(), Layer_Change, Slic3r::length(), m_belt_printer, m_cp_color, m_end_position, m_extruder_colors, m_extruder_offsets, m_extrusion_role, m_flushing, m_forced_height, m_forced_width, m_g1_line_id, m_in_config_block, m_last_default_color_id, m_layer_id, m_manual_filament_change, m_object_label_id, m_options_z_corrector, M_PI, m_print_z, m_processing_start_custom_gcode, m_producer, m_result, m_seams_detector, m_skip_end_gcode_delays, m_skippable, m_skippable_type, m_used_filaments, m_virtual_flushing, m_wipe_tower, m_wiping, Machine_End_GCode_Start_Tag, Manual_Tool_Change, OrcaSlicer, Slic3r::parse_number(), Slic3r::Pause_Print, Pause_Print, Slic3r::CustomGCode::PausePrint, process_custom_gcode_time(), process_filaments(), process_producers_tags(), process_T(), reserved_tag(), Role, set_extrusion_role(), set_skippable_type(), Skippable_End_Tag, Skippable_Start_Tag, Skippable_Type_Tag, Slic3r::sqr(), Slic3r::stNone, store_move_vertex(), Slic3r::ExtrusionEntity::string_to_role(), VFlush_End_Tag, VFlush_Start_Tag, Width, Wipe_End, Wipe_Start, Wipe_Tower_End, and Wipe_Tower_Start.
Referenced by process_gcode_line().
|
private |
References Slic3r::GCodeProcessor::TimeMachine::State::abs_axis_feedrate, Slic3r::GCodeProcessor::TimeBlock::acceleration, Slic3r::angle(), Slic3r::GCodeProcessor::TimeMachine::State::axis_feedrate, Slic3r::GCodeProcessor::TimeMachine::blocks, calc_vmax_junction_deviation(), Slic3r::GCodeProcessor::TimeBlock::calculate_trapezoid(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::cross(), Slic3r::GCodeProcessor::FeedrateProfile::cruise, Slic3r::GCodeProcessor::TimeMachine::curr, Slic3r::GCodeProcessor::TimeBlock::distance, Slic3r::dot(), Slic3r::E, Slic3r::GCodeProcessor::TimeMachine::enabled, Slic3r::GCodeProcessor::TimeMachine::State::enter_direction, Slic3r::GCodeProcessor::FeedrateProfile::entry, Slic3r::erCustom, Slic3r::erNone, Slic3r::GCodeProcessor::FeedrateProfile::exit, Slic3r::GCodeProcessor::TimeMachine::State::exit_direction, Slic3r::Extrude, Slic3r::GCodeProcessor::TimeMachine::extrude_factor_override_percentage, Slic3r::GCodeReader::GCodeLine::f(), Slic3r::GCodeProcessor::TimeMachine::State::feedrate, Slic3r::GCodeProcessor::TimeBlock::feedrate_profile, Slic3r::GCodeProcessor::TimeBlock::flags, Slic3r::GCodeProcessor::TimeBlock::g1_line_id, get_acceleration(), get_axis_max_acceleration(), get_axis_max_feedrate(), get_axis_max_jerk(), get_extruder_id(), get_filament_id(), get_last_filament_id(), get_retract_acceleration(), get_travel_acceleration(), get_xyz_max_jerk(), Slic3r::GCodeReader::GCodeLine::has_f(), Inches, INCHES_TO_MM, Slic3r::GCodeProcessor::TimeMachine::State::jd_unit_vec, Slic3r::GCodeProcessor::TimeBlock::layer_id, m_e_local_positioning_type, m_end_position, m_extrusion_role, m_feedrate, m_g1_line_id, m_global_positioning_type, m_layer_id, m_machine_config_idx, m_origin, M_PI, m_processing_start_custom_gcode, m_remaining_volume, m_result, m_skippable_type, m_start_position, m_time_processor, m_units, m_used_filaments, m_virtual_flushing, m_wiping, Slic3r::max_allowable_speed(), Slic3r::GCodeProcessor::TimeBlock::max_entry_speed, minimum_feedrate(), minimum_travel_feedrate(), MMMIN_TO_MMSEC, Slic3r::GCodeProcessor::TimeBlock::move_type, Slic3r::GCodeProcessor::TimeBlock::Flags::nominal_length, Slic3r::Noop, Slic3r::GCodeProcessor::TimeBlock::Flags::prepare_stage, Slic3r::GCodeProcessor::TimeMachine::prev, Slic3r::GCodeProcessor::TimeBlock::Flags::recalculate, Relative, Slic3r::Retract, Slic3r::GCodeProcessor::TimeBlock::role, Slic3r::GCodeProcessor::TimeBlock::safe_feedrate, Slic3r::GCodeProcessor::TimeMachine::State::safe_feedrate, Slic3r::GCodeProcessor::TimeBlock::skippable_type, Slic3r::sqr(), Slic3r::Travel, Slic3r::Unretract, Slic3r::Wipe, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by register_commands().
|
private |
References process_M104().
Referenced by register_commands().
|
private |
References process_M109().
Referenced by register_commands().
|
private |
References m_command_processor, process_G0(), process_G1(), process_G10(), process_G11(), process_G20(), process_G21(), process_G22(), process_G23(), process_G28(), process_G29(), process_G2_G3(), process_G4(), process_G90(), process_G91(), process_G92(), process_M1(), process_M1020(), process_M104(), process_M106(), process_M107(), process_M108(), process_M109(), process_M132(), process_M135(), process_M140(), process_M190(), process_M191(), process_M201(), process_M203(), process_M204(), process_M205(), process_M221(), process_M400(), process_M401(), process_M402(), process_M566(), process_M572(), process_M6211(), process_M622(), process_M623(), process_M702(), process_M82(), process_M83(), process_M900(), process_SYNC(), process_T(), process_VG1(), process_VM104(), and process_VM109().
Referenced by GCodeProcessor().
|
inlinestatic |
References Reserved_Tags, Reserved_Tags_compatible, and s_IsBBLPrinter.
Referenced by Slic3r::WipeTowerWriter::WipeTowerWriter(), Slic3r::WipeTowerWriter2::WipeTowerWriter2(), Slic3r::GCode::_do_export(), Slic3r::GCode::_extrude(), Slic3r::WipeTowerWriter2::change_analyzer_line_width(), Slic3r::WipeTowerWriter::change_analyzer_line_width(), Slic3r::ProcessLayer::emit_custom_gcode_per_print_z(), Slic3r::WipeTower::finish_block(), Slic3r::WipeTower::finish_block_solid(), Slic3r::WipeTower::finish_layer_new(), Slic3r::CalibPressureAdvancePattern::generate_custom_gcodes(), Slic3r::WipeTowerWriter::line(), Slic3r::WipeTower::only_generate_out_wall(), Slic3r::CalibPressureAdvanceLine::print_pa_lines(), Slic3r::GCode::process_belt_brim_layer(), Slic3r::GCode::process_layer(), process_tags(), Slic3r::WipeTower::ramming(), Slic3r::WipeTowerWriter::rectangle_fill_box(), run_post_process(), Slic3r::WipeTower2::tool_change(), Slic3r::WipeTower::tool_change(), Slic3r::WipeTower::tool_change_new(), Slic3r::GCodeWriter::toolchange_prefix(), Slic3r::WipeTower::toolchange_Wipe(), Slic3r::WipeTower::toolchange_wipe_new(), Slic3r::WipeTowerIntegration::tower_height_tag(), and Slic3r::Wipe::wipe().
| void Slic3r::GCodeProcessor::reset | ( | ) |
References Absolute, Slic3r::erNone, Slic3r::gcfRepRapSprinter, m_axis_origin_known, m_axis_position_known, m_cached_position, m_cp_color, m_detect_layer_based_on_tag, m_e_local_positioning_type, m_enable_pre_heating, m_end_position, m_exclusion_volume_path_checker, m_extruded_last_z, m_extruder_blocks, m_extruder_colors, m_extruder_id, m_extruder_max_nozzle_count, m_extruder_offsets, m_extruder_temps, m_extrusion_role, m_fan_speed, m_feedrate, m_filament_blocks, m_filament_id, m_filament_pre_cooling_temp, m_filament_preheat_temperature_delta, m_filament_types, m_first_layer_height, m_flavor, m_flushing, m_forced_height, m_forced_width, m_g1_line_id, m_g29_time_added, m_global_positioning_type, m_handle_hotend_as_extruder, m_has_filament_switcher, m_height, m_highest_bed_temp, m_hotend_cooling_rate, m_hotend_heating_rate, m_in_config_block, m_last_default_color_id, m_last_filament_id, m_last_line_id, m_layer_id, m_line_id, m_machine_config_idx, m_machine_end_gcode_start_line_id, m_machine_start_gcode_end_line_id, m_mass_locator, m_mm3_per_mm, m_nozzle_diameter, m_nozzle_group_result, m_nozzle_status_recorder, m_nozzle_volume, m_options_z_corrector, m_origin, m_physical_extruder_map, m_preheat_steps, m_preheat_time, m_processing_homing_move, m_processing_start_custom_gcode, m_producer, m_remaining_volume, m_result, m_seams_count, m_skip_end_gcode_delays, m_skippable, m_skippable_blocks, m_skippable_type, m_start_position, m_time_processor, m_travel_dist, m_units, m_used_filaments, m_virtual_flushing, m_width, m_wipe_tower, m_wiping, m_z_offset, m_zero_layer_height, MAXIMUM_EXTRUDER_NUMBER, Millimeters, MIN_EXTRUDERS_COUNT, s_result_id, Slic3r::stNone, and Unknown.
Referenced by GCodeProcessor(), and Slic3r::DoExport::init_gcode_processor().
|
private |
References Slic3r::MultiNozzleUtils::NozzleGroupResultBase::get_nozzle_from_id(), and Slic3r::MultiNozzleUtils::NozzleGroupResultBase::get_nozzles_for_filament().
Referenced by process_filament_change().
|
inline |
References m_result.
Referenced by Slic3r::GCodeProcessor::OptionsZCorrector::OptionsZCorrector(), calculate_time(), Slic3r::GCodeProcessor::TimeMachine::calculate_time(), ensure_nozzle_group_result(), Slic3r::Print::reload_gcode_moves(), and Slic3r::ExportLines::synchronize_moves().
|
private |
M104.1: Early Set Hotend Temperature (preheat, and with stealth mode support)
This GCode is used to tell the XL printer the time estimate when a tool will be used next, so that the printer can start preheating the tool in advance.
References _u8L, Slic3r::ExportLines::append_line(), Slic3r::ExportLines::BySize, Slic3r::ExportLines::ByTime, Slic3r::FilePtr::close(), Slic3r::GCodeReader::GCodeLine::cmd_is(), Slic3r::GCodeReader::GCodeLine::cmd_starts_with(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::PrintStateBase::CRITICAL, Slic3r::GCodeProcessor::TimeMachine::enabled, Estimated_Printing_Time_Placeholder, ExportLines, Slic3r::GCodeReader::GCodeLine::extract_cmd(), Slic3r::FilePtr::f, Slic3r::filament_cost(), Slic3r::PrintStatistics::FilamentCostMask, Slic3r::PrintStatistics::FilamentUsedCm3Mask, Slic3r::PrintStatistics::FilamentUsedGMask, Slic3r::PrintStatistics::FilamentUsedMmMask, First_Line_M73_Placeholder, Slic3r::float_to_string_decimal_point(), Slic3r::ExportLines::flush(), Slic3r::format(), Slic3r::GCodeProcessor::TimeMachine::g1_times_cache, get_time_dhm(), Slic3r::get_time_dhms(), Slic3r::GCodeReader::GCodeLine::has_value(), Slic3r::ExtruderPreHeating::ExtruderUsageBlcok::initialize_step_1(), Slic3r::ExportLines::insert_lines(), is_stealth_time_estimator_enabled(), Last_Line_M73_Placeholder, Layer_Change, Slic3r::GCodeProcessor::TimeMachine::line_m73_main_mask, Slic3r::GCodeProcessor::TimeMachine::line_m73_stop_mask, m_disable_m73, m_enable_pre_heating, m_extruder_blocks, m_filament_blocks, m_filament_nozzle_temp, m_filament_nozzle_temp_first_layer, m_flavor, m_is_XL_printer, m_layer_id, m_line_id, m_machine_end_gcode_start_line_id, m_machine_start_gcode_end_line_id, m_physical_extruder_map, M_PI, m_preheat_steps, m_preheat_time, m_print, m_result, m_skippable_blocks, m_time_processor, Machine_End_GCode_Start_Tag, Machine_Start_GCode_End_Tag, Slic3r::PrintEstimatedStatistics::Normal, Normal_Print_Time_Placeholder, Nozzle_Change_End_Tag, Nozzle_Change_Start_Tag, Slic3r::GCodeReader::parse_line(), Slic3r::parse_number(), Slic3r::GCodeProcessor::TimeMachine::prepare_time, Print_Time_Day_Placeholder, Print_Time_Hour_Placeholder, Print_Time_Minute_Placeholder, Print_Time_Sec_Placeholder, Print_Time_Total_Sec_Placeholder, Slic3r::GCodeReader::GCodeLine::raw(), Slic3r::ExportLines::remap_gcode_id(), Slic3r::rename_file(), Slic3r::ExportLines::reserve(), Slic3r::reserve_vector(), reserved_tag(), Slic3r::ExtruderPreHeating::ExtruderUsageBlcok::reset(), s_IsBBLPrinter, Slic3r::GCodeWriter::set_temperature(), Slic3r::short_time(), Silent_Print_Time_Placeholder, Skippable_End_Tag, Skippable_Start_Tag, Slic3r::sqr(), Slic3r::PrintEstimatedStatistics::Stealth, Slic3r::GCodeProcessor::TimeMachine::stop_times, Slic3r::string_to_double_decimal_point(), Slic3r::ExportLines::synchronize_moves(), Slic3r::ExportLines::Backtrace::time, Slic3r::GCodeProcessor::TimeMachine::time, Toolchange_Wipe_Tag, Total_Cost_Placeholder, Total_Layer_Number_Placeholder, Total_Weight_Placeholder, Total_Wipe_Tower_Cost_Placeholder, Total_Wipe_Tower_Filament_Placeholder, Slic3r::PrintStatistics::TotalFilamentCostMask, Slic3r::PrintStatistics::TotalFilamentUsedGMask, Slic3r::ExportLines::update(), Used_Filament_Length_Placeholder, and Slic3r::ExportLines::write().
Referenced by finalize().
|
private |
References _u8L, Slic3r::GCodeProcessor::PreCoolingInjector::build_extruder_free_blocks(), Slic3r::FilePtr::close(), Slic3r::PrintEstimatedStatistics::Count, Slic3r::FilePtr::f, Slic3r::GCodeProcessor::TimeProcessor::FilamentChangePredict, Slic3r::format(), handle_offsets_of_second_process(), m_extruder_blocks, m_extruder_max_nozzle_count, m_filament_blocks, m_filament_nozzle_temp, m_filament_nozzle_temp_first_layer, m_filament_pre_cooling_temp, m_filament_preheat_temperature_delta, m_filament_types, m_handle_hotend_as_extruder, m_has_filament_switcher, m_hotend_cooling_rate, m_hotend_heating_rate, m_machine_end_gcode_start_line_id, m_machine_start_gcode_end_line_id, m_nozzle_diameter, m_physical_extruder_map, m_result, m_skippable_blocks, m_time_processor, Slic3r::GCodeProcessor::TimeProcessor::PreCooling, Slic3r::GCodeProcessor::TimeProcessor::PreHeating, Slic3r::GCodeProcessor::PreCoolingInjector::process_pre_cooling_and_heating(), and Slic3r::rename_file().
Referenced by finalize().
|
private |
References Slic3r::GCodeProcessorResult::id, and m_time_processor.
Referenced by process_M204().
|
private |
References m_extrusion_role, and m_used_filaments.
Referenced by process_craftware_tags(), process_cura_tags(), process_ideamaker_tags(), process_kissslicer_tags(), process_simplify3d_tags(), and process_tags().
|
inline |
References m_mass_locator, and m_result.
Referenced by Slic3r::set_mass_locator().
|
inline |
|
private |
References Slic3r::GCodeProcessorResult::id, and m_time_processor.
Referenced by process_M204().
|
private |
References m_skippable, m_skippable_type, Slic3r::skip_type_map, Slic3r::stNone, and Slic3r::stOther.
Referenced by process_tags().
|
private |
References Slic3r::GCodeProcessorResult::id, and m_time_processor.
Referenced by process_M204().
|
inline |
References m_x_offset, and m_y_offset.
Referenced by Slic3r::Print::export_gcode_from_previous_file(), and Slic3r::Print::reload_gcode_moves().
|
private |
References calculate_time(), Slic3r::gcfKlipper, Slic3r::GCodeProcessor::TimeMachine::klipper_junction_flush, Slic3r::GCodeProcessor::TimeMachine::klipper_queue_priming, m_flavor, m_result, m_time_processor, and Slic3r::GCodeProcessor::TimeMachine::requested_accel_to_decel.
Referenced by process_custom_gcode_time(), process_filament_change(), process_filament_change(), process_G29(), process_G4(), process_G92(), process_M1(), process_M109(), process_M190(), process_M191(), process_M400(), process_M702(), and process_SYNC().
|
private |
References Slic3r::Color_change, Slic3r::PrintEstimatedStatistics::Count, Slic3r::Custom_GCode, Slic3r::E, Slic3r::GCodeProcessor::TimeMachine::enabled, Slic3r::gcfMarlinFirmware, get_acceleration(), get_axis_max_jerk(), get_axis_max_jerk_with_jd(), get_filament_id(), Slic3r::get_option_value(), get_retract_acceleration(), get_travel_acceleration(), m_cp_color, m_end_position, m_extruder_offsets, m_extruder_temps, m_extrusion_role, m_fan_speed, m_feedrate, m_first_layer_height, m_flavor, m_g1_line_id, m_height, m_last_line_id, m_layer_id, m_line_id, m_mm3_per_mm, m_object_label_id, m_pressure_advance, m_print_z, m_processing_start_custom_gcode, m_result, m_seams_count, m_start_position, m_time_processor, m_travel_dist, m_width, m_x_offset, m_y_offset, m_z_offset, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::Pause_Print, Slic3r::Retract, Slic3r::Seam, Slic3r::GCodeProcessor::TimeMachine::stop_times, Slic3r::Travel, Slic3r::Unretract, Slic3r::X, Slic3r::Y, and Slic3r::Z.
Referenced by process_filament_change(), process_filament_change(), process_G1(), process_G22(), process_G23(), and process_tags().
|
private |
References Slic3r::PrintEstimatedStatistics::Mode::custom_gcode_times, get_custom_gcode_times(), get_prepare_time(), get_time(), m_result, m_time_processor, m_used_filaments, Slic3r::PrintEstimatedStatistics::Normal, Slic3r::PrintEstimatedStatistics::Mode::prepare_time, Slic3r::GCodeProcessorResult::reset(), Slic3r::PrintEstimatedStatistics::Stealth, and Slic3r::PrintEstimatedStatistics::Mode::time.
Referenced by finalize().
|
private |
References Slic3r::ExclusionVolumePathHit::extruder_id, Slic3r::ExclusionVolumePathHit::gcode_id, m_exclusion_volume_path_checker, m_result, Slic3r::ExclusionVolumePathHit::move_id, Slic3r::ExclusionVolumePathHit::region_id, Slic3r::ExclusionVolumePathHit::source_move_type, and Slic3r::ExclusionVolumePathHit::used_unknown_z.
Referenced by finalize().
|
private |
References Absolute, Slic3r::GCodeReader::GCodeLine::has(), m_axis_origin_known, m_axis_position_known, m_global_positioning_type, Slic3r::X, and Slic3r::Z.
|
private |
References Absolute, G1, m_axis_origin_known, m_axis_position_known, m_global_positioning_type, Slic3r::X, and Slic3r::Z.
Referenced by process_G1(), and process_G2_G3().
|
private |
References BED_TEMP_TOO_HIGH_THAN_FILAMENT, Slic3r::GCodeProcessorResult::SliceWarning::error_code, get_filament_vitrification_temperature(), Slic3r::Print::get_hrc_by_nozzle_type(), Slic3r::GCodeProcessorResult::SliceWarning::level, m_filament_maps, m_highest_bed_temp, m_result, m_used_filaments, Slic3r::GCodeProcessorResult::SliceWarning::msg, NOT_GENERATE_TIMELAPSE, NOT_SUPPORT_TRADITIONAL_TIMELAPSE, NOZZLE_HRC_CHECKER, Slic3r::GCodeProcessorResult::SliceWarning::params, and SMOOTH_TIMELAPSE_WITHOUT_PRIME_TOWER.
Referenced by finalize().
|
private |
References count, m_extruder_max_nozzle_count, and m_nozzle_diameter.
Referenced by process_filament_change().
|
friend |
References ExportLines.
Referenced by ExportLines, and run_post_process().
|
staticprivate |
Referenced by process_tags().
|
staticprivate |
Referenced by process_tags().
|
staticprivate |
Referenced by process_tags().
|
private |
Referenced by calculate_time().
|
private |
Referenced by process_G28(), process_G92(), reset(), update_position_known_from_move(), and update_position_known_from_move().
|
private |
Referenced by get_current_position(), process_G1(), process_G28(), process_G92(), reset(), update_position_known_from_move(), and update_position_known_from_move().
|
private |
Referenced by apply_config(), check_multi_extruder_gcode_valid(), and process_tags().
|
private |
Referenced by apply_config(), and export_config_for_render().
|
private |
Referenced by process_M401(), process_M402(), and reset().
|
private |
Referenced by process_gcode_line(), and register_commands().
|
private |
Referenced by process_filament_change(), process_filament_change(), process_tags(), reset(), and store_move_vertex().
|
private |
Referenced by apply_config(), apply_config(), detect_layer_based_on_tag(), process_G1(), and reset().
|
private |
Referenced by apply_config(), and run_post_process().
|
private |
Referenced by extract_absolute_position_on_axis(), process_G1(), process_G2_G3(), process_M82(), process_M83(), process_VG1(), and reset().
|
private |
Referenced by apply_config(), apply_config(), finalize(), reset(), and run_post_process().
|
private |
|
private |
|
private |
Referenced by process_G1(), and reset().
|
private |
Referenced by reset(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), process_filament_change(), process_filament_change(), process_tags(), and reset().
|
private |
Referenced by get_extruder_id(), process_filament_change(), process_filament_change(), process_G10(), process_G11(), and reset().
|
private |
Referenced by apply_config(), apply_config(), reset(), run_second_pass_injection(), and use_multi_nozzle_change_time_model().
|
private |
Referenced by add_object_mass(), apply_config(), apply_config(), check_multi_extruder_gcode_valid(), process_G1(), process_tags(), reset(), and store_move_vertex().
|
private |
Referenced by apply_config(), apply_config(), process_elegoo_M6211(), process_M104(), process_M109(), reset(), and store_move_vertex().
|
private |
|
private |
Referenced by process_M106(), process_M107(), reset(), and store_move_vertex().
|
private |
Referenced by process_G1(), process_G10(), process_G11(), process_G2_G3(), process_M401(), process_M402(), process_VG1(), reset(), and store_move_vertex().
|
private |
Referenced by reset(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by get_filament_id(), process_filament_change(), process_filament_change(), and reset().
|
private |
|
private |
Referenced by apply_config(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), reset(), and store_move_vertex().
|
private |
Referenced by apply_config(), apply_config(), calc_vmax_junction_deviation(), calculate_time(), get_axis_max_jerk(), get_junction_deviation(), get_xyz_max_jerk(), process_cura_tags(), process_G1(), process_G1(), process_G2_G3(), process_gcode_line(), process_M1020(), process_M108(), process_M109(), process_M135(), process_M190(), process_M201(), process_M203(), process_M204(), process_M400(), process_M401(), process_M402(), process_T(), reset(), run_post_process(), simulate_st_synchronize(), and store_move_vertex().
|
private |
Referenced by process_G1(), process_tags(), and reset().
|
private |
Referenced by process_G1(), process_ideamaker_tags(), process_simplify3d_tags(), process_tags(), and reset().
|
private |
Referenced by process_G1(), process_ideamaker_tags(), process_simplify3d_tags(), process_tags(), and reset().
|
private |
|
private |
Referenced by process_G29(), and reset().
|
private |
|
private |
Referenced by apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by add_object_mass(), process_G1(), reset(), and store_move_vertex().
|
private |
Referenced by process_M140(), process_M190(), reset(), and update_slice_warnings().
|
private |
Referenced by apply_config(), apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), reset(), and run_second_pass_injection().
|
private |
Referenced by process_tags(), and reset().
|
private |
Referenced by apply_config(), and run_post_process().
|
private |
Referenced by process_tags(), and reset().
|
private |
Referenced by get_last_filament_id(), process_filament_change(), process_filament_change(), and reset().
|
private |
Referenced by reset(), and store_move_vertex().
|
private |
Referenced by add_object_mass(), process_craftware_tags(), process_cura_tags(), process_filament_change(), process_filament_change(), process_G1(), process_ideamaker_tags(), process_kissslicer_tags(), process_simplify3d_tags(), process_tags(), process_VG1(), reset(), run_post_process(), and store_move_vertex().
|
private |
Referenced by process_G1(), process_gcode_line(), reset(), run_post_process(), and store_move_vertex().
|
private |
Referenced by calc_junction_acceleration(), process_filament_change(), process_filament_change(), process_G1(), process_VG1(), and reset().
|
private |
Referenced by reset(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), and check_multi_extruder_gcode_valid().
|
private |
Referenced by reset(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), apply_config(), and process_tags().
|
private |
Referenced by add_object_mass(), reset(), and set_mass_locator().
|
private |
Referenced by process_G29(), process_M622(), and process_M623().
|
private |
Referenced by process_G1(), reset(), and store_move_vertex().
|
private |
Referenced by apply_config(), apply_config(), reset(), run_second_pass_injection(), and use_multi_nozzle_change_time_model().
|
private |
|
private |
Referenced by get_machine_config_idx(), process_filament_change(), and reset().
|
private |
Referenced by apply_config(), apply_config(), process_elegoo_M6211(), process_filaments(), and reset().
|
private |
Referenced by process_tags(), and store_move_vertex().
|
private |
Referenced by GCodeProcessor(), calculate_time(), process_G1(), process_tags(), and reset().
|
private |
Referenced by extract_absolute_position_on_axis(), process_G1(), process_G92(), process_M132(), process_VG1(), and reset().
|
private |
|
private |
Referenced by apply_config(), apply_config(), reset(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by apply_config(), reset(), and run_post_process().
|
private |
Referenced by apply_config(), reset(), and run_post_process().
|
private |
Referenced by process_M572(), process_M900(), process_SET_PRESSURE_ADVANCE(), and store_move_vertex().
Referenced by run_post_process(), and set_print().
|
private |
Referenced by process_tags(), and store_move_vertex().
|
private |
Referenced by apply_config(), apply_config(), process_elegoo_M6211(), and process_M6211().
|
private |
Referenced by process_G1(), process_G28(), and reset().
|
private |
Referenced by process_filament_change(), process_filament_change(), process_G1(), process_tags(), process_VG1(), reset(), and store_move_vertex().
|
private |
Referenced by detect_producer(), process_file(), process_producers_tags(), process_tags(), and reset().
|
private |
Referenced by process_elegoo_M6211(), process_filaments(), process_G1(), process_VG1(), and reset().
|
private |
Referenced by GCodeProcessor(), add_object_mass(), apply_config(), apply_config(), apply_config_simplify3d(), calculate_time(), check_multi_extruder_gcode_valid(), ensure_nozzle_group_result(), extract_result(), finalize(), finalize_object_masses(), get_filament_vitrification_temperature(), get_machine_config_idx(), get_result(), handle_offsets_of_second_process(), init_filament_maps_and_nozzle_type_when_import_only_gcode(), initialize(), initialize_result_moves(), process_elegoo_M6211(), process_filament_change(), process_filament_change(), process_file(), process_G1(), process_G2_G3(), process_G92(), process_M1020(), Slic3r::GCodeProcessor::UsedFilaments::process_role_cache(), process_T(), process_tags(), process_VG1(), reset(), result(), run_post_process(), run_second_pass_injection(), set_mass_locator(), simulate_st_synchronize(), store_move_vertex(), update_estimated_times_stats(), update_exclusion_volume_path_check_result(), and update_slice_warnings().
|
private |
Referenced by reset(), and store_move_vertex().
|
private |
|
private |
Referenced by apply_config().
|
private |
Referenced by process_M400(), process_tags(), and reset().
|
private |
Referenced by process_tags(), reset(), and set_skippable_type().
|
private |
Referenced by reset(), run_post_process(), and run_second_pass_injection().
|
private |
Referenced by process_filament_change(), process_filament_change(), process_G1(), process_tags(), process_VG1(), reset(), and set_skippable_type().
|
private |
|
private |
Referenced by GCodeProcessor(), apply_config(), apply_config(), calc_vmax_junction_deviation(), calculate_time(), enable_machine_envelope_processing(), finalize(), get_acceleration(), get_axis_max_acceleration(), get_axis_max_feedrate(), get_axis_max_jerk(), get_axis_max_jerk_with_jd(), get_custom_gcode_times(), get_extruder_change_time(), get_filament_load_time(), get_filament_unload_time(), get_first_layer_time(), get_junction_deviation(), get_prepare_time(), get_retract_acceleration(), get_time(), get_time_dhm(), get_travel_acceleration(), get_xyz_max_jerk(), is_stealth_time_estimator_enabled(), minimum_feedrate(), minimum_travel_feedrate(), process_custom_gcode_time(), process_elegoo_M6211(), process_filament_change(), process_filament_change(), process_G1(), process_M201(), process_M203(), process_M204(), process_M205(), process_M221(), process_M566(), process_M702(), process_SET_VELOCITY_LIMIT(), process_VG1(), reset(), run_post_process(), run_second_pass_injection(), set_acceleration(), set_retract_acceleration(), set_travel_acceleration(), simulate_st_synchronize(), store_move_vertex(), and update_estimated_times_stats().
|
private |
Referenced by process_G1(), reset(), and store_move_vertex().
|
private |
Referenced by extract_absolute_position_on_axis(), process_G1(), process_G20(), process_G21(), process_G2_G3(), process_G92(), process_M201(), process_VG1(), and reset().
|
private |
|
private |
Referenced by process_tags(), process_VG1(), and reset().
|
private |
Referenced by process_G1(), reset(), and store_move_vertex().
|
private |
Referenced by process_tags(), and reset().
|
private |
Referenced by process_G1(), process_tags(), process_VG1(), and reset().
|
private |
Referenced by add_object_mass(), check_multi_extruder_gcode_valid(), process_G1(), set_xy_offset(), and store_move_vertex().
|
private |
Referenced by add_object_mass(), check_multi_extruder_gcode_valid(), process_G1(), set_xy_offset(), and store_move_vertex().
|
private |
Referenced by add_object_mass(), apply_config(), apply_config(), check_multi_extruder_gcode_valid(), finalize(), process_G1(), reset(), and store_move_vertex().
|
private |
Referenced by reset().
|
static |
Referenced by Slic3r::GCode::_do_export(), process_tags(), and run_post_process().
|
static |
Referenced by Slic3r::GCode::_do_export(), and run_post_process().
|
static |
Referenced by Slic3r::WipeTower::ramming(), and run_post_process().
|
static |
Referenced by Slic3r::WipeTower::ramming(), and run_post_process().
|
staticconstexpr |
|
staticprivate |
Referenced by detect_producer().
|
staticprivate |
Referenced by contains_reserved_tag(), contains_reserved_tags(), and reserved_tag().
|
staticprivate |
Referenced by contains_reserved_tag(), contains_reserved_tags(), and reserved_tag().
|
static |
Referenced by Slic3r::WipeTowerWriter::WipeTowerWriter(), Slic3r::WipeTowerWriter2::WipeTowerWriter2(), Slic3r::_BBS_3MF_Exporter::_add_slice_info_config_file_to_archive(), contains_reserved_tag(), Slic3r::GCode::do_export(), Slic3r::Print::export_gcode_from_previous_file(), Slic3r::GUI::Plater::load_gcode(), process_file(), process_G29(), Slic3r::Print::reload_gcode_moves(), reserved_tag(), and run_post_process().
|
staticprivate |
Referenced by initialize(), process_file(), and reset().
|
static |
Referenced by process_tags(), and run_post_process().
|
static |
Referenced by process_tags(), and run_post_process().
|
static |
Referenced by process_tags().
|
static |
Referenced by run_post_process(), and Slic3r::WipeTower::toolchange_wipe_new().
|
staticprivate |
Referenced by process_tags().
|
staticprivate |
Referenced by process_tags().
|
static |
Referenced by finalize().
|
static |
Referenced by finalize().