- in MachiningLib corretta CanMoveAfterSplit
- in SLOTBYCHAINSAW e STR0004 modifiche alla gestione delle lavorazioni in coda
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user