- in BLADETOWASTE.CalculateDiceMachinings ora si passa la superficie corretta senza grezzo alla PreSimulation, a meno che non sia bCannotSplitRestLength

This commit is contained in:
luca.mazzoleni
2026-06-30 10:18:03 +02:00
parent 236d9a43b0
commit 6eff65e4ac
+6 -2
View File
@@ -845,8 +845,12 @@ local function CalculateDiceMachinings( vCuts, Parameters)
local bReduceDiceDepth = Parameters.bReduceDiceDepth
-- trimesh con RestLength
local b3CheckCollision = BeamLib.GetPartBoxWithHeadTail( Part, sRestLengthSideForPreSimulation)
local idCheckCollisionTm = EgtSurfTmBBox( Part.idTempGroup, b3CheckCollision, false, GDB_RT.GLOB)
local idCheckCollisionTm = Part.idBoxTm
-- se testa o coda attaccate, si considerano nella superficie di collisione
if bCannotSplitRestLength then
local b3CheckCollision = BeamLib.GetPartBoxWithHeadTail( Part, sRestLengthSideForPreSimulation)
idCheckCollisionTm = EgtSurfTmBBox( Part.idTempGroup, b3CheckCollision, false, GDB_RT.GLOB)
end
-- eventuale inversione tagli ortogonali e aggiunta informazioni alla geometria
local bAreOrthogonalCutsInverted = false