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

Public Member Functions

void CloseApplication ()
 
void Update3D ()
 
void OpenLink (string link)
 Open a link in the standard browser More...
 
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 More...
 
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: More...
 
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. More...
 
void ClearPrintPreview ()
 
System.Windows.Forms.ToolStrip GetToolstrip ()
 Returns the main screen toolstrip More...
 
void StorGCodeForSDPrint ()
 
void BlockShutdown (string reason)
 
void UnblockShutdown ()
 

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. More...
 
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. More...
 
double ImportScaleFactor [get]
 
ThreeDView ObjectsView [get]
 
ThreeDView GCodePreviewView [get]
 
ThreeDView PrintingView [get]
 
I3DView ThreeDView [get]
 
int MaxExtruderCount [get]
 
bool ShowHelpBubbles [get]
 
Dictionary< string, IGCodePostprocessorAvailableGCodeProcessors [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% More...
 
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! More...
 
FunctionBool ExpertModeChanged
 Gets fired, when the export mode changes. Gets called in the main thread, so you can safely modify the gui. More...
 

Member Function Documentation

◆ FireNamedEvent()

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

◆ GetToolstrip()

System.Windows.Forms.ToolStrip RepetierHostExtender.interfaces.IHost.GetToolstrip ( )

Returns the main screen toolstrip

Returns
Top toolstrip

◆ OpenLink()

void RepetierHostExtender.interfaces.IHost.OpenLink ( string  link)

Open a link in the standard browser

Parameters
link

◆ RegisterGCodePostprocessor()

void RepetierHostExtender.interfaces.IHost.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.

Parameters
proc

◆ RegisterNamedEvent()

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

◆ ExpertMode

bool RepetierHostExtender.interfaces.IHost.ExpertMode
getset

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

◆ ScaleMode

int RepetierHostExtender.interfaces.IHost.ScaleMode
get

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

◆ Scene

TopoScene RepetierHostExtender.interfaces.IHost.Scene
get

Returns the object struction in the composer.

Event Documentation

◆ ExpertModeChanged

FunctionBool RepetierHostExtender.interfaces.IHost.ExpertModeChanged

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

◆ UnhandledKeyPressed

KeyPressedEvent RepetierHostExtender.interfaces.IHost.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!


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