Table of Contents

Class MachiningActRunnerConfig

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 MachiningActRunnerConfig : IMakeXmlSource
Inheritance
MachiningActRunnerConfig
Implements
Inherited Members
Extension Methods

Constructors

MachiningActRunnerConfig()

Initializes a new instance.

public MachiningActRunnerConfig()

MachiningActRunnerConfig(XElement, string)

Initializes a new instance of the MachiningActRunnerConfig class from XML.

public MachiningActRunnerConfig(XElement src, string baseDirectory)

Parameters

src XElement

The source XML element.

baseDirectory string

The base directory for resolving relative paths.

Properties

EnableCollisionDetection

Gets or sets whether collision detection is enabled.

public bool EnableCollisionDetection { 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

EnablePauseOnFailure

Enable Pause On Failure Detected. Only take effect if the EnableStrokeLimitCheck or EnableCollisionDetection is enabled.

public bool EnablePauseOnFailure { get; set; }

Property Value

bool

EnablePhysics

Gets or sets whether milling force evaluation is enabled.

public bool EnablePhysics { get; set; }

Property Value

bool

EnableStrokeLimitCheck

Gets or sets whether stroke limit checking is enabled.

public bool EnableStrokeLimitCheck { get; set; }

Property Value

bool

EnableWearEffect

Gets or sets whether to enable coating wear effects. Note: This function is not fully prepared yet. Only affects further wear by the wear coefficient of inner material.

public bool EnableWearEffect { 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.