3dPrinting 2.6g2 :
- correzione lead out invertiti.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user