- in SawPlusChain si arriva al massimo materiale - 1

This commit is contained in:
luca.mazzoleni
2024-05-14 13:07:37 +02:00
parent 33be9ccaf0
commit 648fa1d9bf
+2 -2
View File
@@ -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