mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Add travel_slope option (#5873)
* Add travel_slope option * Merge branch 'main' into travel-slope-pr
This commit is contained in:
parent
f5c5f322d2
commit
a13152c61f
10 changed files with 30 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue