- in MachiningLib corretta CanMoveAfterSplit

- in SLOTBYCHAINSAW e STR0004 modifiche alla gestione delle lavorazioni in coda
This commit is contained in:
luca.mazzoleni
2024-11-27 11:51:21 +01:00
parent 08d3f7ff6d
commit 6da682dfed
4 changed files with 28 additions and 26 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ end
-------------------------------------------------------------------------------------------------------------
-- TODO valutare se c'è un modo più preciso di prevedere i casi in cui le lavorazioni dopo separazione sono da saltare
function MachiningLib.CanMoveAfterSplitcut( dLengthOnX, Part)
local bCanMoveAfterSplitcut = ( dLengthOnX < BeamData.LEN_SHORT_PART - 10 * GEO.EPS_SMALL)
or ( dLengthOnX > 0.7 * Part.dLength + 10 * GEO.EPS_SMALL)
local bCanMoveAfterSplitcut = ( Part.dLength > BeamData.dMinRaw + 10 * GEO.EPS_SMALL)
and ( dLengthOnX < 0.7 * Part.dLength - 10 * GEO.EPS_SMALL)
return bCanMoveAfterSplitcut
end