Help defining custom M code for inserting a new move October 11, 2021 02:27PM |
Registered: 2 years ago Posts: 4 |
case 840: // insert move { for (size_t axis = 0; axis < numVisibleAxes; ++axis) { if (gb.Seen(axisLetters[axis])) { const float ipval = gb.GetFValue(); reply.catf("input given is : %.3f \n",(double)ipval); if (reprap.GetMove().MoveCompleted()) { //insert this ipval to the be executed } } } } break;
bool DDARing::MoveCompleted() const noexcept { return myDda == getPointer->GetState() == DDA::completed; }