Class MillingUtil
- Namespace
- Hi.MachiningProcs
- Assembly
- HiMech.dll
Provides utility methods for milling calculations and operations.
public static class MillingUtil
- Inheritance
-
MillingUtil
- Inherited Members
Methods
GetFeedPerCycle_mm(double, double)
Calculates the feed per cycle in millimeters.
public static double GetFeedPerCycle_mm(double feedrate_mmds, double spindleSpeed_radds)
Parameters
feedrate_mmds
doubleThe feed rate in millimeters per second.
spindleSpeed_radds
doubleThe spindle speed in radians per second.
Returns
- double
The feed per cycle in millimeters.
GetFeedPerTooth_mm(double, double, int)
Calculates the feed per tooth in millimeters.
public static double GetFeedPerTooth_mm(double feedrate_mmds, double spindleSpeed_radds, int fluteNum)
Parameters
feedrate_mmds
doubleThe feed rate in millimeters per second.
spindleSpeed_radds
doubleThe spindle speed in radians per second.
fluteNum
intThe number of flutes on the tool.
Returns
- double
The feed per tooth in millimeters.
GetFeedrate_mmds(double, double, int)
Calculates the feed rate in millimeters per second.
public static double GetFeedrate_mmds(double feedPerTooth_mmdrev, double spindleSpeed_radds, int fluteNum)
Parameters
feedPerTooth_mmdrev
doubleThe feed per tooth in millimeters per revolution.
spindleSpeed_radds
doubleThe spindle speed in radians per second.
fluteNum
intThe number of flutes on the tool.
Returns
- double
The feed rate in millimeters per second.
GetFluteZToDzListByGapResolutionSwitch(SortedList<double, double>, double, Box3d, List<PairZr>)
Gets a list of Z coordinates and their corresponding delta Z values for flute engagement, with resolution switching based on chip height.
public static SortedList<double, double> GetFluteZToDzListByGapResolutionSwitch(SortedList<double, double> fluteZToDzListByWorkpieceResolution, double workpieceResolution, Box3d boundingBoxOnToolRunningCoordinate, List<PairZr> fluteZAscendentZrContour)
Parameters
fluteZToDzListByWorkpieceResolution
SortedList<double, double>The initial list of Z coordinates and delta Z values based on workpiece resolution.
workpieceResolution
doubleThe resolution of the workpiece.
boundingBoxOnToolRunningCoordinate
Box3dThe bounding box of the tool path in tool running coordinates.
fluteZAscendentZrContour
List<PairZr>The ascending Z coordinates of the flute contour.
Returns
- SortedList<double, double>
A sorted list of Z coordinates and their corresponding delta Z values.