| 558 | } |
| 559 | |
| 560 | void File::statFile() |
| 561 | { |
| 562 | if (toolType() == Tool::Laser) { |
| 563 | QString str(Settings::laserStart()); //"G21 G17 G90"); //G17 XY plane |
| 564 | m_lines.push_back(str); |
| 565 | m_lines.push_back(formated({ g0(), z(0) })); // Z0 for visible in Candle |
| 566 | } else { |
| 567 | QString str(Settings::start()); //"G21 G17 G90"); //G17 XY plane |
| 568 | str.replace(QRegularExpression("S\\?"), formated({ speed(spindleSpeed()) })); |
| 569 | m_lines.push_back(str); |
| 570 | m_lines.push_back(formated({ g0(), z(App::project()->safeZ()) })); //HomeZ |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | void File::endFile() |
| 575 | { |
no test coverage detected