- aggiunta gestione in doppio di forature e groove passanti (rivolte verso Z+)

- lieve correzione a check utensile doppio
- aggiunto interasse minimo per lavorazioni in doppio
This commit is contained in:
luca.mazzoleni
2023-08-09 17:16:47 +02:00
parent a4c3b74434
commit 5e6dfe320f
3 changed files with 209 additions and 17 deletions
+2 -2
View File
@@ -758,8 +758,8 @@ local function IsToolDoubleOk( sToolMasterName, sToolDoubleName)
local dTMaxDepthOnSideDouble = EgtIf( bIsBladeDouble, EgtTdbGetCurrToolParam( MCH_TP.MAXMAT), min( EgtTdbGetCurrToolValInNotes( MCH_TP.USERNOTES, 'SIDEDEPTH', 'd') or 999, 0.5 * ( dTDiamDouble - dTDiamThDouble)))
-- controllo che siano uguali
bIsToolDoubleOk = ( bIsBlade == bIsBladeDouble) and
( abs( dTMaxMat - dTMaxMatDouble) < 100 * GEO.EPS_SMALL) and
( abs( dTMaxDepth - dTMaxDepthDouble) < 100 * GEO.EPS_SMALL) and
( dTMaxMatDouble > dTMaxMat - 100 * GEO.EPS_SMALL) and
( dTMaxDepthDouble > dTMaxDepth - 100 * GEO.EPS_SMALL) and
( abs( dTDiam - dTDiamDouble) < 100 * GEO.EPS_SMALL) and
( abs( dTDiamTh - dTDiamThDouble) < 100 * GEO.EPS_SMALL) and
( bTipFeed == bTipFeedDouble) and