mirror of https://github.com/vitalif/GPX
Disable RPM as soon as 5D printing begins
parent
41de859f40
commit
30d356bf10
8
gpx.c
8
gpx.c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue