mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 01:01:15 -06:00
GCodeProcessor::MoveVertex -> added placeholder for time
This commit is contained in:
parent
a77461b467
commit
1cb0f044db
4 changed files with 11 additions and 0 deletions
|
|
@ -591,6 +591,7 @@ void GCodeProcessor::store_move_vertex(EMoveType type)
|
|||
vertex.fan_speed = m_fan_speed;
|
||||
vertex.extruder_id = m_extruder_id;
|
||||
vertex.cp_color_id = m_cp_color.current;
|
||||
vertex.time = static_cast<float>(m_result.moves.size());
|
||||
m_result.moves.emplace_back(vertex);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ namespace Slic3r {
|
|||
float height{ 0.0f }; // mm
|
||||
float mm3_per_mm{ 0.0f };
|
||||
float fan_speed{ 0.0f }; // percentage
|
||||
float time{ 0.0f }; // s
|
||||
|
||||
float volumetric_rate() const { return feedrate * mm3_per_mm; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue