Operate in Native Machine Space
This commit is contained in:
parent
31f112cf58
commit
f8393a0908
36 changed files with 449 additions and 489 deletions
|
|
@ -89,7 +89,7 @@ bool GcodeSuite::get_target_extruder_from_command() {
|
|||
void GcodeSuite::get_destination_from_command() {
|
||||
LOOP_XYZE(i) {
|
||||
if (parser.seen(axis_codes[i]))
|
||||
destination[i] = parser.value_axis_units((AxisEnum)i) + (axis_relative_modes[i] || relative_mode ? current_position[i] : 0);
|
||||
destination[i] = LOGICAL_TO_NATIVE(parser.value_axis_units((AxisEnum)i) + (axis_relative_modes[i] || relative_mode ? current_position[i] : 0), i);
|
||||
else
|
||||
destination[i] = current_position[i];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue