- piccole correzioni riguardanti PreCollision
This commit is contained in:
@@ -316,17 +316,6 @@ function MachiningLib.GetBladeEngagement( Face, Edge, Part, Tool, dDepthToMachin
|
||||
return false
|
||||
end
|
||||
|
||||
-- rischio collisione carro Z: non lavorabile in Downup
|
||||
-- TODO questo test è da spostare sulla macchina, non è universale
|
||||
local bIsToolBelowWorkpiece = Edge.vtN:getZ() < - 0.5
|
||||
local bIsToolAboveWorkpiece = Edge.vtN:getZ() > 0.5
|
||||
|
||||
if Tool.SetupInfo.HeadType.bTop and bIsToolBelowWorkpiece
|
||||
or ( Tool.SetupInfo.HeadType.bBottom and bIsToolAboveWorkpiece) then
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
-- orientamento faccia / utensile compatibili con DownUp: lavorabile
|
||||
--local bCollisionFound, bMoveAfterSplit = PreCollisionLib.CheckCollisionAxisAB( Edge, Face.vtN, -Face.vtN, Part, Tool, dDepthToMachine)
|
||||
local bCollisionFound, bMoveAfterSplit = PreCollisionLib.CheckCollisionWithAxis( 'AB', Edge, Face.vtN, -Face.vtN, Part, Tool, dDepthToMachine)
|
||||
|
||||
Reference in New Issue
Block a user