Class LocalProfileMillingPara
- Namespace
- Hi.MillingForces.ProfileMillingParas
- Assembly
- HiMech.dll
Milling parameter of altintas model.
public class LocalProfileMillingPara : IEquatable<LocalProfileMillingPara>, IMakeXmlSource, IGetLocalProfileMillingPara, ICsvRowIo
- Inheritance
-
LocalProfileMillingPara
- Implements
- Inherited Members
- Extension Methods
Constructors
LocalProfileMillingPara()
Ctor.
public LocalProfileMillingPara()
LocalProfileMillingPara(Vec3d, Vec3d)
Ctor.
public LocalProfileMillingPara(Vec3d shearPara, Vec3d ploughPara)
Parameters
shearPara
Vec3dshear milling parameter. (x,y,z)=(Ktc,Krc,Kac)
ploughPara
Vec3dplough milling parameter. (x,y,z)=(Kte,Kre,Kae)
LocalProfileMillingPara(LocalProfileMillingPara)
Copy constructor.
public LocalProfileMillingPara(LocalProfileMillingPara srcPara)
Parameters
srcPara
LocalProfileMillingParaSource parameter to copy from.
LocalProfileMillingPara(double, double, double, double, double, double)
Constructor with specific milling parameters.
public LocalProfileMillingPara(double Krc, double Ktc, double Kac, double Kre, double Kte, double Kae)
Parameters
Krc
doubleRadial shear coefficient.
Ktc
doubleTangential shear coefficient.
Kac
doubleAxial shear coefficient.
Kre
doubleRadial plough coefficient.
Kte
doubleTangential plough coefficient.
Kae
doubleAxial plough coefficient.
LocalProfileMillingPara(XElement)
Ctor by XML.
public LocalProfileMillingPara(XElement src)
Parameters
src
XElementXML
Fields
Zero
Gets a LocalProfileMillingPara instance with all parameters set to zero.
public static LocalProfileMillingPara Zero
Field Value
Properties
AA7075
Gets milling parameters for AA7075 aluminum alloy.
public static LocalProfileMillingPara AA7075 { get; }
Property Value
Al6061T6
Al6061T6. Build by 20190213 PMC end-mill exp.
public static LocalProfileMillingPara Al6061T6 { get; }
Property Value
Al6061T6_
Milling parameters for Al6061T6 material (older version). Determined by NCCU.
public static LocalProfileMillingPara Al6061T6_ { get; }
Property Value
Al6061T6_R0p5
Milling parameters for Al6061T6 material with 0.5mm radius. Built by PMC on 2019-02-13.
public static LocalProfileMillingPara Al6061T6_R0p5 { get; }
Property Value
CsvText
Csv text.
public string CsvText { get; set; }
Property Value
CsvTitleText
Csv titles text.
public string CsvTitleText { get; }
Property Value
Inconel718
Gets milling parameters for Inconel 718 material.
public static LocalProfileMillingPara Inconel718 { get; }
Property Value
Kp
public Vec3d Kp { get; set; }
Property Value
Kpa
Coefficient of axial plough force.
public double Kpa { get; set; }
Property Value
Kpr
Coefficient of radial plough force.
public double Kpr { get; set; }
Property Value
Kpt
Coefficient of tangential plough force.
public double Kpt { get; set; }
Property Value
Ks
public Vec3d Ks { get; set; }
Property Value
Ksa
Coefficient of axial shear force.
public double Ksa { get; set; }
Property Value
Ksr
Coefficient of radial shear force.
public double Ksr { get; set; }
Property Value
Kst
Coefficient of tangential shear force.
public double Kst { get; set; }
Property Value
NaN
Gets a LocalProfileMillingPara instance with all parameters set to NaN (Not a Number).
public static LocalProfileMillingPara NaN { get; }
Property Value
S45C_ColumnEnd
Gets milling parameters for S45C material with column end configuration.
public static LocalProfileMillingPara S45C_ColumnEnd { get; }
Property Value
SS304
Milling parameters for SS304 stainless steel. Reference: “The effect of cutting force model coefficient variability on process planning in milling”, Firat Eren, University of New Hampshire, Durham.
public static LocalProfileMillingPara SS304 { get; }
Property Value
SS304_R0
Gets milling parameters for SS304 stainless steel with no radius (R0).
public static LocalProfileMillingPara SS304_R0 { get; }
Property Value
SS304_R0p5
Gets milling parameters for SS304 stainless steel with 0.5mm radius (R0.5) and 4 flutes.
public static LocalProfileMillingPara SS304_R0p5 { get; }
Property Value
SS304_R3
Gets milling parameters for SS304 stainless steel with 3mm radius (R3) and 4 flutes.
public static LocalProfileMillingPara SS304_R3 { get; }
Property Value
Steel17_4PH
Milling parameters for Steel 17-4PH material.
public static LocalProfileMillingPara Steel17_4PH { get; }
Property Value
Ti6Al4V
Gets milling parameters for Ti6Al4V material.
public static LocalProfileMillingPara Ti6Al4V { get; }
Property Value
Ti6Al4V_Altintas2001
Gets milling parameters for Ti6Al4V material based on Altintas 2001 research.
public static LocalProfileMillingPara Ti6Al4V_Altintas2001 { get; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
Methods
Equals(LocalProfileMillingPara)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(LocalProfileMillingPara other)
Parameters
other
LocalProfileMillingParaAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetElementByIndex(RtaMillingParaKey)
Gets the parameter value by the specified key.
public double GetElementByIndex(RtaMillingParaKey key)
Parameters
key
RtaMillingParaKeyThe parameter key to retrieve.
Returns
- double
The parameter value corresponding to the key.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMillingPara()
public LocalProfileMillingPara GetMillingPara()
Returns
MakeXmlSource(string, string)
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)
Parameters
baseDirectory
stringThe base directory for resolving relative paths
relFile
stringThe relative file path for the XML source
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.
SetElementByIndex(RtaMillingParaKey, double)
Sets the parameter value for the specified key.
public void SetElementByIndex(RtaMillingParaKey key, double v)
Parameters
key
RtaMillingParaKeyThe parameter key to set.
v
doubleThe value to set.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.