Merge branch 'release/2.7f1'

This commit is contained in:
luca.mazzoleni
2025-06-05 10:26:17 +02:00
5 changed files with 27 additions and 4 deletions
+6
View File
@@ -520,6 +520,12 @@ else
end
-- Aggiorno eventuali dati ausiliari
UpdateAuxData( sBtmFile)
-- Anche se non è da riprocessare, imposto nome file CN.
-- Se file TS7 importato da altro PC, 'BEAM.FILE' è cambiato da un PC all'altro. Di conseguenza si deve aggiornare nome file che si andrà a generare.
local _, sName, _ = EgtSplitPath( BEAM.FILE)
EgtSetInfo( EgtGetLastMachGroup(), 'NcName', sName .. '.cnc')
-- Passo in modalità lavora
EgtSetCurrMachGroup( EgtGetLastMachGroup())
-- Se necessario eseguo aggiornamento con ricalcolo delle lavorazioni
+6 -3
View File
@@ -36,14 +36,17 @@ end
function WPDC.Classify( Proc, b3Raw)
-- se una faccia, uso la classificazione dei tagli singoli
if Proc.Fct == 1 then return Cut.Classify( Proc, b3Raw) end
-- se più di due facce non si fa
if Proc.Fct > 2 then return false end
-- dati delle facce
-- se due facce si verifica solamente se le facce non sono troppo orientate verso il basso (per due facce unite sul lato lungo il check è fatto nella LapJoint)
local vtN = {}
vtN[1] = EgtSurfTmFacetNormVersor( Proc.Id, 0, GDB_ID.ROOT)
vtN[2] = EgtSurfTmFacetNormVersor( Proc.Id, 1, GDB_ID.ROOT)
-- verifico se è lavorabile da sopra o di fianco
return ( vtN[1]:getZ() >= - 0.01 or vtN[2]:getZ() >= - 0.01)
local bIsMachinable = ( vtN[1]:getZ() >= ( WD.CUT_VZ_MIN or - 0.5)) and ( vtN[2]:getZ() >= ( WD.CUT_VZ_MIN or - 0.5))
return bIsMachinable
end
----------------------------------------------------------------------
+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)
+5
View File
@@ -1,5 +1,10 @@
==== Wall Update Log ====
Versione 2.7f1 (05/06/2025)
- Added : gestita forzatura freecontour di fresa per macchine senza lama (costante WallData FORCE_MILL_CONTOUR)
- Modif : migliorata DoubleCut
- Fixed : corretta BatchProcess per caso in cui il nome del file cnc generato non era corretto
Versione 2.7d1 (14/04/2025)
- Added : in DoubleCut aggiunta Q06 per forzare utilizzo lama
+1 -1
View File
@@ -2,5 +2,5 @@
-- Gestione della versione di Wall
NAME = 'Wall'
VERSION = '2.7d1'
VERSION = '2.7f1'
MIN_EXE = '2.6k1'