From 648fa1d9bfc935e52105711b45d0fdeec57144f9 Mon Sep 17 00:00:00 2001 From: "luca.mazzoleni" Date: Tue, 14 May 2024 13:07:37 +0200 Subject: [PATCH] - in SawPlusChain si arriva al massimo materiale - 1 --- LuaLibs/ProcessLapJoint.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/ProcessLapJoint.lua b/LuaLibs/ProcessLapJoint.lua index aeedf0e..cb3faf8 100644 --- a/LuaLibs/ProcessLapJoint.lua +++ b/LuaLibs/ProcessLapJoint.lua @@ -5145,7 +5145,7 @@ function SawPlusChain.Saw.CalculateMachiningParameters( Proc, FaceToMachine, Edg Cutting.RadialOffset = EdgeToMachine.Elevation end else - Cutting.Depth = Cutting.Tool.MaxDepth + Cutting.Depth = Cutting.Tool.MaxDepth - 1 if EdgeToMachine.Elevation > -10 * GEO.EPS_SMALL then Cutting.RadialOffset = EdgeToMachine.Elevation - Cutting.Depth else @@ -5327,7 +5327,7 @@ function SawPlusChain.Chainsaw.CalculateMachiningParameters( Proc, FaceToMachine Mortising.LongitudinalOffset = abs( EdgeToMachine.Elevation) - Mortising.Depth end else - Mortising.Depth = Mortising.Tool.MaxMat + Mortising.Depth = Mortising.Tool.MaxMat - 1 if EdgeToMachine.Elevation > -10 * GEO.EPS_SMALL then Mortising.LongitudinalOffset = EdgeToMachine.Elevation - Mortising.Depth else