-Class FeedPerToothNcResolution0 -
- -- Namespace
- Hi.Numerical.MachiningMotionResolutionUtils
- Assembly
- HiMech.dll
Automatic resolution by feed per tooth.
-public class FeedPerToothNcResolution0 : IMachiningMotionResolution, IMakeXmlSource, IToXElement
- -
-
- Inheritance -
-
-
- FeedPerToothNcResolution0-
-
-
-
- Implements -
- - - - - -
-
-
- Inherited Members -
-
-
-
-
- - object.GetType() -- - - -
-
-
- Extension Methods -
- - - - - - - - -
Constructors -
- - - - -- FeedPerToothNcResolution0() - -
- -Ctor.
-public FeedPerToothNcResolution0()
- - FeedPerToothNcResolution0(XElement) - -
- -Ctor.
-public FeedPerToothNcResolution0(XElement src)
- Parameters
--
-
srcXElement
- XML
-
-
Properties -
- - - - -- LinearResolution_mm - -
- -Linear axis resolution in millimeter.
-public double LinearResolution_mm { get; }
- Property Value
--
-
- double - -
Remarks
-setter is for internal usage
-- MillingToolFluteMap - -
- -Internal use. -MillingToolFluteMap. -Transient data.
-public object MillingToolFluteMap { get; set; }
- Property Value
--
-
- object - -
- RotaryResolution_deg - -
- -Rotary axis resolution in degree.
-public double RotaryResolution_deg { get; set; }
- Property Value
--
-
- double - -
Remarks
-setter is for internal usage
-- RotaryResolution_rad - -
- -Rotary axis resolution in radian.
-public double RotaryResolution_rad { get; }
- Property Value
--
-
- double - -
Remarks
-setter is for internal usage
-- XName - -
- -Name for XML IO.
-public static string XName { get; }
- Property Value
--
-
- string - -
Methods -
- - - - -- AdjustResolution(int, double, double) - -
- -Adjusts the resolution based on flute number, feed rate and spindle speed.
-public void AdjustResolution(int fluteNum, double feedrate_mmds, double spindleSpeed_radds)
- Parameters
--
-
fluteNumint
- Number of flutes in the cutting tool
-
- feedrate_mmdsdouble
- Feed rate in mm per second
-
- spindleSpeed_raddsdouble
- Spindle speed in radians per second
-
-
- 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
--
-
baseDirectorystring
- The base directory for resolving relative paths
-
- relFilestring
- The relative file path for the XML source
-
- exhibitionOnlybool
- 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.
- ToXElement() - -
- -Get the XElement to represent the object.
-public XElement ToXElement()
-