DataBeam :

- miglioria parametro taglio di lama su due lati.
This commit is contained in:
DarioS
2021-05-28 14:40:01 +02:00
parent 2208641d02
commit 323b5b5ef3
+1 -1
View File
@@ -838,7 +838,7 @@ function BeamLib.MakeOneFaceBySaw( nSurfId, nFacet, sCutting, dSawDiam, Par5, dV
local vtTg2 = ptP2 - ptPm ; vtTg2:normalize()
local dDist1 = dist( ptP1, ptPm)
local dDist2 = dist( ptP2, ptPm)
local dCosMax = 0.939
local dCosMax = 0.951 -- cos( 18°)
local dLenMin = 2
local dLenMax = 0.5 * dSawDiam * 0.17365 + 1
if vtTg1 * vtTg2 < dCosMax or ( dDist1 < dLenMax and dDist1 > dLenMin) or ( dDist2 < dLenMax and dDist2 > dLenMin) then