|
@@ -3051,7 +3051,16 @@ void process_commands()
|
3051
|
3051
|
// Set the new active extruder and position
|
3052
|
3052
|
active_extruder = tmp_extruder;
|
3053
|
3053
|
#endif //else DUAL_X_CARRIAGE
|
|
3054
|
+#ifdef DELTA
|
|
3055
|
+
|
|
3056
|
+ calculate_delta(current_position); // change cartesian kinematic to delta kinematic;
|
|
3057
|
+ //sent position to plan_set_position();
|
|
3058
|
+ plan_set_position(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS],current_position[E_AXIS]);
|
|
3059
|
+
|
|
3060
|
+#else
|
3054
|
3061
|
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|
|
3062
|
+
|
|
3063
|
+#endif
|
3055
|
3064
|
// Move to the old position if 'F' was in the parameters
|
3056
|
3065
|
if(make_move && Stopped == false) {
|
3057
|
3066
|
prepare_move();
|