Enabled arcs render after adapting OpenCNCPilot code.
Started porting iosender to C++
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "gcode.h"
|
||||
|
||||
namespace iosender {
|
||||
|
||||
class CoordinateSystem {
|
||||
};
|
||||
|
||||
class Tool {
|
||||
};
|
||||
|
||||
class Machine {
|
||||
public:
|
||||
|
||||
void Reset() {
|
||||
// // Sync with controller
|
||||
// if (GrblInfo.IsGrblHAL) {
|
||||
// GrblParserState.Get();
|
||||
// GrblWorkParameters.Get();
|
||||
// } else {
|
||||
// GrblParserState.Get(true);
|
||||
// }
|
||||
// coordinateSystems.Clear();
|
||||
// for (CoordinateSystem c : GrblWorkParameters.CoordinateSystems) {
|
||||
// coordinateSystems.Add(c);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
protected:
|
||||
double rpm_ = 0;
|
||||
bool isRelative = false;
|
||||
int _tool = 0;
|
||||
double offsets[9];
|
||||
double origin[9];
|
||||
double scaleFactors[9];
|
||||
double toolOffsets[9];
|
||||
std::vector<CoordinateSystem> coordinateSystems;
|
||||
std::vector<Tool> toolTable;
|
||||
Point6D machinePos;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user