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
readerBinaryReaderThe 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
CdnTransformFromToolRunningZeroToWorkpieceGeomMat4d
Returns
GetCuttingForcesToWorkpieceOnProgramCoordinate_N(Mat4d)
Cutting forces on workpiece coordinate. The forced item is workpiece.
public List<Vec3d> GetCuttingForcesToWorkpieceOnProgramCoordinate_N(Mat4d cdnTransformFromToolRunningToProgram)
Parameters
cdnTransformFromToolRunningToProgramMat4d
Returns
GetCuttingForcesToWorkpieceOnProgramCoordinate_N(MachineMotionStep)
Gets the cutting forces to workpiece on program coordinate in Newtons.
public List<Vec3d> GetCuttingForcesToWorkpieceOnProgramCoordinate_N(MachineMotionStep machineStep)
Parameters
machineStepMachineMotionStepThe 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
machineStepMachineMotionStepThe 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
machineStepMachineMotionStepThe 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
millingToolIMachiningToolThe machining tool to calculate 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
observationPosFromToolTipVec3d
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
observationHeightFromToolTipdoubleThe height from the tool tip where moments are calculated.
Returns
GetMomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm(IMachiningTool)
Get Moments To Tool About Observation Point On Spindle Rotation Coordinate. Unit is Newton-meter.
public List<Vec3d> GetMomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm(IMachiningTool millingTool)
Parameters
millingToolIMachiningTool
Returns
GetMomentsToToolOnSpindleRotationZeroCsvString(IMachiningTool, MachineMotionStep, MillingPhysicsBrief)
Gets the moments to tool on spindle rotation zero as a CSV string.
public string GetMomentsToToolOnSpindleRotationZeroCsvString(IMachiningTool machiningTool, MachineMotionStep machineStep, MillingPhysicsBrief brief)
Parameters
machiningToolIMachiningToolmachineStepMachineMotionStepThe machining step to get moments for.
briefMillingPhysicsBriefThe 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
millingToolIMachiningToolThe 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
millingToolIMachiningToolThe 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
writerBinaryWriter