- in FreeContour e Lapjoint, in MakeByMill, modificato SCC

This commit is contained in:
luca.mazzoleni
2023-09-21 16:10:32 +02:00
parent aa7099539e
commit 4034898f6e
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -1091,6 +1091,7 @@ local function AddMillCorner( nTypeConeCut, vFace, Proc, nRawId, b3Raw,
local nFacCnt = EgtSurfTmFacetCount( nNewProc)
local nFacInd, dDepth, nSurfInt
local bMakeLocSurf
-- RIMUOVERE
if false and nFacCnt <= 4 then
-- recupero profondità e faccia di fondo
_, _, dDepth, _, _, nSurfInt = GetTunnelDimension( nNewProc, Proc.PartId, nAddGrpId, bClosed)
@@ -1105,6 +1106,7 @@ local function AddMillCorner( nTypeConeCut, vFace, Proc, nRawId, b3Raw,
else
return true
end
-- FINE PARTE DA RIMUOVERE
else
bMakeLocSurf = true
end
@@ -2188,7 +2190,7 @@ local function MakeByMill( Proc, nRawId, b3Raw)
-- posizione braccio porta testa
local nSCC = MCH_SCC.ADIR_ZP
if AreSameOrOppositeVectorApprox( vtExtr, Z_AX()) then
nSCC = EgtIf( Proc.Box:getDimX() >= Proc.Box:getDimY(), MCH_SCC.ADIR_YP, MCH_SCC.ADIR_XP)
nSCC = EgtIf( Proc.Box:getDimX() >= Proc.Box:getDimY(), MCH_SCC.ADIR_YP, MCH_SCC.ADIR_XM)
end
EgtSetMachiningParam( MCH_MP.SCC, nSCC)
-- eseguo