Repetier-Host Plugin  2.0.0
RepetierHostExtender.interfaces.IPrinterConnection Interface Reference

Public Member Functions

void log (string t, bool response, LogLevel level)
 
void pause (string text)
 
void injectManualCommand (string command)
 
void injectManualCommandFirst (string command)
 
void injectManualCommandReplace (string command)
 
float getTemperature (int extr)
 
void setTemperature (int extr, float t)
 
float getOutput (int extr)
 
void setOutput (int extr, int o)
 
void analyzeResponse (string res, ref LogLevel level)
 
string extract (string source, string ident)
 
void FireConnectionChange (string text)
 
void open ()
 
bool close ()
 
bool close (bool force)
 
void doDispose (GCodeAnalyzer ana)
 
bool DefinesCapability (string cap)
 Tests if the firmware has reported a capability to be present. More...
 
bool CapabilityEnabled (string cap)
 Returns true if firmware does not report the capability or if it is reported to be there. Use in combination with DefinesCapability to decide if it was reported and available. More...
 
int CapabilityVersion (string cap)
 If the capability has a version, you can query the version. Returns 0 if firmware does not report capability. More...
 

Properties

bool PreventPrinterPanelCloseOnOpen [get, set]
 
string PrinterName [get]
 
GCodeAnalyzer Analyzer [get]
 
float CurrentBedTemp [get]
 
FirmwareTypes FirmwareType [get, set]
 
bool AfterJobGoDispose [get, set]
 
bool AfterJobDisableExtruder [get, set]
 
bool AfterJobDisablePrintbed [get, set]
 
bool AfterJobDisableMotors [get, set]
 
bool SdcardMounted [get, set]
 
int speedMultiply [get, set]
 
int flowMultiply [get, set]
 
int numExtruder [get, set]
 
float x [get, set]
 
float y [get, set]
 
float z [get, set]
 
float e [get, set]
 
bool logM105 [get, set]
 
bool autocheckTemp [get, set]
 
long autocheckInterval [get, set]
 
float addPrintingTime [get, set]
 
float travelFeedRate [get, set]
 
float printFeedRate [get, set]
 
float maxZFeedRate [get, set]
 
PrinterConnectorBase connector [get, set]
 
int binaryVersion [get, set]
 
int numberExtruder [get, set]
 
Dictionary< int, float > ExtruderTemp [get]
 
long lastAutocheck [get, set]
 
float disposeX [get, set]
 
float disposeY [get, set]
 
float disposeZ [get, set]
 
bool ConnectionPaused [get, set]
 ConnectionPaused is true, when firmware requests no job commands for a while. When true we also should not send timeouts. It is a response on // action:pause // action:resume issued by firmware. More...
 
bool HasFatalErrorPause [get]
 
string FatalErrorMessage [get]
 
int AddErrorType [get, set]
 Sets or reads error type added to next gcode send. This is mainly used to debug error behaviour during communication. More...
 
bool supportsStartStopProtocol [get, set]
 True if M539 for start/pause handling is supported. More...
 

Events

OnTempHistory eventTempHistory
 
OnPrinterConnectionChange eventConnectionChange
 
OnResponse eventResponse
 

Member Function Documentation

◆ CapabilityEnabled()

bool RepetierHostExtender.interfaces.IPrinterConnection.CapabilityEnabled ( string  cap)

Returns true if firmware does not report the capability or if it is reported to be there. Use in combination with DefinesCapability to decide if it was reported and available.

Parameters
capName of capability in capital letters.
Returns
Test result.

◆ CapabilityVersion()

int RepetierHostExtender.interfaces.IPrinterConnection.CapabilityVersion ( string  cap)

If the capability has a version, you can query the version. Returns 0 if firmware does not report capability.

Parameters
capName of capability in capital letters.
Returns
Detected version.

◆ DefinesCapability()

bool RepetierHostExtender.interfaces.IPrinterConnection.DefinesCapability ( string  cap)

Tests if the firmware has reported a capability to be present.

Parameters
capName of capability in capital letters.
Returns
True if firmware reports presence of capability.

Property Documentation

◆ AddErrorType

int RepetierHostExtender.interfaces.IPrinterConnection.AddErrorType
getset

Sets or reads error type added to next gcode send. This is mainly used to debug error behaviour during communication.

◆ ConnectionPaused

bool RepetierHostExtender.interfaces.IPrinterConnection.ConnectionPaused
getset

ConnectionPaused is true, when firmware requests no job commands for a while. When true we also should not send timeouts. It is a response on // action:pause // action:resume issued by firmware.

◆ supportsStartStopProtocol

bool RepetierHostExtender.interfaces.IPrinterConnection.supportsStartStopProtocol
getset

True if M539 for start/pause handling is supported.


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