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

List of all members.

Public Member Functions

void CloseApplication ()
void Update3D ()
void OpenLink (string link)
 Open a link in the standard browser.
void FireFirmwareDetected ()
void RegisterSlicer (ISlicer slicer)
void RegisterSlicerInstance (ISlicerInstance inst)
void UnregisterSlicerInstance (ISlicerInstance inst)
void AddPlugin (IHostPlugin plugin)
void RegisterEEPROMHandler (IEEPROM eprHandler)
ToolStripMenuItem GetMenuFolder (MenuFolder folder)
void RegisterHostComponent (IHostComponent comp)
void ShowHostComponent (string name, bool toFront=true)
void HideHostComponent (string name)
IHostComponent FindComponent (string name)
bool IsComponentVisible (string name)
void RegisterNamedEvent (string eventName, FunctionStringObject method)
 For a system wide event system across several plugins, use this event system. Event names introduced by plugins should be names pluginname:eventname.
void UnregisterNamedEvent (string eventName, FunctionStringObject method)
void FireNamedEvent (string eventName, object data)
 Fire a named event. Independet of running thread, the event gets executed in the main thread. Currently available core events:
IRegMemoryFolder GetRegistryFolder (string folder)
void LogMessage (string message)
void LogInfo (string info)
void LogError (string error)
void LogWarning (string warning)
void LogExternal (string message)
void RunCurrentJob ()
void ExecuteHostCommand (GCode code)
void SetJobFinished ()
void SetJobStopped ()
void ResetQuality ()
void SendSDStateChanged (GCodeAnalyzer.SDStateValue old, GCodeAnalyzer.SDStateValue current)
void SendProgress (ProgressType pType, double value)
void SetPrinterAction (string action)
void SetSlicing (bool v)
void SlicingFinished (string file)
void UpdateJobButtons ()
void RegisterGCodePostprocessor (IGCodePostprocessor proc)
 Stores the postprocessor instance in the list of available postprocessors. Supporting slicers can then build a postprocessing queue form the available postprocessors.
void ClearPrintPreview ()
System.Windows.Forms.ToolStrip GetToolstrip ()
 Returns the main screen toolstrip.
void StorGCodeForSDPrint ()

Properties

bool IsMainThread [get]
bool IsMono [get]
bool ExpertMode [get, set]
 Hide expert features when not in expert mode. Use ExpertModeChanged event to get notified about changes of that value.
string WorkingDirectory [get]
Form HostWindow [get]
bool IsClosingApplication [get]
bool IsJobRunning [get]
bool IsSlicing [get]
ISlicerPanel SlicerPanel [get]
I3DSettings ThreeDSettings [get]
IPrinter ActivePrinter [get]
RHBoundingBox SlicingModelBox [get]
IPrinterConnection Connection [get]
ISoundManager SoundManager [get]
IGCodeEditor GCodeEditor [get]
IAbout AboutDialog [get]
ITemperatureHistory TemperatureHistory [get, set]
ITemperatureView TemperatureView [get, set]
bool IsTemperatureViewVisible [get]
TopoScene Scene [get]
 Returns the object struction in the composer.
double ImportScaleFactor [get]
ThreeDView ObjectsView [get]
ThreeDView GCodePreviewView [get]
ThreeDView PrintingView [get]
I3DView ThreeDView [get]
int MaxExtruderCount [get]
bool ShowHelpBubbles [get]
Dictionary< string,
IGCodePostprocessor
AvailableGCodeProcessors [get]
SizeF WindowScaleFactor [get]
int ScaleMode [get]
 Returns the mode for image scaling to adjust to different DPI values. 0 = 100% 1 = 150% 2 = 200%.
string LastSaveModelFolder [get, set]
string LastSaveGCodeFolder [get, set]
string LastLoadModelFolder [get, set]
string LastLoadGCodeFolder [get, set]
bool ObjectPlacementChanged [get, set]
bool ObjectPlacementSliced [get, set]
IObjectEditorSettings ObjectEditorSettings [get]
Icon AppIcon [get]
RHSplitContainer Splitter3D [get]
RHSplitContainer SplitterLog [get]
IRepetierEditor Editor [get]
string Title [get, set]

Events

FunctionGCode ExecuteHostCommandEvent
PrinterChangedEvent PrinterChanged
FunctionVoid languageChanged
ProgressChangedEvent ProgressChanged
FunctionString PrinterActionChanged
FunctionVoid JobFinishedEvent
FunctionVoid JobStoppedEvent
FunctionSDStateChanged SDStateChanged
FunctionVoid FirmwareDetectedEvent
KeyPressedEvent UnhandledKeyPressed
 Gets called if no text input has a focus so all windows can add keyboard actions without needing a focus. Panels should test if they are active before reacting to a shortcut!
FunctionBool ExpertModeChanged
 Gets fired, when the export mode changes. Gets called in the main thread, so you can safely modify the gui.

Member Function Documentation

void RepetierHostExtender.interfaces.IHost.FireNamedEvent ( string  eventName,
object  data 
)

Fire a named event. Independet of running thread, the event gets executed in the main thread. Currently available core events:

Parameters:
eventNameEvent name to fire
dataEvent specific data
System.Windows.Forms.ToolStrip RepetierHostExtender.interfaces.IHost.GetToolstrip ( )

Returns the main screen toolstrip.

Returns:
Top toolstrip

Open a link in the standard browser.

Parameters:
link

Stores the postprocessor instance in the list of available postprocessors. Supporting slicers can then build a postprocessing queue form the available postprocessors.

Parameters:
proc
void RepetierHostExtender.interfaces.IHost.RegisterNamedEvent ( string  eventName,
FunctionStringObject  method 
)

For a system wide event system across several plugins, use this event system. Event names introduced by plugins should be names pluginname:eventname.

Parameters:
eventNameName of event
methodFunction to call on events

Property Documentation

Hide expert features when not in expert mode. Use ExpertModeChanged event to get notified about changes of that value.

Returns the mode for image scaling to adjust to different DPI values. 0 = 100% 1 = 150% 2 = 200%.

Returns the object struction in the composer.


Event Documentation

Gets fired, when the export mode changes. Gets called in the main thread, so you can safely modify the gui.

Gets called if no text input has a focus so all windows can add keyboard actions without needing a focus. Panels should test if they are active before reacting to a shortcut!


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