in SawPlusChain:

- modifiche per contemplare funzione EgtSurfTmGetFacetOutlineInfo
- migliorie alle funzioni di calcolo parametri lavorazione
- ciclo step orizzontali lama spostato in funzione apposita ApplyAllSteps
This commit is contained in:
luca.mazzoleni
2024-05-10 09:20:11 +02:00
parent efb805cf98
commit 93f9af85e7
2 changed files with 155 additions and 93 deletions
+2 -2
View File
@@ -1217,9 +1217,9 @@ function BeamLib.GetMachiningSteps( dMachiningDepth, dStep)
local MachiningSteps = {}
MachiningSteps.StepLength = 0
MachiningSteps.Count = ceil( ( dStep - 10 * GEO.EPS_SMALL) / dMachiningDepth)
MachiningSteps.Count = ceil( ( dMachiningDepth - 10 * GEO.EPS_SMALL) / dStep)
if MachiningSteps.Count > 1 then
MachiningSteps.StepLength = ( dStep - dMachiningDepth) / ( MachiningSteps.Count - 1)
MachiningSteps.StepLength = ( dMachiningDepth - dStep) / ( MachiningSteps.Count - 1)
end
return MachiningSteps