This commit is contained in:
andrea.villa
2025-05-22 17:45:12 +02:00
6 changed files with 66 additions and 10 deletions
+4 -2
View File
@@ -281,8 +281,10 @@ local function GetBestPocketingStrategy( Proc)
Machining[1].ToolInfo.dResidualDepth = 0
Machining[3].bIsApplicable = false
Machining[4].bIsApplicable = false
-- caso speciale 'DoubleBevel-2-Through' che deve lavorare due facce
if Proc.Topology.sName == 'DoubleBevel-2-Through' and Machining[2].bIsApplicable and Machining[2].ToolInfo.dResidualDepth < 10 * GEO.EPS_SMALL then
-- caso speciale in cui si devono lavorare due facce
if ( Proc.nFct == 2 and Proc.AdjacencyMatrix[1][2] >= -89.9)
and Machining[2].bIsApplicable and Machining[2].ToolInfo.dResidualDepth < 10 * GEO.EPS_SMALL then
Machining.sTypeMachining = 'Bottom2'
Strategy.Result.sStatus = 'Completed'
Strategy.Result.nCompletionIndex = FeatureLib.GetFeatureCompletionIndex( 100)