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_mmdsdoubleThe feed rate in millimeters per second.
spindleSpeed_raddsdoubleThe 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_mmdsdoubleThe feed rate in millimeters per second.
spindleSpeed_raddsdoubleThe spindle speed in radians per second.
fluteNumintThe 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_mmdrevdoubleThe feed per tooth in millimeters per revolution.
spindleSpeed_raddsdoubleThe spindle speed in radians per second.
fluteNumintThe 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
fluteZToDzListByWorkpieceResolutionSortedList<double, double>The initial list of Z coordinates and delta Z values based on workpiece resolution.
workpieceResolutiondoubleThe resolution of the workpiece.
boundingBoxOnToolRunningCoordinateBox3dThe bounding box of the tool path in tool running coordinates.
fluteZAscendentZrContourList<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.