Repetier-Host Plugin  1.0
RepetierHostExtender.basic.GCode Class Reference

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...

List of all members.

Public Member Functions

 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.
String getAscii (bool inclLine, bool inclChecksum)
string getHostCommand ()
string getHostParameter ()
string Respace (string line)
void Parse (String line)
override string ToString ()

Public Attributes

bool forceAscii = false
bool hostCommand = false
bool comment = false
String orig

Static Public Attributes

static NumberFormatInfo format = CultureInfo.InvariantCulture.NumberFormat
static string floatNoExp = "0.#####"

Properties

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 isV2 [get]

Detailed Description

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.


Member Function Documentation

Converts a gcode line into a binary representation.

Parameters:
versionBinary protocol version
Returns:

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events