Table of Contents

Class MillingActRunnerConfig

Namespace
Hi.MachiningProcs
Assembly
HiMech.dll

Represents the configuration for a milling act runner. Provides settings for physics simulation, evaluation, and temperature control.

public class MillingActRunnerConfig : IMakeXmlSource
Inheritance
MillingActRunnerConfig
Implements
Inherited Members
Extension Methods

Constructors

MillingActRunnerConfig()

Initializes a new instance of the MillingActRunnerConfig class.

public MillingActRunnerConfig()

MillingActRunnerConfig(XElement, string)

Initializes a new instance of the MillingActRunnerConfig class from XML.

public MillingActRunnerConfig(XElement src, string baseDirectory)

Parameters

src XElement

The source XML element.

baseDirectory string

The base directory for resolving relative paths.

Properties

EnableAdvancedPhysics

Gets or sets whether advanced physics simulation is enabled.

public bool EnableAdvancedPhysics { get; set; }

Property Value

bool

EnableDeflectionTransformation

Gets or sets whether deflection transformation is enabled. Note: This feature is pending testing.

public bool EnableDeflectionTransformation { get; set; }

Property Value

bool

EnableExternalEvaluation

Gets or sets whether external evaluation is enabled.

public bool EnableExternalEvaluation { get; set; }

Property Value

bool

InitSpindleTemperature_C

Gets or sets the initial spindle temperature in Celsius.

public double InitSpindleTemperature_C { get; set; }

Property Value

double

InitSpindleTemperature_K

Gets or sets the initial spindle temperature in Kelvin. The temperature is initialized when a working session is restarted or a new session is started.

public double InitSpindleTemperature_K { get; set; }

Property Value

double

XName

Gets the XML element name for serialization.

public static string XName { get; }

Property Value

string

Methods

MakeXmlSource(string, string, bool)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

exhibitionOnly bool

if true, the extended file creation is suppressed.

Returns

XElement

An XML element representing the object's state

Remarks

For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied. The baseDirectory is typically the folder at the nearest configuration file folder. Since the folder can be moving with the configuration file.