Compare commits

..

12 Commits

Author SHA1 Message Date
daniele.nicoli bec5751e8c - LapJoint, MakeByPockets - se lavorazione in doppio taglia fino a metà tasca e non oltre (+BD.CUT_EXTRA_MIN) la considero comunque completa e non eseguo lavorazione di pulizia laterale.
- LapJoint, MakeRoundCleanContour - se tasca passante solo da sopra o da sotto e fresa di contorno non lavora tutto, attiva lavorazione in doppio.
2026-08-04 09:45:13 +02:00
daniele.nicoli eb7a125aa0 Merge tag '3.1g5' into develop
3.1g5
2026-07-31 17:04:46 +02:00
daniele.nicoli e03f25247d Merge branch 'release/3.1g5' 2026-07-31 17:03:39 +02:00
daniele.nicoli 3c97e96e05 - RoundCleanContour per tasche a 3 facce a U in doppio correzione Invert e ToolInvert 2026-07-31 17:01:15 +02:00
daniele.nicoli b44a45e8b0 Merge tag '3.1g4' into develop
3.1g4
2026-07-31 11:17:32 +02:00
daniele.nicoli 3a878f5793 Merge branch 'release/3.1g4' 2026-07-31 11:15:20 +02:00
daniele.nicoli 9795bbdc80 - ProfCamb, piccola correzione commit precedente. 2026-07-31 10:03:59 +02:00
daniele.nicoli 187beba682 - ProfCamb - aggiunta Q19, se = 1 disabilita lavorazione AntiSplint.
- update versione e log
2026-07-30 17:09:42 +02:00
daniele.nicoli 2f2b8589af LapJoint - MakeRoundCleanContour, corretto caso tasca profonda a U aperta 2026-07-30 14:48:42 +02:00
luca.mazzoleni c3387ddad8 Merge tag '3.1g3' into develop
3.1g3
2026-07-24 10:32:52 +02:00
luca.mazzoleni 1221b82b03 Merge branch 'release/3.1g3' 2026-07-24 10:32:40 +02:00
luca.mazzoleni 8337129f91 update versione e log 2026-07-24 10:31:27 +02:00
4 changed files with 53 additions and 22 deletions
+39 -19
View File
@@ -1792,7 +1792,9 @@ local function MakeRoundCleanContour( Proc, nPhase, nRawId, nPartId, b3Raw,
dDepth, bOneShot)
-- recupero la lavorazione senza considerare l'elevazione perché viene calcolata l'elevazione utile
local sMilling = ML.FindMilling( 'SmallToolContour', nil, nil, nil, nil, not( bMillDown and not bDoubleSide), bMillDown and not bDoubleSide)
local bTopHead = not( bMillDown and not bDoubleSide)
local bDownHead = bMillDown and not bDoubleSide
local sMilling = ML.FindMilling( 'SmallToolContour', nil, nil, nil, nil, bTopHead, bDownHead)
if not sMilling then
local sMyWarn = 'Warning : SmallToolContour not found in library'
EgtOutLog( sMyWarn)
@@ -1954,17 +1956,31 @@ local function MakeRoundCleanContour( Proc, nPhase, nRawId, nPartId, b3Raw,
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.LEFT)
-- inversione direzione utensile
local bInvertMach = false
local bInvertTool = false
if nPathInt then
-- verifico se devo invertire direzione utensile (in caso di direzione verso la verticale)
if vtN1:getZ() < BD.NZ_MINA and abs(vtN1:getZ()) >= 0.707 then
EgtSetMachiningParam( MCH_MP.TOOLINVERT, true)
bInvertMach = true
-- altrimenti se da fare in una sola volta e direzionato verso Y+ lo inverto per lavorarlo davanti
elseif not bDoubleSide and vtN1:getY() > GEO.EPS_SMALL then
EgtSetMachiningParam( MCH_MP.TOOLINVERT, true)
bInvertMach = true
if bDownHead then
if vtN1:getZ() > 10 * GEO.EPS_SMALL then
bInvertTool = true
bInvertMach = true
end
elseif bMillDown and bDoubleSide then
if vtN1:getZ() > 10 * GEO.EPS_SMALL and bDownHead then
bInvertTool = true
bInvertMach = true
end
else
-- verifico se devo invertire direzione utensile (in caso di direzione verso la verticale)
if vtN1:getZ() < BD.NZ_MINA and abs( vtN1:getZ()) >= 0.707 then
bInvertTool = true
bInvertMach = true
-- altrimenti se da fare in una sola volta e direzionato verso Y+ lo inverto per lavorarlo davanti
elseif not bDoubleSide and vtN1:getY() > 10 * GEO.EPS_SMALL then
bInvertTool = true
bInvertMach = true
end
end
end
EgtSetMachiningParam( MCH_MP.TOOLINVERT, bInvertMach)
-- imposto posizione braccio porta testa
local nSCC = MCH_SCC.NONE
if not BD.C_SIMM then
@@ -2039,7 +2055,7 @@ local function MakeRoundCleanContour( Proc, nPhase, nRawId, nPartId, b3Raw,
-- imposto lato di lavoro sinistro
EgtSetMachiningParam( MCH_MP.WORKSIDE, MCH_MILL_WS.LEFT)
-- imposto direzione utensile opposta
EgtSetMachiningParam( MCH_MP.TOOLINVERT, true)
EgtSetMachiningParam( MCH_MP.TOOLINVERT, not bInvertTool)
-- imposto posizione braccio porta testa
local nSCC = MCH_SCC.NONE
if not BD.C_SIMM then
@@ -2068,7 +2084,7 @@ local function MakeRoundCleanContour( Proc, nPhase, nRawId, nPartId, b3Raw,
EgtSetMachiningParam( MCH_MP.DEPTH, dMachDepth)
-- setto se devo invertire il percorso
local bInvert = CheckToInvert( nIdPath, true)
EgtSetMachiningParam( MCH_MP.INVERT, not bInvert)
EgtSetMachiningParam( MCH_MP.INVERT, not EgtIf( bInvertMach, not bInvert, bInvert))
-- Note utente con dichiarazione nessuna generazione sfridi per Vmill e massima elevazione
local sUserNotes = EgtGetMachiningParam( MCH_MP.USERNOTES) or ''
sUserNotes = EgtSetValInNotes( sUserNotes, 'VMRS', 0)
@@ -4583,9 +4599,11 @@ local function MakeByPockets( Proc, nPhase, nRawId, nPartId, nChamfer, dDepthCha
else
dMachDepth = dMaxDepthDn - ( dDepth / 2) - dCollSic
dElev = dMaxDepthDn
bComplete = false
sWarn = 'Warning : elevation bigger than max tool depth'
EgtOutLog( sWarn)
if dMaxDepthDn < ( dDepth / 2) + dCollSic + 100 * GEO.EPS_SMALL then
bComplete = false
sWarn = 'Warning : elevation bigger than max tool depth'
EgtOutLog( sWarn)
end
end
else
-- se anche lavorando dal lato opposto non riesco a svuotare completamente la fessura
@@ -4593,9 +4611,11 @@ local function MakeByPockets( Proc, nPhase, nRawId, nPartId, nChamfer, dDepthCha
if dMaxDepth < ( dDepth / 2) + BD.CUT_EXTRA + dCollSic then
dMachDepth = dMaxDepth - (dDepth / 2) - dCollSic
dElev = dMaxDepth
bComplete = false
sWarn = 'Warning : elevation bigger than max tool depth'
EgtOutLog( sWarn)
if dMaxDepth < ( dDepth / 2) + dCollSic + 100 * GEO.EPS_SMALL then
bComplete = false
sWarn = 'Warning : elevation bigger than max tool depth'
EgtOutLog( sWarn)
end
end
end
if bMakeContour then
@@ -8174,7 +8194,7 @@ local function MakeMoreFaces( Proc, nPhase, nRawId, nPartId, dOvmHead, bSinglePa
local bOk, sWarn2 = MakeRoundCleanCornerOrContour( Proc, nPhase, nRawId, nPartId, b3Raw,
nFacInd, nAddGrpId, dDiamTool, nContourSmallTool, bMillDown,
bDoubleSide, vtOrtho, nPathInt, nSurfInt, b3Solid,
dDepth, bOneShotm)
dDepth, bOneShot)
if not bOk then return false, sWarn2 end
if sWarn2 then
if not sWarn then sWarn = '' end
@@ -8266,7 +8286,7 @@ local function MakeMoreFaces( Proc, nPhase, nRawId, nPartId, dOvmHead, bSinglePa
local bOk, sWarn2 = MakeRoundCleanCornerOrContour( Proc, nPhase, nRawId, nPartId, b3Raw,
nFacInd, nAddGrpId, dDiamTool, nContourSmallTool, bMillDown,
bDoubleSide, vtOrtho, nPathInt, nSurfInt, b3Solid,
dDepth, bOneShotm)
dDepth, bOneShot)
if not bOk then return false, sWarn2 end
if sWarn2 then
if not sWarn then sWarn = '' end
+4 -2
View File
@@ -33,6 +33,7 @@ local sEnableExtraBladeUpperFace = 'Q02' -- i
local sDepthChamferMill = 'Q03' -- d
local sOverMaterialForFinish = 'Q04' -- d
local sPreemptiveChamfer = 'Q05' -- i
local sDisableAntiSplint = 'Q19'
-- abilitazioni extra
local dMakeAntiSplintOnHead = 1 -- valore impronta antischeggia, per disattivare settare = nil o = 0
@@ -301,13 +302,14 @@ function ProcessProfCamb.Make( Proc, nPhase, nRawId, nPartId, dCurrOvmH)
local sMilling
-- in base alla direzione iniziale della curva e al valore di entrata valido, setto l'antischeggia
local bMakeAs
local bDeleteAntiSplint = ( EgtGetInfo( Proc.Id, sDisableAntiSplint, 'i') or 0) == 1
local vtStart = EgtSV( AuxId, GDB_ID.ROOT)
if nSide == 0 then
if abs(vtStart:getY()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs(dMakeAntiSplintOnHead) > 0 then
if abs( vtStart:getY()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs( dMakeAntiSplintOnHead) > 0 and not bDeleteAntiSplint then
bMakeAs = true
end
else
if abs(vtStart:getZ()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs(dMakeAntiSplintOnHead) > 0 then
if abs( vtStart:getZ()) >= dActivateCompoAng and dMakeAntiSplintOnHead and abs( dMakeAntiSplintOnHead) > 0 and not bDeleteAntiSplint then
bMakeAs = true
end
end
+9
View File
@@ -1,4 +1,13 @@
==== Beam Update Log ====
Versione 3.1g5 (31/07/2026)
- Fixed : in RoundCleanContour per tasche a 3 facce a U in doppio
Versione 3.1g4 (31/07/2026)
- Modif : in ProfCamb aggiunta Q19, se = 1 disabilita lavorazione AntiSplint
- Fixed : in RoundCleanContour per tasche a 3 facce a U MillDown
Versione 3.1g3 (24/07/2026)
- Fixed : in slot con lama corretta scelta SCC
Versione 3.1g2 (17/07/2026)
- Modif : Diminuito LastStep forature in doppio
+1 -1
View File
@@ -2,5 +2,5 @@
-- Gestione della versione di Beam
NAME = 'Beam'
VERSION = '3.1g2'
VERSION = '3.1g5'
MIN_EXE = '3.1b1'