Add travel_slope option (#5873)

* Add travel_slope option

* Merge branch 'main' into travel-slope-pr
This commit is contained in:
Vovodroid
2024-06-29 12:33:22 +03:00
committed by GitHub
parent f5c5f322d2
commit a13152c61f
10 changed files with 30 additions and 12 deletions

View File

@@ -203,4 +203,9 @@ double Extruder::retract_restart_extra_toolchange() const
return m_config->retract_restart_extra_toolchange.get_at(m_id);
}
double Extruder::travel_slope() const
{
return m_config->travel_slope.get_at(m_id) * PI / 180;
}
}