DataBeam: - primo implemento modifiche per forature in testa o coda per considerare materiale eventualmente già rimosso da lavorazioni precedenti
This commit is contained in:
@@ -394,6 +394,17 @@ function ProcessDrill.Make( Proc, nPhase, nRawId, nPartId)
|
||||
EgtSetMachiningParam( MCH_MP.SCC, nSCC)
|
||||
-- aggiusto l'affondamento
|
||||
local sMyWarn
|
||||
|
||||
-- test
|
||||
if Proc.MachineAfterHeadCutId then
|
||||
local ptCen = EgtCP( AuxId, GDB_RT.GLOB)
|
||||
local dMoveDistance, ptPointOnSurface = EgtPointSurfTmDist( ptCen, Proc.MachineAfterHeadCutId, GDB_RT.GLOB)
|
||||
local vtMove = -vtExtr * dMoveDistance
|
||||
EgtMove( AuxId, vtMove, GDB_RT.GLOB)
|
||||
EgtModifyCurveThickness( Proc.MachineAfterHeadCutId, dLen - dMoveDistance)
|
||||
end
|
||||
-- fine test
|
||||
|
||||
if dDepth > dMaxDepth + 10 * GEO.EPS_SMALL then
|
||||
sMyWarn = 'Warning in drill : depth (' .. EgtNumToString( dDepth, 1) .. ') bigger than max tool depth (' .. EgtNumToString( dMaxDepth, 1) .. ')'
|
||||
dDepth = dMaxDepth
|
||||
|
||||
Reference in New Issue
Block a user