DataBeam :
- in lavorazione Arch riportate migliorie di FreeContour.
This commit is contained in:
@@ -111,10 +111,11 @@ function ProcessRoundArch.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
|
||||
-- se non di testa o coda ne verifico la lunghezza per eventuale spezzatura
|
||||
local nStep = 1
|
||||
local dStep = 0
|
||||
local dLenMax = min( BD.LONGCUT_MAXLEN, 0.5 * b3Raw:getDimX())
|
||||
local b3Aux = EgtGetBBoxGlob( AuxId, GDB_BB.STANDARD)
|
||||
if not Proc.Head and not Proc.Tail and b3Aux:getDimX() > BD.LONGCUT_MAXLEN then
|
||||
if b3Aux:getDimX() > dLenMax then
|
||||
local dCrvLen = EgtCurveLength( AuxId)
|
||||
nStep = ceil( dCrvLen / BD.LONGCUT_MAXLEN)
|
||||
nStep = ceil( dCrvLen / dLenMax)
|
||||
dStep = dCrvLen / nStep
|
||||
EgtOutLog( string.format( 'CrvLen=%.1f StepNbr=%d StepLen=%.1f', dCrvLen, nStep, dStep), 3)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user