Stores the complete data of a gcode command in an easy accessible data structure. This structure can be converted into a binary or ascii representation to be send to a reprap printer.
More...
|
| GCode (GCodeCompressed gc) |
|
| GCode (string s) |
|
bool | hasMValue (int val) |
|
bool | hasGValue (int val) |
|
byte [] | getBinary (int version) |
| Converts a gcode line into a binary representation. More...
|
|
String | getAscii (bool inclLine, bool inclChecksum) |
|
string | getHostCommand () |
|
string | getHostParameter () |
|
string | Respace (string line) |
|
void | Parse (String line) |
|
override string | ToString () |
|
bool | IsSlowCommand () |
| Checks if a command could take a while, so it generates no timeout. More...
|
|
|
bool | forceAscii = false |
|
bool | hostCommand = false |
|
bool | comment = false |
|
String | orig |
|
|
static NumberFormatInfo | format = CultureInfo.InvariantCulture.NumberFormat |
|
static string | floatNoExp = "0.#####" |
|
|
bool | hasCode [get] |
|
bool | hasText [get] |
|
String | Text [get, set] |
|
bool | hasN [get] |
|
int | N [get, set] |
|
bool | hasM [get] |
|
ushort | M [get, set] |
|
bool | hasG [get] |
|
ushort | G [get, set] |
|
bool | hasT [get] |
|
byte | T [get, set] |
|
bool | hasS [get] |
|
int | S [get, set] |
|
bool | hasP [get] |
|
int | P [get, set] |
|
bool | hasX [get] |
|
float | X [get, set] |
|
bool | hasY [get] |
|
float | Y [get, set] |
|
bool | hasZ [get] |
|
float | Z [get, set] |
|
bool | hasE [get] |
|
float | E [get, set] |
|
bool | hasF [get] |
|
float | F [get, set] |
|
bool | hasI [get] |
|
float | I [get, set] |
|
bool | hasJ [get] |
|
float | J [get, set] |
|
bool | hasR [get] |
|
float | R [get, set] |
|
bool | hasD [get] |
|
float | D [get, set] |
|
bool | hasC [get] |
|
float | C [get, set] |
|
bool | hasH [get] |
|
float | H [get, set] |
|
bool | hasA [get] |
|
float | A [get, set] |
|
bool | hasB [get] |
|
float | B [get, set] |
|
bool | hasK [get] |
|
float | K [get, set] |
|
bool | hasL [get] |
|
float | L [get, set] |
|
bool | hasO [get] |
|
float | O [get, set] |
|
bool | ShellCommand [get] |
|
bool | isV2 [get] |
|
Stores the complete data of a gcode command in an easy accessible data structure. This structure can be converted into a binary or ascii representation to be send to a reprap printer.
◆ getBinary()
byte [] RepetierHostExtender.basic.GCode.getBinary |
( |
int |
version | ) |
|
Converts a gcode line into a binary representation.
- Parameters
-
version | Binary protocol version |
- Returns
◆ IsSlowCommand()
bool RepetierHostExtender.basic.GCode.IsSlowCommand |
( |
| ) |
|
Checks if a command could take a while, so it generates no timeout.
- Returns
- true if it is a slow command
The documentation for this class was generated from the following file:
- /Volumes/[C] Windows 7/Users/littwin/Documents/Projekte/Repetier-Host/src/RepetierHostExtender/basic/GCode.cs