In Drill - Fori in doppio con utensili lunghi, corretto calcolo LastStep.

This commit is contained in:
daniele.nicoli
2026-08-18 16:43:28 +02:00
parent 36618ccc02
commit 1054f79ac0
3 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -2300,7 +2300,7 @@ function BeamExec.ProcessFeatures()
BD.IMPROVE_HEAD_TAIL_DRILLINGS = true
end
-- costanti per doppio
MIRROR_DRILLINGS_MIN_DISTANCE = 40
MIRROR_DRILLINGS_MIN_DISTANCE = 25 --TODO spostare la variabile MinDistToolX1X2 nel BeamData e usare quella
MIRROR_POCKETS_MIN_DISTANCE = EgtIf( BD.DOWN_HEAD, 35, 50)
-- verifica se possibile rotazione di 90 gradi
BD.ROT90 = BD.ROT90 and Verify90DegRotation( EgtGetFirstRawPart())
@@ -2555,7 +2555,7 @@ function BeamExec.ProcessFeatures()
local nNextRawId = EgtGetNextRawPart( nRawId)
if nNextRawId and EgtGetPartInRawPartCount( nNextRawId) == 0 and EgtGetRawPartBBox( nNextRawId):getDimX() < BD.MinRaw then
EgtRemoveRawPartFromCurrPhase( nNextRawId)
end
end
end
nPhase = EgtGetCurrPhase()
nDispId = EgtGetPhaseDisposition( nPhase)