kopia lustrzana https://github.com/fellesverkstedet/fabmodules
GCC: Fix laser being turned on when jogging to job start
rodzic
6a69b3ed04
commit
4ec75213ec
|
@ -116,6 +116,11 @@ void fab_write_gcc(struct fab_vars *v, char *output_file_name,
|
||||||
// Enter HPGL vector mode
|
// Enter HPGL vector mode
|
||||||
fprintf(output_file,"%%1B");
|
fprintf(output_file,"%%1B");
|
||||||
|
|
||||||
|
// Select a pen.
|
||||||
|
// If this is not done, the first paths will be made with laser on
|
||||||
|
// - regardless if they are actually pen-up commands
|
||||||
|
fprintf(output_file,";SP2;");
|
||||||
|
|
||||||
current_z = 0;
|
current_z = 0;
|
||||||
// fprintf(output_file,"YP%d;\n",power);
|
// fprintf(output_file,"YP%d;\n",power);
|
||||||
v->path->segment = v->path->last;
|
v->path->segment = v->path->last;
|
||||||
|
|
Ładowanie…
Reference in New Issue