- per cabinet, gestita forzatura freecontour di fresa per macchine senza lama (costante WallData FORCE_MILL_CONTOUR)

This commit is contained in:
luca.mazzoleni
2025-04-22 16:27:52 +02:00
parent f07e0d4afd
commit 4fc7110885
+9
View File
@@ -2122,6 +2122,12 @@ local function MakeByMill( Proc, nRawId, b3Raw)
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.LEFT)
elseif ( Proc.Grp == 3 and bToolInv) or ( Proc.Grp == 4 and not bToolInv) then
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.RIGHT)
elseif ( Proc.Grp == 1 or Proc.Grp == 2) then
if bToolInv then
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.LEFT)
else
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.RIGHT)
end
end
-- se lamatura affondata speciale (cliente 90480029), setto attacco e stacco al centro
@@ -2606,6 +2612,9 @@ function WPF.Make( Proc, nRawId, b3Raw, vNLO, b3Squaring)
ReorderFaces( Proc.Id, EgtSurfTmFacetCount( Proc.Id))
-- recupero il tipo di lavorazione
local nCntType = EgtGetInfo( Proc.Id, 'CNT_TYPE', 'i') or 0
if WD.FORCE_MILL_CONTOUR == true then
nCntType = 2
end
-- se fresatura
if nCntType == 2 then
return MakeByMill( Proc, nRawId, b3Raw)