| 92 | } |
| 93 | |
| 94 | QList<float> GcodePreprocessorUtils::parseCodes(const QStringList &args, char code) |
| 95 | { |
| 96 | QList<float> l; |
| 97 | |
| 98 | foreach (QString s, args) { |
| 99 | if (s.length() > 0 && s[0].toUpper() == code) l.append(s.mid(1).toDouble()); |
| 100 | } |
| 101 | |
| 102 | return l; |
| 103 | } |
| 104 | |
| 105 | QList<int> GcodePreprocessorUtils::parseGCodes(QString command) |
| 106 | { |
nothing calls this directly
no outgoing calls
no test coverage detected