-
Notifications
You must be signed in to change notification settings - Fork 51
CoreXY didn't?
magister1318 edited this page Jul 30, 2015
·
2 revisions
I'm really appreciate your beagleg project. so if you agree to my request, add corexy add temperature, more perfectly that.
leave my code here (corexy system),
gcode-machine-control.c 640~ line's machine_move static edit.
654 line changed,
new_pos->position_steps[i] = round2int(axis[i] * state->cfg.steps_per_mm[i]);
->
if ( i == 0 ) new_pos->position_steps[0] = round2int((axis[0] * state->cfg.steps_per_mm[0] + axis[1] * state->cfg.steps_per_mm[1])/2); else if ( i == 1 ) new_pos->position_steps[1] = round2int((axis[0] * state->cfg.steps_per_mm[0] - axis[1] * state->cfg.steps_per_mm[1])/2); else new_pos->position_steps[i] = round2int(axis[i] * state->cfg.steps_per_mm[i]);
I'm just beginner. please supervise my code. Thanks~