Class MachiningStep
- Namespace
- Hi.MachiningSteps
- Assembly
- HiMech.dll
Represents a machining step enriched with physics, mapping and source metadata. The duration-based step property is based on the duration from previous-step to current-step.
public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
- Inheritance
-
MachiningStep
- Implements
- Inherited Members
- Extension Methods
Constructors
MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingInstance, CollidedKeyPair[])
Initializes a new instance of the MachiningStep class.
public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machineMotionStep, MillingInstance millingInstance, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
hostIMachiningStepHostThe host of the milling step.
stepIndexintThe index of the step.
sourceCommandIIndexedFileLineThe source command.
machineMotionStepMachineMotionStepThe machine motion step parameters.
millingInstanceMillingInstanceThe physics result for the step.
collidedKeyPairsCollidedKeyPair[]The collided key pairs detected in this step.
Properties
AccumulatedCraterWear_um
Gets the accumulated crater wear in micrometers
[Present("Accumulated Crater Wear", "A.C.Wear", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double AccumulatedCraterWear_um { get; }
Property Value
AccumulatedFlankWearDepth_um
Gets the accumulated flank wear depth in micrometers
[Present("Accumulated Flank Wear Depth", "A.F.Wear.Depth", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double AccumulatedFlankWearDepth_um { get; }
Property Value
AccumulatedFlankWearWidth_um
Gets the accumulated flank wear width in micrometers
[Present("Accumulated Flank Wear Width", "A.F.Wear.Width", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double AccumulatedFlankWearWidth_um { get; }
Property Value
AccumulatedSpindleEnergyConsumption_kWh
Gets the accumulated spindle energy consumption in kilowatt-hours
[Present("Accumulated Spindle Energy Consumption", null, PhysicsUnit.kWh, "G6")]
[JsAce(ClassExt = "MachiningStep")]
public double AccumulatedSpindleEnergyConsumption_kWh { get; }
Property Value
AccumulatedTime
Ideal accumulated worked time by simulation. Ideal Program duration.
[Present("Time", null, PhysicsUnit.None, "G")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan AccumulatedTime { get; }
Property Value
ActualTime
Actual accumulated worked time. Actual Program time.
[Present("Actual Time", "Act.Time", PhysicsUnit.None, "G")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan? ActualTime { get; set; }
Property Value
AvgAbsMomentAboutSensorVec3d_Nm
Gets the average absolute moment about sensor vector in Newton-meters
[Present("Avg Abs Moment To Tool About Sensor", "Avg-Abs-M-ToTool-Sensor-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d AvgAbsMomentAboutSensorVec3d_Nm { get; }
Property Value
AvgAbsMomentXAboutSensorOnSpindleRotationCoordinate_Nm
Gets the average absolute moment X about sensor on spindle rotation coordinate in Newton-meters
[Present("Avg Abs Moment X To Tool About Sensor On Spindle Rotation Coordinate", "AvgAbsMx-ToTool-Sensor-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgAbsMomentXAboutSensorOnSpindleRotationCoordinate_Nm { get; }
Property Value
AvgAbsMomentXAboutToolTipOnSpindleRotationCoordinate_Nm
Gets the average absolute moment X about tool tip on spindle rotation coordinate in Newton-meters
[Present("Avg Abs Moment X To Tool About Tool Tip On Spindle Rotation Coordinate", "AvgAbsMx-ToTool-Tip-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double AvgAbsMomentXAboutToolTipOnSpindleRotationCoordinate_Nm { get; }
Property Value
AvgAbsTorqueByMapping_Nm
Gets the average absolute torque by mapping in Newton-meters
[Present("Avg Abs Torque By Mapping", "AvgAbsTorque-Map", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgAbsTorqueByMapping_Nm { get; }
Property Value
AvgAbsTorqueErrorRatioWithMapping
numerator is sim value minus mapping value; denominator is the mapping value.
[Present("Avg Torque Error Ratio by Mapping", "Torque-Err-R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgAbsTorqueErrorRatioWithMapping { get; }
Property Value
AvgAbsTorqueSignedErrorRelationWithMapping
The sign is from sim value minus mapping value. the quantity is Math.Sqrt(err.Square() / Math.Abs(sim * mapping))
[JsAce(ClassExt = "MachiningStep")]
public double? AvgAbsTorqueSignedErrorRelationWithMapping { get; }
Property Value
AvgAbsTorque_Nm
AvgAbsTorqueOnSpindleRotationCoordinate
[Present("Avg Abs Torque", "AvgAbsTorque", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgAbsTorque_Nm { get; }
Property Value
AvgForceToToolOnToolRunningCoordinate_N
Gets the average force to tool on tool running coordinate in N.
[Present("AvgForceToToolOnToolRunningCoordinate", "AvgForce-ToTool-TR", PhysicsUnit.N, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d AvgForceToToolOnToolRunningCoordinate_N { get; }
Property Value
AvgForceXToToolOnToolRunningCoordinate_N
Gets the average force X to tool on tool running coordinate in N.
[JsAce(ClassExt = "MachiningStep")]
public double? AvgForceXToToolOnToolRunningCoordinate_N { get; }
Property Value
AvgForceYToToolOnToolRunningCoordinate_N
Gets the average force Y to tool on tool running coordinate in N.
[JsAce(ClassExt = "MachiningStep")]
public double? AvgForceYToToolOnToolRunningCoordinate_N { get; }
Property Value
AvgForceZToToolOnToolRunningCoordinate_N
Gets the average force Z to tool on tool running coordinate in N.
[JsAce(ClassExt = "MachiningStep")]
public double? AvgForceZToToolOnToolRunningCoordinate_N { get; }
Property Value
AvgMomentAboutSensor_Nm
Gets the average moment about sensor in Newton-meters
[Present("Avg Moment To Tool About Sensor", "AvgM-ToTool-Sensor-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgMomentAboutSensor_Nm { get; }
Property Value
AvgMomentAboutToolTipOnProgramCoordinate_Nm
Gets the average moment about tool tip on program coordinate in Newton-meters
[Present("Avg Moment To Tool About Tool Tip On Workpiece Program Coordinate", "AvgAbsM-ToTool-Tip-W", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d AvgMomentAboutToolTipOnProgramCoordinate_Nm { get; }
Property Value
AvgMomentAboutToolTipOnToolRunningCoordinate_Nm
Gets the average moment about tool tip on tool running coordinate in Newton-meters
[Present("Avg Moment To Tool About Tool Tip On Tool Running Coordinate", "AvgAbsM-ToTool-Tip-TR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d AvgMomentAboutToolTipOnToolRunningCoordinate_Nm { get; }
Property Value
AvgMomentAboutToolTip_Nm
Gets the average moment about tool tip in Newton-meters
[Present("Avg Moment To Tool About ToolTip", "AvgM-ToTool-Tip-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgMomentAboutToolTip_Nm { get; }
Property Value
AvgMomentXyAboutObservationPoint_Nm
Gets the average moment XY about observation point in Newton-meters
[Present("Avg Moment XY To Tool About Sensor", "AvgM-ToTool-Sensor.XY", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgMomentXyAboutObservationPoint_Nm { get; }
Property Value
AvgMomentXyByMapping_Nm
Gets the average moment XY by mapping in Newton-meters
[Present("Avg Moment XY By Mapping", "AvgM-Map.XY", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgMomentXyByMapping_Nm { get; }
Property Value
AvgMomentXyErrorRatioWithMapping
Gets the average moment XY error ratio with mapping. Numerator is sim value minus mapping value; denominator is the mapping value.
[Present("Avg Moment XY Error Ratio by Mapping", "M-XY-Err-R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? AvgMomentXyErrorRatioWithMapping { get; }
Property Value
AvgMomentXySignedErrorRelationWithMapping
The sign is from sim value minus mapping value. the quantity is Math.Sqrt(err.Square() / Math.Abs(sim * mapping))
[JsAce(ClassExt = "MachiningStep")]
public double? AvgMomentXySignedErrorRelationWithMapping { get; }
Property Value
BeginSpindleAngle_deg
Gets the beginning spindle angle in degrees.
[Present("Beginning Spindle Angle Shift", "Spd. Ang. Shift", PhysicsUnit.deg, "F2")]
[JsAce(ClassExt = "MachiningStep")]
public double BeginSpindleAngle_deg { get; }
Property Value
ChipMass_g
Gets the chip mass in grams.
[JsAce(ClassExt = "MachiningStep")]
public double? ChipMass_g { get; }
Property Value
ChipMass_mg
Gets the chip mass in milligrams.
[Present("Chip Mass", null, PhysicsUnit.mg, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ChipMass_mg { get; }
Property Value
ChipTemperature_C
Gets the chip temperature in Celsius
[Present("Chip Temperature", "Chip T.", PhysicsUnit.C, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ChipTemperature_C { get; }
Property Value
ChipThickness_mm
Gets the chip thickness in mm.
[Present("Chip Thickness", null, PhysicsUnit.mm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ChipThickness_mm { get; }
Property Value
ChipThickness_um
Gets the chip thickness in micrometers
public double? ChipThickness_um { get; }
Property Value
ChipVolume_mm3
Gets the chip volume in mm³.
[Present("Chip Volume", null, PhysicsUnit.mm3, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ChipVolume_mm3 { get; }
Property Value
Cl
Gets the cutter location.
[Present("Cutter Location", "CL", PhysicsUnit.mm, "F5")]
public DVec3d Cl { get; }
Property Value
CollidedKeyPairs
Gets or sets the collided key pairs if a collision was detected for this step.
public MachiningStep.CollidedKeyPair[] CollidedKeyPairs { get; set; }
Property Value
CollisionText
A formatted text representing collided key pairs, e.g. "(A,B);(C,D)". Returns null when there is no collision.
[Present]
[JsAce(ClassExt = "MachiningStep")]
public string CollisionText { get; }
Property Value
CutterBodyTemperature_C
Gets the cutter body temperature in Celsius
[Present("Cutter Body Temperature", "Ct. Body T.", PhysicsUnit.C, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? CutterBodyTemperature_C { get; }
Property Value
CutterDermisTemperature_C
Gets the cutter dermis temperature in Celsius
[Present("Cutter Dermis Temperature", "Ct. Dermis T.", PhysicsUnit.C, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? CutterDermisTemperature_C { get; }
Property Value
CuttingDepth_mm
Gets the cutting depth in mm.
[Present("Cutting Depth", "ap", PhysicsUnit.mm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double CuttingDepth_mm { get; }
Property Value
CuttingForcesToToolOnToolRunningCoordinate_N
Cutting forces on tool running coordinate. Unit is Newtons. The forced item is tool.
public List<Vec3d> CuttingForcesToToolOnToolRunningCoordinate_N { get; }
Property Value
CuttingForcesToWorkpieceOnProgramCoordinate_N
Get the cutting forces on program coordinate. Unit is Newtons. The forced item is workpiece.
public List<Vec3d> CuttingForcesToWorkpieceOnProgramCoordinate_N { get; }
Property Value
CuttingSpeed_mmds
Gets the cutting speed in mm/s. The speed on the cutter outer radius by the spindle rotating.
[Present("Cutting Speed", "Vc", PhysicsUnit.mmds, "G5")]
[JsAce(ClassExt = "MachiningStep")]
public double? CuttingSpeed_mmds { get; }
Property Value
CuttingWidth_mm
Gets the cutting width in mm.
[Present("Cutting Width", "ae", PhysicsUnit.mm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double CuttingWidth_mm { get; }
Property Value
DeltaTipDeflectionOnToolRunningCoordinate_um
Gets the delta tip deflection on tool running coordinate in micrometers
[Present("Delta Tip Deflection On Tool Running Coordinate", "Dlt.Df.-Tip-TR", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d DeltaTipDeflectionOnToolRunningCoordinate_um { get; }
Property Value
FeedPerCycle_mm
Gets the feed per cycle in mm.
[Present("Feed per Cycle", "frc", PhysicsUnit.mm, "G5")]
[JsAce(ClassExt = "MachiningStep")]
public double FeedPerCycle_mm { get; }
Property Value
FeedPerTooth_mm
Gets the feed per tooth in mm.
[Present("Feed per Tooth", "frt", PhysicsUnit.mm, "G5")]
[JsAce(ClassExt = "MachiningStep")]
public double FeedPerTooth_mm { get; }
Property Value
Feedrate_mmdmin
Gets the feedrate in mm/min.
[Present("Feedrate", "F", PhysicsUnit.mmdmin, "G5")]
[JsAce(ClassExt = "MachiningStep")]
public double Feedrate_mmdmin { get; }
Property Value
- double
Feedrate in mm/s
FileNo
Gets the file number.
[Present]
[JsAce(ClassExt = "MachiningStep")]
public int? FileNo { get; }
Property Value
- int?
FilePath
Gets the file path.
[Present]
[JsAce(ClassExt = "MachiningStep")]
public string FilePath { get; }
Property Value
FlagsText
Gets the flags text.
[Present]
[JsAce(ClassExt = "MachiningStep")]
public string FlagsText { get; }
Property Value
FlexDictionary
Gets or sets the flexible dictionary.
public Dictionary<string, object> FlexDictionary { get; set; }
Property Value
FrictionPower_W
friction power takes by workpiece per cycle. the unit is watt.
[JsAce(ClassExt = "MachiningStep")]
public double? FrictionPower_W { get; }
Property Value
Host
Gets or sets the host of the milling step.
public IMachiningStepHost Host { get; set; }
Property Value
InfInsistentSpindlePowerRatio
Continuous spindle power ratio: input power / time-unlimited maximum power per spindle capability.
[Present("Continue Spindle Power Ratio", "Cont.Spd.Pow.R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? InfInsistentSpindlePowerRatio { get; }
Property Value
InfInsistentSpindleTorqueRatio
Gets the infinite insistent spindle torque ratio
[Present("Continue Spindle Torque Ratio", "Cont.Spd.Torque-R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? InfInsistentSpindleTorqueRatio { get; }
Property Value
InstantCraterWear_um
Gets the instant crater wear in micrometers
[Present("Instant Crater Wear", "I.C.Wear", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? InstantCraterWear_um { get; }
Property Value
IsReliefFaceCollided
Gets a value indicating whether the relief face is collided.
[Present("Is Relief Face Collided", "Is-Rlf.C.", PhysicsUnit.None, "G")]
[JsAce(ClassExt = "MachiningStep")]
public bool? IsReliefFaceCollided { get; }
Property Value
- bool?
IsTouched
Gets whether the step is touched.
[Present("Is Touched", null, PhysicsUnit.None, "G")]
[JsAce(ClassExt = "MachiningStep")]
public bool IsTouched { get; }
Property Value
this[string]
Gets or sets a value in the flexible dictionary by key.
public object this[string key] { get; set; }
Parameters
keystringThe key to look up.
Property Value
- object
The value associated with the key, or null if not found.
LineNo
Gets the line number.
[Present]
[JsAce(ClassExt = "MachiningStep")]
public int? LineNo { get; }
Property Value
- int?
LineText
Gets the line text.
[Present]
[JsAce(ClassExt = "MachiningStep")]
public string LineText { get; }
Property Value
MachineMotionStep
Gets or sets the machining step.
public MachineMotionStep MachineMotionStep { get; set; }
Property Value
MachiningTool
Gets the machining tool used for this milling step.
public IMachiningTool MachiningTool { get; }
Property Value
MaxAbsForce_N
Max absolute force at the rotation cycle.
[Present("Max Absolute Force", "Max Abs F.", PhysicsUnit.N, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? MaxAbsForce_N { get; }
Property Value
MaxBottomEdgeDeflectionOnToolRunningCoordinate_mm
Gets the maximum bottom edge deflection on tool running coordinate in millimeters It only make sense in end mill. The z value of this factor is re-cut depth.
[JsAce(ClassExt = "MachiningStep")]
public Vec3d MaxBottomEdgeDeflectionOnToolRunningCoordinate_mm { get; }
Property Value
MaxBottomEdgeDeflectionOnToolRunningCoordinate_um
Gets the maximum bottom edge deflection on tool running coordinate in micrometers.
[Present("Max Bottom Edge Deflection On Tool Running Coordinate", "Df.-Bt.Edge-TR", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d MaxBottomEdgeDeflectionOnToolRunningCoordinate_um { get; }
Property Value
MaxForceOnToolRunningCoordinate_N
Gets the maximum force on tool running coordinate in N.
public Vec3d MaxForceOnToolRunningCoordinate_N { get; }
Property Value
MaxMomentAboutSensor_Nm
Gets the maximum moment about sensor in Newton-meters
[Present("Max Moment To Tool About Sensor", "MaxM-ToTool-Sensor-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double MaxMomentAboutSensor_Nm { get; }
Property Value
MaxMomentAboutToolTip_Nm
Gets the maximum moment about tool tip in Newton-meters
[Present("Max Moment To Tool About ToolTip", "MaxM-ToTool-Tip-SR", PhysicsUnit.Nm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double MaxMomentAboutToolTip_Nm { get; }
Property Value
MaxSpindlePowerRatio
Maximum spindle power ratio: input power / instantaneous maximum power per spindle capability.
[Present("Max Spindle Power Ratio", "Max.Spd.Pow.R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? MaxSpindlePowerRatio { get; }
Property Value
MaxSpindleTorqueRatio
Gets the maximum spindle torque ratio
[Present("Max Spindle Torque Ratio", "Max.Spd.Torque-R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? MaxSpindleTorqueRatio { get; }
Property Value
MaxTipDeflectionOnToolRunningCoordinate_mm
Gets the maximum tip deflection on tool running coordinate in millimeters
[JsAce(ClassExt = "MachiningStep")]
public Vec3d MaxTipDeflectionOnToolRunningCoordinate_mm { get; }
Property Value
MaxTipDeflectionOnToolRunningCoordinate_um
Gets the maximum tip deflection on tool running coordinate in micrometers
[Present("Max Tip Deflection On Tool Running Coordinate", "Max.Df.-Tip-TR", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d MaxTipDeflectionOnToolRunningCoordinate_um { get; }
Property Value
MillingInstance
Gets or sets the milling instance.
public MillingInstance MillingInstance { get; set; }
Property Value
MillingStepLuggage
Get luggage by sequencing loading performance optimization.
public MillingStepLuggage MillingStepLuggage { get; }
Property Value
MomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm
Get Moments About Observation Point On Spindle Rotation Coordinate. Unit is Newtons-meter. The forced item is tool.
public List<Vec3d> MomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm { get; }
Property Value
Remarks
Not cached data. Light computation cost of the vectors transformation.
MoveOnProgramCoordinate
Gets the move on program coordinate.
[Present("Move On Workpiece Program Coordinate", "Move-W", PhysicsUnit.mm, "F4")]
[JsAce(ClassExt = "MachiningStep")]
public Vec3d MoveOnProgramCoordinate { get; }
Property Value
MovingLength_mm
Gets the moving length in mm. From previous-step to current-step.
[Present("Move Length", "Move Len.", PhysicsUnit.mm, "F4")]
[JsAce(ClassExt = "MachiningStep")]
public double MovingLength_mm { get; }
Property Value
Mrr_mm3ds
Gets the material removal rate in mm³/s.
[Present("MRR", null, PhysicsUnit.mm3ds, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double Mrr_mm3ds { get; }
Property Value
ProgramSideCusp_um
Gets the program side cusp in micrometers. Side cusp without deformation. The value is count by feed per tooth and the tool radius.
[Present("Program Side Cusp", null, PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double ProgramSideCusp_um { get; }
Property Value
ReCutDepth_um
Gets or sets the recut depth in micrometers. The recut depth cause the cutting mark by the end mill. The recut depth increased by the cutter radius increased.
[Present("Re-Cut Depth on Bottom Edge on Tool Running Coordinate", "Re-Cut Depth", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double ReCutDepth_um { get; }
Property Value
ReliefFaceCollidingDepth_mm
Gets the relief face colliding depth in millimeters.
[Present("Relief Face Colliding Depth", "Rlf.C.Depth", PhysicsUnit.mm, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ReliefFaceCollidingDepth_mm { get; }
Property Value
SideCuspList_um
Gets the list of side cusps in micrometers.
[JsAce(ClassExt = "MachiningStep")]
public List<double> SideCuspList_um { get; }
Property Value
SourceCommand
Gets or sets the source command.
public IIndexedFileLine SourceCommand { get; set; }
Property Value
SpindleCyclePeriod_s
Gets the spindle rotation cycle period in seconds.
[Present("Spindle Cycle Period", null, PhysicsUnit.sec, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double SpindleCyclePeriod_s { get; }
Property Value
SpindleInputPower_W
Input spindle power in watts: energy entering the spindle.
[Present("Spindle Input Power", null, PhysicsUnit.watt, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double SpindleInputPower_W { get; }
Property Value
- double
Input spindle power in Watts.
SpindleOutputPower_W
Spindle output power in watts (axial power taken by workpiece). Energy at the cutting end after spindle losses; causes workpiece/chip deformation and temperature rise.
[Present("Spindle Output Power", null, PhysicsUnit.watt, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double SpindleOutputPower_W { get; }
Property Value
SpindleSpeed_rpm
Gets the spindle speed in RPM.
[Present("Spindle Speed", "S", PhysicsUnit.rpm, "G5")]
[JsAce(ClassExt = "MachiningStep")]
public double SpindleSpeed_rpm { get; }
Property Value
- double
Spindle speed in rad/s
SpindleTemperature_C
Gets the spindle temperature in Celsius
[Present("Spindle Temperature", "Spd.Temp.", PhysicsUnit.C, "G2")]
[JsAce(ClassExt = "MachiningStep")]
public double? SpindleTemperature_C { get; }
Property Value
SpindleWorkingTemperatureRatio
Gets the spindle working temperature ratio
[Present("Spindle Working Temperature Ratio", "Spd.Temp.R.", PhysicsUnit.None, "G2")]
[JsAce(ClassExt = "MachiningStep")]
public double? SpindleWorkingTemperatureRatio { get; }
Property Value
StepDuration
Gets the step duration.
[Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
Property Value
StepIndex
Gets the index of the step.
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[Present("Step Index", "S.I.", PhysicsUnit.None, "G")]
public int StepIndex { get; }
Property Value
ThermalStress_MPa
Gets the thermal stress in MPa
[Present("Thermal Stress", "Th. S.", PhysicsUnit.MPa, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ThermalStress_MPa { get; }
Property Value
ThermalYieldRatio
Gets the thermal yield ratio
[Present("Thermal Yield Ratio", "Th. Yield R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? ThermalYieldRatio { get; }
Property Value
TipDeflectionsOnToolRunningCoordinate_um
Gets the tip deflections on tool running coordinate in micrometers
[JsAce(ClassExt = "MachiningStep")]
public List<Vec3d> TipDeflectionsOnToolRunningCoordinate_um { get; }
Property Value
ToolId
Gets the tool ID.
[Present("Tool ID", "T", PhysicsUnit.None, "G")]
[JsAce(ClassExt = "MachiningStep")]
public int ToolId { get; }
Property Value
ToothArcDuration_s
Gets the tooth arc duration in seconds by the spindle rotation. The value is SpindleCyclePeriod_s div Cutter's teeth number.
[Present("Tooth Arc Duration", null, PhysicsUnit.sec, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double ToothArcDuration_s { get; }
Property Value
ToothSeqOnToolRunningCoordinate
Gets the sequence pair of transformation matrices representing tooth positions on the tool running coordinate system.
public SeqPair<Mat4d> ToothSeqOnToolRunningCoordinate { get; }
Property Value
WorkpieceDermisTemperature_C
Gets the workpiece dermis temperature in Celsius
[Present("Workpiece Dermis Temperature", "W. Dermis T.", PhysicsUnit.C, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? WorkpieceDermisTemperature_C { get; }
Property Value
WorkpiecePlasticDepth_um
Gets the workpiece plastic depth in micrometers. The depth is at the location that the cutting stress is equal to the yielding stress. The cutting stress exert to the workpiece decreased on the depth increased.
[Present("Workpiece Plastic Deformation Depth", "W.P.Depth", PhysicsUnit.um, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double WorkpiecePlasticDepth_um { get; }
Property Value
YieldingStressRatio
Gets the yielding stress ratio
[Present("Yielding Stress Ratio", "Y-Stress-R.", PhysicsUnit.None, "G4")]
[JsAce(ClassExt = "MachiningStep")]
public double? YieldingStressRatio { get; }
Property Value
Methods
GetCutterDermisAvgTemperature_C(double)
Gets the average cutter dermis temperature in Celsius at the specified depth.
[JsAce(ClassExt = "MachiningStep")]
public double GetCutterDermisAvgTemperature_C(double depth_mm)
Parameters
depth_mmdoubleThe depth in millimeters
Returns
- double
Average temperature in Celsius
GetCutterDermisTemperature_C(double)
Gets the cutter dermis temperature in Celsius at the specified depth.
[JsAce(ClassExt = "MachiningStep")]
public double GetCutterDermisTemperature_C(double depth_mm)
Parameters
depth_mmdoubleThe depth in millimeters
Returns
- double
Temperature in Celsius
GetFeedrate_mmds()
Gets the program feedrate in millimeters per second.
public double GetFeedrate_mmds()
Returns
- double
Feedrate in mm/s
GetIndexedFileLine()
Gets the file line associated with this object.
public IndexedFileLine GetIndexedFileLine()
Returns
- IndexedFileLine
The file line object.
GetKeyToQuantityNativeDictionary(IMachiningChain)
Internal use.
public static ConcurrentDictionary<string, PropertyAccess<MachiningStep>> GetKeyToQuantityNativeDictionary(IMachiningChain machiningChain)
Parameters
machiningChainIMachiningChain
Returns
GetMcValue(IMachiningChain, string)
Gets the MC value for the specified tag in the machining chain.
public double? GetMcValue(IMachiningChain chain, string tag)
Parameters
chainIMachiningChainThe machining chain.
tagstringThe tag to look up.
Returns
- double?
The MC value for the specified tag.
GetMcValue(int)
Gets the MC value at the specified index. For common machine tool, the index 0,1,2,3,4,5 is corresponding to motion component X,Y,Z,A,B,C. If the corresponding motion component not existed, return NaN. If MachineMotionStep not existed, return null.
[JsAce(ClassExt = "MachiningStep")]
public double? GetMcValue(int index)
Parameters
indexintThe index to look up.
Returns
- double?
The MC value at the specified index.
GetRgbWithPriority(out Vec3d, out double)
Gets the RGB color and priority for the milling step.
public void GetRgbWithPriority(out Vec3d rgb, out double priority)
Parameters
GetSpindleDirection()
Gets the spindle direction for this milling step.
[Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
[JsAce(ClassExt = "MachiningStep")]
public SpindleDirection GetSpindleDirection()
Returns
GetSpindleSpeed_radds()
Gets the spindle speed in radians per second.
public double GetSpindleSpeed_radds()
Returns
- double
Spindle speed in rad/s
UpdateNcOptOption(Action<NcOptOption>)
Update NcOptOption for this step only. It should not be mixed with the StepBuilt event and NC inline script since the concurent process may break the logics. Unlike the modification within the script (script command in NC code or RuntimeApi), the setting is not applied to the further step.
public void UpdateNcOptOption(Action<NcOptOption> action)
Parameters
actionAction<NcOptOption>the action to modify the step.