3dPrinting 2.6g2 :

- correzione lead out invertiti.
This commit is contained in:
SaraP
2024-07-29 15:18:13 +02:00
parent 1596869230
commit 54d809508d
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1549,8 +1549,9 @@ local function VerifyRibsLead( nId, nRibId, bInVsOut, nGrpTmp)
local vtE = EgtUV( nLeadLoc, dParCrv, -1)
local dLenCrv = EgtCurveCompoLength( nLeadLoc, dParCrv - 1)
if AreSameVectorApprox( vtS, vtE) and vtS * vtDir < - 1 + GEO.EPS_SMALL and dLenCrv > dStrand + GEO.EPS_SMALL then
local dDist = EgtPointCurveDist( EgtUP( nLeadLoc, dParCrv - 0.5), nRibLoc)
EgtCopyGlob( nLeadLoc, nGrpTmp)
local vtDist = EgtUP( nLeadLoc, dParCrv - 0.5) - EgtMP( nRibLoc)
local vtOrthoDist = vtDist - ( vtDist * vtDir) * vtDir
local dDist = vtOrthoDist:len()
if dDist < dStrand + GEO.EPS_SMALL then
return false
end