Improvement/Ticket#880: fix minori
This commit is contained in:
@@ -31,7 +31,7 @@ end
|
||||
-- Classificazione della feature
|
||||
function ProcessSimpleScarf.Classify( Proc)
|
||||
-- se forzato utilizzo fresa non ruoto la trave
|
||||
local bForceSideMill = EgtGetInfo( Proc.Id, 'Q04', 'd') > 0
|
||||
local bForceSideMill = ( EgtGetInfo( Proc.Id, 'Q04', 'd') or 0) > 0
|
||||
-- verifico le normali delle facce
|
||||
local nFacetCnt = EgtSurfTmFacetCount( Proc.Id)
|
||||
for i = 1, nFacetCnt do
|
||||
@@ -194,8 +194,8 @@ function ProcessSimpleScarf.Make( Proc, nPhase, nRawId, nPartId, dOvmHead, dOvmT
|
||||
if not bOkc then return bOkc, sErrC end
|
||||
-- se forzato utilizzo fresa richiamo la freecontour
|
||||
local bForceSideMill = EgtGetInfo( Proc.Id, 'Q04', 'd') == 1 or
|
||||
( EgtGetInfo( Proc.Id, 'Q04', 'd') == 2 and abs( vtN[vFaceOrd[3]]:getY())) < 0.1 or
|
||||
( EgtGetInfo( Proc.Id, 'Q04', 'd') == 3 and abs( vtN[vFaceOrd[3]]:getY())) < 0.1 and vtN[vFaceOrd[3]]:getZ() < 0.1
|
||||
( EgtGetInfo( Proc.Id, 'Q04', 'd') == 2 and abs( vtN[vFaceOrd[3]]:getY()) < 0.1) or
|
||||
( EgtGetInfo( Proc.Id, 'Q04', 'd') == 3 and abs( vtN[vFaceOrd[3]]:getY()) < 0.1 and vtN[vFaceOrd[3]]:getZ() < 0.1)
|
||||
if bForceSideMill then
|
||||
bOk, sErr = FreeContour.Make( Proc, nPhase, nRawId, nPartId, dOvmHead)
|
||||
return bOk, sErr
|
||||
|
||||
Reference in New Issue
Block a user