Class MillingForceLuggage
- Namespace
- Hi.MillingForces
- Assembly
- HiMech.dll
Represents a container for milling force data and calculations.
[BsonIgnoreExtraElements]
public class MillingForceLuggage
- Inheritance
-
MillingForceLuggage
- Inherited Members
- Extension Methods
Constructors
MillingForceLuggage()
Initializes a new instance of the MillingForceLuggage class.
public MillingForceLuggage()
MillingForceLuggage(BinaryReader)
Initializes a new instance of the MillingForceLuggage class from a binary reader.
public MillingForceLuggage(BinaryReader reader)
Parameters
reader
BinaryReaderThe binary reader containing the milling force data.
Properties
CuttingForcesToToolOnToolRunningCoordinate_N
Cutting forces on tool running coordinate. The forced item is tool.
public List<Vec3d> CuttingForcesToToolOnToolRunningCoordinate_N { get; }
Property Value
MomentsToToolAboutToolTipOnToolRunningCoordinate_Nm
Moments on tool running coordinate in N*m. The fulcrum is at the coordinate zero. The moment is taken by tool. The size is RotationDivisionNum.
[BsonElement]
public List<Vec3d> MomentsToToolAboutToolTipOnToolRunningCoordinate_Nm { get; }
Property Value
PloughForcesOnTr
plough force on tool running coordinate. The force is taken by tool. In sequence of time.
[BsonElement]
public List<Vec3d> PloughForcesOnTr { get; }
Property Value
RotationDivisionNum
Gets the number of divisions for one complete rotation.
public int RotationDivisionNum { get; }
Property Value
ShearForcesOnTr
shear forces on tool running coordinate. The force is taken by tool. In sequence of time.
[BsonElement]
public List<Vec3d> ShearForcesOnTr { get; }
Property Value
StepIndex
Step index. For database saving.
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[BsonId]
public int StepIndex { get; set; }
Property Value
Methods
GetCuttingForcesToToolOnWorkpieceCoodinate_N(Mat4d)
Cutting forces on workpiece coordinate. The forced item is tool.
public List<Vec3d> GetCuttingForcesToToolOnWorkpieceCoodinate_N(Mat4d CdnTransformFromToolRunningZeroToWorkpieceGeom)
Parameters
CdnTransformFromToolRunningZeroToWorkpieceGeom
Mat4d
Returns
GetCuttingForcesToWorkpieceOnProgramCoordinate_N(Mat4d)
Cutting forces on workpiece coordinate. The forced item is workpiece.
public List<Vec3d> GetCuttingForcesToWorkpieceOnProgramCoordinate_N(Mat4d cdnTransformFromToolRunningToProgram)
Parameters
cdnTransformFromToolRunningToProgram
Mat4d
Returns
GetCuttingForcesToWorkpieceOnProgramCoordinate_N(MachineMotionStep)
Gets the cutting forces to workpiece on program coordinate in Newtons for a specific machining step.
public List<Vec3d> GetCuttingForcesToWorkpieceOnProgramCoordinate_N(MachineMotionStep machineStep)
Parameters
machineStep
MachineMotionStepThe machining step to get forces for
Returns
GetForceToToolOnToolRunningCoordinateCsvString(MachineMotionStep)
Gets the force to tool on tool running coordinate as a CSV string.
public string GetForceToToolOnToolRunningCoordinateCsvString(MachineMotionStep machineStep)
Parameters
machineStep
MachineMotionStepThe machining step to get forces for.
Returns
- string
A CSV string representation of the forces.
GetForceToWorkpieceOnProgramCoordinateCsvString(MachineMotionStep)
Gets the force to workpiece on program coordinate as a CSV string.
public string GetForceToWorkpieceOnProgramCoordinateCsvString(MachineMotionStep machineStep)
Parameters
machineStep
MachineMotionStepThe machining step to get forces for.
Returns
- string
A CSV string representation of the forces.
GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(IMachiningTool)
Gets the moments about anchor on tool running coordinate in Newton-meters.
public List<Vec3d> GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(IMachiningTool millingTool)
Parameters
millingTool
IMachiningToolThe machining tool to calculate moments for.
Returns
GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(MachiningToolHouse, MachineMotionStep)
Gets the moments about anchor on tool running coordinate in Newton-meters.
public List<Vec3d> GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(MachiningToolHouse toolHouse, MachineMotionStep machineStep)
Parameters
toolHouse
MachiningToolHouseThe tool house containing the machining tool.
machineStep
MachineMotionStepThe machining step to calculate moments for.
Returns
GetMomentsAboutObservationPointOnSpindleRotationCoordinate_Nm(MachiningToolHouse, MachineMotionStep)
Moment to tool.
public List<Vec3d> GetMomentsAboutObservationPointOnSpindleRotationCoordinate_Nm(MachiningToolHouse toolHouse, MachineMotionStep machineStep)
Parameters
toolHouse
MachiningToolHouseThe tool house containing the machining tool
machineStep
MachineMotionStepThe machining step to get moments for
Returns
GetMomentsAboutToolTipOnSpindleRotationCoordinate_Nm()
Gets the moments about tool tip on spindle rotation coordinate in Newton-meters.
public List<Vec3d> GetMomentsAboutToolTipOnSpindleRotationCoordinate_Nm()
Returns
GetMomentsOnToolRunningCoordinate_Nm(Vec3d)
Get moments to tool.
public List<Vec3d> GetMomentsOnToolRunningCoordinate_Nm(Vec3d observationPosFromToolTip)
Parameters
observationPosFromToolTip
Vec3d
Returns
GetMomentsOnToolRunningCoordinate_Nm(double)
Gets the moments on the tool running coordinate system at a specified height from the tool tip.
public List<Vec3d> GetMomentsOnToolRunningCoordinate_Nm(double observationHeightFromToolTip)
Parameters
observationHeightFromToolTip
doubleThe height from the tool tip where moments are calculated.
Returns
GetMomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm(IMachiningTool)
Moment to tool.
public List<Vec3d> GetMomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm(IMachiningTool millingTool)
Parameters
millingTool
IMachiningTool
Returns
GetMomentsToToolOnSpindleRotationZeroCsvString(MachiningToolHouse, MachineMotionStep, RakeFacePhysicsBrief)
Gets the moments to tool on spindle rotation zero as a CSV string.
public string GetMomentsToToolOnSpindleRotationZeroCsvString(MachiningToolHouse toolHouse, MachineMotionStep machineStep, RakeFacePhysicsBrief brief)
Parameters
toolHouse
MachiningToolHouseThe tool house containing the machining tool.
machineStep
MachineMotionStepThe machining step to get moments for.
brief
RakeFacePhysicsBriefThe rake face physics brief.
Returns
- string
A CSV string representation of the moments.
GetTipDeflectionOnToolRunningCoordinateList_mm(IMachiningTool)
Gets the tool tip deflection on the tool running coordinate system.
public List<Vec3d> GetTipDeflectionOnToolRunningCoordinateList_mm(IMachiningTool millingTool)
Parameters
millingTool
IMachiningToolThe milling tool for which to calculate deflections.
Returns
GetYieldingStressRatio(IMachiningTool)
Gets the yielding stress ratio for the given machining tool.
public double GetYieldingStressRatio(IMachiningTool millingTool)
Parameters
millingTool
IMachiningToolThe machining tool to calculate the stress ratio for.
Returns
- double
The yielding stress ratio.
ToCuttingForcesString()
Converts the cutting forces to a string representation.
public string ToCuttingForcesString()
Returns
- string
A string representation of the cutting forces.
WriteBin(BinaryWriter)
public void WriteBin(BinaryWriter writer)
Parameters
writer
BinaryWriter