- in processSawCut si ignora verso vettore se taglio passante

This commit is contained in:
luca.mazzoleni
2024-03-26 18:11:21 +01:00
parent abed970b7a
commit 7bcd159db0
3 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -29,7 +29,11 @@ function WPSC.Classify( Proc, b3Raw)
if not AuxId then return false end
AuxId = AuxId + Proc.Id
local vtDir = EgtSV( AuxId, GDB_ID.ROOT)
return ( vtDir:getZ() > 0.5)
local vtDirZ = vtDir:getZ()
if Proc.IsThrough then
vtDirZ = abs( vtDir:getZ())
end
return ( vtDirZ > 0.5)
end
----------------------------------------------------------------------