Class PostprocessorSettings
The settings of postprocessor which defines it's descriptional properties, the way to handle circular arcs and the set of additional properties which the developer of a particular postprocessor can add at his own discretion.
They are read automatically from the Settings.xml file of the postprocessor.
Inheritance
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public class PostprocessorSettings : Attribute
Constructors
PostprocessorSettings()
Initializes a new instance of PostprocessorSettings class. Usually you don't need to create it manually. It is created automatically when a new postprocessor class created.
Declaration
public PostprocessorSettings()
Properties
Arcs
The settings to handle circular arcs and helixes.
Declaration
public ArcSettings Arcs { get; }
Property Value
Type | Description |
---|---|
ArcSettings |
Authors
The authors of the postprocessor.
Declaration
public string Authors { get; }
Property Value
Type | Description |
---|---|
string |
CNCSystem
The name of CNC system for which the postprocessor writes programs.
Declaration
public string CNCSystem { get; }
Property Value
Type | Description |
---|---|
string |
Comment
Textual descriptional commentary of postprocessor.
Declaration
public string Comment { get; }
Property Value
Type | Description |
---|---|
string |
DecimalSeperator
Default decimal separator.
Declaration
public string DecimalSeperator { get; }
Property Value
Type | Description |
---|---|
string |
MachineName
The name of the machine or robot for which this postprocessor is intended.
Declaration
public string MachineName { get; }
Property Value
Type | Description |
---|---|
string |
Params
The set of additional properties which the developer of a particular postprocessor can add at his own discretion. They are read from the "Settings/UserDefinedParameters" node of the Settings.xml file.
Declaration
public INamedProperty Params { get; }
Property Value
Type | Description |
---|---|
INamedProperty |
Methods
AssignUserDefinedParameters(string)
Assigns the user defined part of the settings.xml file to this instance.
Declaration
public bool AssignUserDefinedParameters(string SettingsXML)
Parameters
Type | Name | Description |
---|---|---|
string | SettingsXML |
Returns
Type | Description |
---|---|
bool |
Parse(string)
Parses the settings from the xml text.
Declaration
public bool Parse(string SettingsXML)
Parameters
Type | Name | Description |
---|---|---|
string | SettingsXML | The xml text to parse (content of Settings.xml file). |
Returns
Type | Description |
---|---|
bool |