DataBeam :

- migliorie gestione massimo affondamento frese
- miglioria ingombro tagli in testa o coda.
This commit is contained in:
Dario Sassi
2020-02-15 10:04:03 +00:00
parent 8e55da5a44
commit f0c708f3f1
5 changed files with 13 additions and 11 deletions
+5 -4
View File
@@ -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à