3dPrinting :
- migliorie gestione extra shells.
This commit is contained in:
@@ -3646,7 +3646,7 @@ local function ReorderExtraShells( nPathGrp, vPtStart, LayerParams)
|
||||
elseif dist( ptECurr, ptS) < dVal then
|
||||
-- congiungo start-end
|
||||
bLink = true
|
||||
elseif nCnt == 0 and dist( ptSCurr, ptS) < dVal then
|
||||
elseif nCnt == 0 and nCurrType ~= TYPE.EXTRA_OUTER_SHELL and dist( ptSCurr, ptS) < dVal then
|
||||
-- congiungo start-start
|
||||
EgtInvertCurve( nCurr)
|
||||
UpdateInvertInfo( nCurr)
|
||||
@@ -3802,7 +3802,7 @@ local function CalcExtraShellsPath( nMaxShellNbrDiff, nShellNbrGrp, nCrvGrpId, d
|
||||
|
||||
-- verifico se può essere chiusa
|
||||
if not EgtCurveIsClosed( nId) then
|
||||
if dist( EgtSP( nId), EgtEP( nId)) < dCurrStrand + GEO.EPS_SMALL then
|
||||
if dLen > dCurrStrand and dist( EgtSP( nId), EgtEP( nId)) < dCurrStrand + GEO.EPS_SMALL then
|
||||
EgtCloseCurveCompo( nId)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user