3dPrinting :

- corretto errore riordino costolature.
This commit is contained in:
SaraP
2022-08-23 18:16:10 +02:00
parent 578ca82d9c
commit 57e3b33130
+1 -1
View File
@@ -368,7 +368,7 @@ local function ReorderRibs( nGrp, bInvertOrder, dStrand, nMaxNbr)
for j = 2, #vIds do
local ptM = EgtMP( vIds[j])
local dDist = EgtPointCurveDist( ptM, vIds[j-1])
if abs( dDist - 10) < 10 * GEO.EPS_SMALL then
if abs( dDist - dStrand) < 20 * GEO.EPS_SMALL then
-- se le costolatura è vicina alla precedente avrà lo stesso nome
EgtSetName( vIds[j], EgtGetName( vIds[j-1]))
EgtRelocateGlob( vIds[j], vIds[j-1], GDB_IN.AFTER)