DataBeam :
- migliorie gestione massimo affondamento frese - miglioria ingombro tagli in testa o coda.
This commit is contained in:
@@ -196,8 +196,9 @@ function ProcessMortise.Make( Proc, nPhase, nRawId, nPartId)
|
||||
-- se elevazione superiore a massimo affondamento della fresa, riduco opportunamente
|
||||
if dMorH > dMaxDepth + 10 * GEO.EPS_SMALL then
|
||||
sWarn = 'Warning in mortise : elevation (' .. EgtNumToString( dMorH,1) .. ') bigger than max tool depth (' .. EgtNumToString( dMaxDepth,1) .. ')'
|
||||
if not bRevertSide then -- se non ho invertito la direzione di estrusione
|
||||
nDepthMin = dMaxDepth - EgtIf( bNotExistBtm and not bForceOneSide, dMorH*2, dMorH)
|
||||
-- se non ho invertito la direzione di estrusione
|
||||
if not bRevertSide then
|
||||
nDepthMin = dMaxDepth - EgtIf( bNotExistBtm and not bForceOneSide, dMorH * 2, dMorH)
|
||||
else
|
||||
nDepthMin = dMaxDepth
|
||||
end
|
||||
@@ -243,10 +244,10 @@ function ProcessMortise.Make( Proc, nPhase, nRawId, nPartId)
|
||||
EgtSetMachiningParam( MCH_MP.SCC, MCH_SCC.ADIR_YM)
|
||||
end
|
||||
-- se altezza mortasa differente da altezza massima lavorabile
|
||||
if abs(dMorH - dMaxDepth) > GEO.EPS_SMALL then
|
||||
if abs( dMorH - dMaxDepth) > GEO.EPS_SMALL then
|
||||
nDepthMin = -dMorH
|
||||
else -- se sono uguali setto
|
||||
nDepthMin = -(dMorH - BD.CUT_EXTRA)
|
||||
nDepthMin = -( dMorH - BD.CUT_EXTRA)
|
||||
end
|
||||
|
||||
-- setto profondità
|
||||
|
||||
Reference in New Issue
Block a user