Repetier-Host Plugin  2.0.0
RepetierHostExtender.basic.GCodeShort Class Reference

Public Member Functions

 GCodeShort (string cmd)
 
string GetComment ()
 
float getValueFor (string key, float def)
 
bool addCode (char c, string val)
 

Public Attributes

float x
 
byte [] textCompressed
 

Properties

int layer [get, set]
 
bool hasLayer [get]
 
int tool [get, set]
 
int compressedCommand [get, set]
 
string Text [get, set]
 
int Length [get]
 
bool hasX [get]
 
bool hasY [get]
 
bool hasZ [get]
 
bool hasE [get]
 
bool hasF [get]
 

Member Function Documentation

◆ addCode()

bool RepetierHostExtender.basic.GCodeShort.addCode ( char  c,
string  val 
)

Command values: 0 = unimportant command 1 = G1 2 = G2 3 = G3 4 = G28 xzy = 1 => Set this 5 = G162 6 = G90 relative 7 = G91 absolute 8 = G92 x/y/z/e != -99999 if set 9 = M82 eRelative 10 = M83 eAbsolute 11 = Txx Set Tool 12 = Host command 13 = Unparsed g command, X = g value 14 = Unparsed m command, X = m value 15 = G0 16 = G20 inches 17 = G21 mm 63 = unparsed


The documentation for this class was generated from the following file:
About Us | Privacy Policy