3dPrinting :

- corretto errore.
This commit is contained in:
SaraP
2024-02-12 12:06:46 +01:00
parent 011f049c43
commit a15593303f
+1 -2
View File
@@ -32,8 +32,8 @@ local function CalcCurves( nSliceId, nDestGrp, vtSlicing, dStrandBase)
-- salvati i diagrammi di Voronoi che non servono per conti futuri)
local nCopy = EgtCopyGlob( nId, nDestGrp)
local nCrv, nCnt = EgtCurveGetFatCurve( nCopy, nDestGrp, 0.5 * dStrand, false)
-- se fallisce ritento con valore leggermente diverso
if not nCrv or nCnt == 0 then
-- se fallisce ritento con valore leggermente diverso
nCrv, nCnt = EgtCurveGetFatCurve( nCopy, nDestGrp, 0.5 * dStrand - 0.05, false)
end
EgtErase( nCopy)
@@ -193,7 +193,6 @@ function RunPrepareExport.Exec()
end
end
EgtOutBox( "Ok", "")
return nGrp
end