Add translate_starting_point function

This commit is contained in:
thewildmage
2023-07-05 21:15:24 -06:00
parent 67989cd134
commit 82abbafbf9
2 changed files with 5 additions and 0 deletions

View File

@@ -358,6 +358,10 @@ void CalibPressureAdvancePattern::starting_point(Vec3d pt)
m_last_pos = m_starting_point;
}
void CalibPressureAdvancePattern::translate_starting_point(const Vec3d displacement)
{
m_starting_point += displacement;
m_last_pos = m_starting_point;
};
CustomGCode::Info CalibPressureAdvancePattern::generate_gcodes()