Piccole modifiche

This commit is contained in:
andrea.villa
2025-04-07 17:07:07 +02:00
parent 5443173068
commit 05326f30bb
3 changed files with 6 additions and 6 deletions
@@ -3,9 +3,9 @@
local HEADCUTData = {
sStrategyId = 'HEADCUT',
Parameters = {
{ sName = 'dDepthChamfer', sValue = '0', sDescriptionShort = 'Depth Chamfer', sDescriptionLong = 'Depth of the V-Mill to execute chamfers on cut-edges', sType = 'd', sMessageId = '', sMinUserLevel = '1'},
{ sName = 'bForceChainSaw', sValue = 'false', sDescriptionShort = 'Force to use chain saw', sDescriptionLong = 'Force to use chain saw', sType = 'b', sMessageId = '', sMinUserLevel = '1'},
{ sName = 'bFinishWithMill', sValue = 'true', sDescriptionShort = 'Finish with mill', sDescriptionLong = 'Use a mill to finish the surface if split with chain saw', sType = 'b', sMessageId = '', sMinUserLevel = '1'}
{ sName = 'dDepthChamfer', sNameNge = 'DEPTH_CHAMFER', sValue = '0', sDescriptionShort = 'Depth Chamfer', sDescriptionLong = 'Depth of the V-Mill to execute chamfers on cut-edges', sType = 'd', sMessageId = '', sMinUserLevel = '1'},
{ sName = 'bForceChainSaw', sNameNge = 'FORCE_CHAIN', sValue = 'false', sDescriptionShort = 'Force to use chain saw', sDescriptionLong = 'Force to use chain saw', sType = 'b', sMessageId = '', sMinUserLevel = '1'},
{ sName = 'bFinishWithMill', sNameNge = 'MILL_FINISH', sValue = 'true', sDescriptionShort = 'Finish with mill', sDescriptionLong = 'Use a mill to finish the surface if split with chain saw', sType = 'b', sMessageId = '', sMinUserLevel = '1'}
}
}
+1 -1
View File
@@ -252,7 +252,7 @@ local function GetBestPocketingStrategy( Proc)
Machining[3].bIsApplicable = false
Machining[4].bIsApplicable = false
return Machining
-- caso speciale 'Rabbet-2-Through' che ha la sweconda faccia come se fosse una seconda bottom
-- caso speciale 'Rabbet-2-Through' che ha la seconda faccia come se fosse una seconda bottom
elseif Proc.Topology.sName == 'Rabbet-2-Through' and Machining[2].bIsApplicable and Machining[2].ToolInfo.dResidualDepth < 10 * GEO.EPS_SMALL then
Machining.sTypeMachining = 'Bottom2'
Strategy.Result.sStatus = 'Completed'
+2 -2
View File
@@ -87,8 +87,8 @@ local function GetBestPocketingStrategy( Proc, Part)
Machining.Cutting.bIsApplicable = true
local ParametersMRR = {}
ParametersMRR.nToolIndex = Machining.Cutting.ToolInfo.nToolIndex
Result.Cutting.dMRR = MachiningLib.GetToolMRR( ParametersMRR)
Result.Cutting.sStatus = 'Completed'
Strategy.Result.dMRR = MachiningLib.GetToolMRR( ParametersMRR)
Strategy.Result.sStatus = 'Completed'
end
-- alterimenti esco subito
else