diff --git a/BatchProcessNew.lua b/BatchProcessNew.lua index 3d32ed0..7496722 100644 --- a/BatchProcessNew.lua +++ b/BatchProcessNew.lua @@ -562,7 +562,7 @@ else -- Passo in modalità lavora EgtSetCurrMachGroup( EgtGetLastMachGroup()) -- Se necessario eseguo aggiornamento con setup corrente e ricalcolo delle lavorazioni - if bToRecalc then + if bToRecalc or BEAM.FLAG == 3 or BEAM.FLAG == 4 then EgtOutLog( ' +++ Recalculating all dispositions and machinings >>>') EgtImportSetup() EgtApplyAllMachinings() diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index 697ff84..6a5921e 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -5411,6 +5411,11 @@ function SawPlusChain.Chainsaw.CalculateMachiningParameters( Proc, FaceToMachine EgtOutLog( Mortising.Message) end end + if EdgeToMachine.ToolDirection:getZ() < - 10 * GEO.EPS_ANG_SMALL then + Mortising.CanApply = false + Mortising.Message = 'Feature '.. Proc.FeatureId .. ' : skipped chainsaw from bottom' + EgtOutLog( Mortising.Message) + end -- parametri della lavorazione -- inizio e fine aperti o chiusi