- in MachiningLib miglioramenti a scelta testa ottimizzata

- in ProcessDtTenon correzione in scelta testa
- in MakeAntiSplintBySaw se non si trova adiacenza tra le facce si restituisce errore
This commit is contained in:
luca.mazzoleni
2024-06-26 14:13:37 +02:00
parent 27d4ab3309
commit 917bf5ec4b
3 changed files with 15 additions and 8 deletions
+5
View File
@@ -3178,6 +3178,11 @@ local function MakeAntiSplintBySaw( Proc, nFacet, vtN, b3Raw, nFacInd, bReduceDe
end
-- valuto l'angolo tra le due facce
local bAdj, ptP1, ptP2, dAng = EgtSurfTmFacetsContact( Proc.Id, nFacInd, nFacet, GDB_ID.ROOT)
if not bAdj then
local sErr = 'Error : Faces not adjacent'
EgtOutLog( sErr)
return false, sErr
end
local ptPm = (ptP1+ptP2)/2
-- ottengo il boundingBox e prendo le dimensioni lungo la normale (Z locale) che rappresenta l'elevazione della faccia
-- laterale sul punto medio della linea in comune