Disable RPM as soon as 5D printing begins

master
WHPThomas 2013-04-20 00:57:33 +10:00
parent 41de859f40
commit 30d356bf10
1 changed files with 8 additions and 0 deletions

8
gpx.c
View File

@ -1102,6 +1102,10 @@ static void queue_point(double feedrate)
target.a = -deltaMM.a;
}
}
else {
// disable RPM as soon as we begin 5D printing
tool[0].rpm = 0;
}
if(deltaMM.b == 0.0) {
if(tool[1].motor_enabled && tool[1].rpm) {
// minute * revolution/minute
@ -1114,6 +1118,10 @@ static void queue_point(double feedrate)
target.b = -deltaMM.b;
}
}
else {
// disable RPM as soon as we begin 5D printing
tool[0].rpm = 0;
}
Point5d steps = mm_to_steps(&target, &excess);