- in PreSimulationLib modificata ottimizzazione punti di controllo

This commit is contained in:
luca.mazzoleni
2026-01-26 15:42:42 +01:00
parent c997cb4440
commit 267fc9daa3
+3 -6
View File
@@ -124,14 +124,11 @@ local function GetCollisionPointsToCheck( Edge, dDepthToMachine)
or AreSameOrOppositeVectorApprox( Edge.vtEdge, Z_AX())
-- aggiunta punti
-- inizio e fine solo se lato obliquo
table.insert( PointsToCheck, ptStart)
if not bIsEdgeParallelToMainDirection then
table.insert( PointsToCheck, ptStart)
end
table.insert( PointsToCheck, ptMid)
if not bIsEdgeParallelToMainDirection then
table.insert( PointsToCheck, ptEnd)
table.insert( PointsToCheck, ptMid)
end
table.insert( PointsToCheck, ptEnd)
return PointsToCheck
end