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

Public Member Functions

GCode [] PostprocessingStarts (ISlicerInstance slicer)
 Gets called when the postprocessing starts. More...
 
GCode [] Postprocess (GCode input)
 Processes a single gcode from input and returns the resulting list of gcodes. Normally this is the unmodified gcode but a code could also get split into more then one code. Return null if you want to remove codes or postpone sending them to later. More...
 
GCode [] PostprocessingFinished ()
 Gets called after all lines have been put through Postprocess. Last chance to return missing lines. More...
 
bool PostprocessorActive (ISlicerInstance slicer)
 Returns true if the postprocessor should be used. Return disbaled if settings wound do no change. More...
 
bool ShowForSLicer (ISlicerInstance slicer)
 Does the postprocessor work with this slicer? More...
 
void Configure (IHost host)
 Should open a modal window with the current configuration. After closing the settings are stored. More...
 

Properties

PostpocessorStage Stage [get]
 Determines order of staging where it gets called More...
 
string Name [get]
 Name of the postprocessor for selection More...
 
string Setting [get, set]
 retrieve and set all settings compressed into a single string. A empty string is send for default configuration. More...
 
bool HasConfiguration [get]
 Is a configuration necessary for this postprocessor? More...
 

Member Function Documentation

◆ Configure()

void RepetierHostExtender.interfaces.IGCodePostprocessor.Configure ( IHost  host)

Should open a modal window with the current configuration. After closing the settings are stored.

Parameters
host

◆ Postprocess()

GCode [] RepetierHostExtender.interfaces.IGCodePostprocessor.Postprocess ( GCode  input)

Processes a single gcode from input and returns the resulting list of gcodes. Normally this is the unmodified gcode but a code could also get split into more then one code. Return null if you want to remove codes or postpone sending them to later.

Parameters
inputGCode to process.
Returns
List of resulting gcodes.

◆ PostprocessingFinished()

GCode [] RepetierHostExtender.interfaces.IGCodePostprocessor.PostprocessingFinished ( )

Gets called after all lines have been put through Postprocess. Last chance to return missing lines.

Returns
Lines to add or null

◆ PostprocessingStarts()

GCode [] RepetierHostExtender.interfaces.IGCodePostprocessor.PostprocessingStarts ( ISlicerInstance  slicer)

Gets called when the postprocessing starts.

///

Parameters
slicerSlicer instance used for slicing. Allows to use slicer specific data.
Returns
List of gcodes to insert. null = nothing to insert.

◆ PostprocessorActive()

bool RepetierHostExtender.interfaces.IGCodePostprocessor.PostprocessorActive ( ISlicerInstance  slicer)

Returns true if the postprocessor should be used. Return disbaled if settings wound do no change.

◆ ShowForSLicer()

bool RepetierHostExtender.interfaces.IGCodePostprocessor.ShowForSLicer ( ISlicerInstance  slicer)

Does the postprocessor work with this slicer?

Parameters
slicerInstance of the slicer the postprocessor should work with.
Returns
True if compatible with the slicer.

Property Documentation

◆ HasConfiguration

bool RepetierHostExtender.interfaces.IGCodePostprocessor.HasConfiguration
get

Is a configuration necessary for this postprocessor?

◆ Name

string RepetierHostExtender.interfaces.IGCodePostprocessor.Name
get

Name of the postprocessor for selection

◆ Setting

string RepetierHostExtender.interfaces.IGCodePostprocessor.Setting
getset

retrieve and set all settings compressed into a single string. A empty string is send for default configuration.

◆ Stage

PostpocessorStage RepetierHostExtender.interfaces.IGCodePostprocessor.Stage
get

Determines order of staging where it gets called


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