Corretto bug che provocava il calcolo errato della profondità di tasche laterali se maggiore del massimo materiale fresa

This commit is contained in:
luca.mazzoleni
2022-09-26 10:12:28 +02:00
parent 41412b6cca
commit 1198a34cd2
+1 -1
View File
@@ -3097,7 +3097,7 @@ local function MakePocket( Proc, nPartId, ptPs, tvtN, nFaceRef, sMchFind, nUseRo
local sWarn
local dDepth = dElev
if dElev > dMaxDepth + 10 * GEO.EPS_SMALL then
dDepth = dElev
dDepth = dMaxDepth - dElev
EgtSetMachiningParam( MCH_MP.DEPTH, dDepth)
dElev = dMaxDepth
sWarn = 'Warning : elevation bigger than max tool depth'