- in BLADETOWASTE - cubetti si moltiplicano per 1.3 i tempi per stimare anche i movimenti testa e i passaggi tra una lavorazione e l'altra

This commit is contained in:
luca.mazzoleni
2025-05-20 16:00:35 +02:00
parent fd4de3742f
commit 1739634c58
+6 -5
View File
@@ -529,13 +529,14 @@ local function CutWithDicing( Proc, Part, OptionalParameters)
if bIsDicingOk then
Result.sStatus = 'Completed'
Result.dCompletionPercentage = 100
Result.nQuality = TOOLS[nToolIndex].nQuality
Result.dTimeToMachineOriginal = FeatureLib.GetStrategyTimeToMachine( Machinings)
Result.dTimeToMachine = Result.dTimeToMachineOriginal * 1.3
Result.dMRR = ( FeatureInfo.dFeatureVolume / Result.dTimeToMachine) / pow( 10, 6)
else
Result = FeatureLib.GetStrategyResultNotApplicable()
end
Result.nQuality = TOOLS[nToolIndex].nQuality
Result.dTimeToMachine = FeatureLib.GetStrategyTimeToMachine( Machinings)
Result.dMRR = ( FeatureInfo.dFeatureVolume / Result.dTimeToMachine) / pow( 10, 6)
return Machinings, Result
end
@@ -670,7 +671,7 @@ function BLADETOWASTE.Make( ProcOrId, Part, OptionalParameters)
Result.nQuality = FeatureLib.GetStrategyQuality( Machinings)
Result.dCompletionPercentage = dAreaToMachineTotal / ( EgtSurfArea( idFace1) + EgtSurfArea( idFace2)) * 100
Result.nCompletionIndex = FeatureLib.GetFeatureCompletionIndex( Result.dCompletionPercentage)
Result.dTimeToMachine = FeatureLib.GetStrategyTimeToMachine( Machinings)
Result.dTimeToMachine = Result1.dTimeToMachine + Result2.dTimeToMachine
Result.dMRR = ( FeatureInfo.dFeatureVolume / Result.dTimeToMachine) / pow( 10, 6)
if Result1.sStatus == 'Completed' and Result2.sStatus == 'Completed' then
Result.sStatus = 'Completed'